Re: Possible bug with -af date switch?

Denis Corbin <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

you did good asking :) So far there is no bug here:

- -af option modifies the way -A option interprets its argument, but -af
does not receive itself any argument. Thus in your case, you should use

dar ... -af -A 2005/11/19-19:38:48 ...

or any of the other date you provided as example. However you already
provided -A option with "diff-1" argument. So you are asking
two incompatible things:
- - making a differential backup having as reference the diff-1 backup
   -> save only what changed since the diff-1 backup was made
- - making a backup only saving files modified after the provided date
   -> the older files are recorded as "unchanged" as if a differential
backup was made at the provided date and those file did not changed
since then.

Regards,
Denis

On 02/02/2021 01:57, Daniel Cox wrote:
> Hi everyone,
>
>
>
> I was thinking to log a bug but thought I should check here first
> –
>
>
>
> I am attempting to run the command:
>
>
>
> Dar –c diff-2 –af 2005/11/19-19:38:48 –A diff-1 –R file-location
>
>
>
> Returns the error:
>
> Parse error: Error while parsing –A argument as a date: Incorrect
> day of month.
>
>
>
> The date is lifted straight from the man pages, I also tried some
> other dates and formats (substituted in place of the date above):
>
> ·         ‘2005/11/19-19:38:48’
>
> ·         2/2-14:59
>
> ·         1580602498
>
>
>
> Always returns the same:
>
>
>
> Parse error: Error while parsing –A argument as a date: Incorrect
> day of month.
>
>
>
> Is this a bug and should I log it, or am I misunderstanding the man
> pages?
>
>
>
> Thanks a bunch…
>
>
>
> Dan.
>
>
>
> _______________________________________________ Dar-support mailing
> list [email protected]
> https://lists.sourceforge.net/lists/listinfo/dar-support
>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOzEprx3d76WjfYGPCDGwvQPYsYIFAmAZk34ACgkQCDGwvQPY
sYLj4xAAjqLlB10pb9pX9pNhIJOtmQJpIbDIU9oL3gngPi/lSpgWBYy0aJtqizNT
rOJjH3d71i3NuoPsLEUVTgh7077K6BaxBaR6Q+dyTy7rGK7i6eTh/tgAlK/fhNF1
4JDrHpKw3w9U4nh2ikWLjHj6nJsEt3VybAt1K/VN6y9/qUoEtcloNobvADNTUNBm
f/jEvLme6m6PXi29oJMBxV0ffsj6qfH4lmRwUmL7IT0iTP3cZCJW73WgWp5uL+ob
mjuXTsjGws5EAwgi12nTrHqNIAIdVvjTiSU0nj3y/PxAfRCPmaGzCutfrnfJ94mS
6KV3lFsB7pD3frks4o97bV28vdegx+6SwcUNOhW4Ii050fcViwU5FJfyV/D6z8Uo
spjXEduTsZfCAITy95lmxf7VvbcQWOOQRbgbRbsXFbR3z/aOuf7Uz6MamX8j9FNI
MRMnss5LzAp+ffX6PGLp3BQkfZwGEskbvZNBviYzRe5p376cE6VLA1KE4VNBTZeV
TDVzrAnF1J+FEDHE3VLs3GSLjKirja+vhL7QLiaGZBj07fNf464tDP2NrtOuQ5XQ
rcGXqcecr5Jlauiadu73IqZGaYMgxzQfXOxJb4ETMiMwqnLjIGmOn+CAnepzSUDU
a6d02x7MHrGNeMLW8t2JywzcwGjssPHjFcWndM6MbzY3yRWAvG0=
=/H6o
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.