Re: Verifying backups

2015-09-30 Thread Perry Hutchison
"Ronald F. Guilmette" wrote: > P.S. I really do hope that I can get this to work with rsync. > I do prefer not reinventing the wheel, but it is starting to seem > simpler to me if I were to just write a Perl script that would > walk two directory hierarchies, in parallel, and just repeatedly > i

Re: Verifying backups

2015-09-30 Thread Ronald F. Guilmette
In message <560c7e98.3090...@sanitarium.net>, Kevin Korb wrote: >Remove the -n and look at the results. You would be copying the one >dir into the two dir instead of copying the contents of the one dir >into the two dir. AHHH! OK. Yes. My bad. I keep on forgetting how critical to

Re: Verifying backups

2015-09-30 Thread Ronald F. Guilmette
In message <560c79ff.5010...@sanitarium.net>, Kevin Korb wrote: >Because you are making two/one. Change to: >rsync -n -v --itemize-changes -checksum -a one/ two/ OK, I tried it with your suggested command line, and yes, that produces rather more substantially useful results. However... Perh

Re: Verifying backups

2015-09-30 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Remove the -n and look at the results. You would be copying the one dir into the two dir instead of copying the contents of the one dir into the two dir. On 09/30/2015 08:28 PM, Ronald F. Guilmette wrote: > > In message <560c79ff.5010...@sanitarium.

Re: Verifying backups

2015-09-30 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Because you are making two/one. Change to: rsync -n -v --itemize-changes -checksum -a one/ two/ On 09/30/2015 07:22 PM, Ronald F. Guilmette wrote: > rsync -n -v --itemize-changes -checksum -a one two - -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~

Re: Verifying backups

2015-09-30 Thread Ronald F. Guilmette
In message <560c660f.5000...@sanitarium.net>, Kevin Korb wrote: >Just add --itemize-changes and --checksum to what you were doing >before and know that it will take a long time. I'm still not getting to where I need to be. Maybe you can explain what has gone wrong in this very simple example:

Re: Verifying backups

2015-09-30 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just add --itemize-changes and --checksum to what you were doing before and know that it will take a long time. On 09/30/2015 06:42 PM, Ronald F. Guilmette wrote: > > Kevin Korb , > > I thank you greatly for your attempts to educate me, however as w

Re: Verifying backups

2015-09-30 Thread Ronald F. Guilmette
Kevin Korb , I thank you greatly for your attempts to educate me, however as we get deeper into discussing more and more different rsync options, I feel that I am actually just getting more confused and frustrated. I've been sitting here, trying all sorts of different combinations and permutatio

Re: Verifying backups

2015-09-30 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 reply inline... On 09/30/2015 05:18 PM, Ronald F. Guilmette wrote: > > In message <560c4a51.4040...@sanitarium.net>, Kevin Korb > wrote: > >> First off, --fileflags --force-change are not in my man rsync so >> I don't know what those are. > > Thes

Re: Verifying backups

2015-09-30 Thread Ronald F. Guilmette
In message <560c4a51.4040...@sanitarium.net>, Kevin Korb wrote: >First off, --fileflags --force-change are not in my man rsync so I >don't know what those are. These are probably (Free)BSD specific. Here's what the man page says: --fileflags preserve file-flags (aka chfla

Re: Verifying backups

2015-09-30 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First off, --fileflags --force-change are not in my man rsync so I don't know what those are. Second, you should look into using either ZFS subvolume snapshots or rsync --link-dest to maintain multiple backups. Now, for your actual question... Add --

Verifying backups

2015-09-30 Thread Ronald F. Guilmette
For some time now I've been using rsync on FreeBSD to make my system backups. Recently, I accidentally rm'd some files from one directory and I had to go and fetch copies off of my backup drive. After I had done so, I found that about 1/5 of them were corrupted. (They were all .jpg files, by th