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: John Covici
Subject: Re: [Duplicity-talk] how to use verify command?
Date: Mon, 27 Mar 2017 06:41:26 -0400
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/25.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

So, if I do an incremental backup, there is no verify command to just
verify the files I just backed up?  Otherwise verify is not that
useful as it must verify everything.


On Mon, 27 Mar 2017 05:20:29 -0400,
edgar.soldin--- via Duplicity-talk 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@hidden>> 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@hidden>
> >         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
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         address@hidden



reply via email to

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