duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] how to use verify command?


From: Raphael Bauduin
Subject: Re: [Duplicity-talk] how to use verify command?
Date: Mon, 27 Mar 2017 11:51:09 +0200

Hi,

checksum verification is sufficient for me, thanks for the clarification.

raphaël

On Mon, Mar 27, 2017 at 11:20 AM, edgar.soldin--- via Duplicity-talk <address@hidden> wrote:
Raph,

the manpage seems to be out of date on verify. verify nowadays only restores to a temp path and checks if the result matches the checksum saved during backup.

if you really want to compare you will need to add the --compare-data parameter.

to restrict comparision to a folder/file you will need to add the --file-to-restore parameter.

something like
  duplicity verify --compare-data --file-to-restore /etc/hostname file://backups/duplicity /
assuming that '/' the fs root was your initial backup source on the other machine.

..ede/duply.net


On 27.03.2017 07:55, Raphael Bauduin via Duplicity-talk wrote:
> But my example should have raised an error, no? The file /etc/hostname on the host I run the verify command is different from that file in the backup. I thought it would at least find one different.
>
> Raphaël
>
> On Fri, Mar 24, 2017 at 4:37 PM, Kenneth Loafman <address@hidden <mailto:address@hidden>> wrote:
>
>     duplicity does not check hostname unless you are backing up, so every command except 'full' and 'inc' should work without error.
>
>     ...Ken
>
>
>     On Fri, Mar 24, 2017 at 7:46 AM, Raphael Bauduin via Duplicity-talk <address@hidden <mailto:address@hiddenorg>> wrote:
>
>         Hi,
>
>         I'm testing the 'duplicity verify' command, and get confusing results...
>
>         I'm running the command on a server which is not the server from which the data is backed-up. I'm doing:
>
>         duplicity verify file://backups/duplicity /etc/hostname
>
>         The hostname is different, so I would expect to get an error, but exit status is 0 and output is:
>
>         Local and Remote metadata are synchronized, no sync needed.
>         Last full backup date: Thu Mar 16 14:55:54 2017
>         GnuPG passphrase:
>         Verify complete: 17936 files compared, 0 differences found.
>
>         Did I misunderstand something here?
>
>         Thanks
>
>         Raphaël
>
>         _______________________________________________
>         Duplicity-talk mailing list
>         address@hidden <mailto:address@hiddenorg>
>         https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk>
>
>
>
>
>
> --
> Web database: http://www.myowndb.com
> Free Software Developers Meeting: http://www.fosdem.org
>
>
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>

_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk



--
Web database: http://www.myowndb.com
Free Software Developers Meeting: http://www.fosdem.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]