Re: rsync: different target size
2010/1/18 Johannes Wiedersich <johannes@physik.blm.tu-muenchen.de>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Leonardo Canducci wrote:
>> I'm using rsync -aHS to backup some stuff (mostly jpgs and docs from
>> my home) to an external usb hard drive (same ext3 fs).
>
> [snip]
>
>> I'd like the size of the backup to be exactly the same and check sync
>> result with du.
>>
>> BTW, is there some better fast check I could do to test rsync behavior?
>
> If your data and the backup are important to you, the question is not,
> whether your check is fast, but if it is accurate. I'd suggest you use
> the -cnv options of rsync to check for differences between source and
> target. It will display all different files (ie. files with different
> checksum) without modifying anything.
I just wanted to get a fast (not accurate) check with some other tool.
I knew about -c switch but I read it's really slow and my backup is
30Gb.
>
> FWIW, why do you use the -S option and are you aware of the consequences:
>
> /---man rsync---
> -S, --sparse
> Try to handle sparse files efficiently so they take up
> less space on the destination. Conflicts with
> --inplace because it’s not possible to overwrite data in a
> sparse fashion.
I read the man page and I usually use plain rsync -a. I was told to
try -aHS on a chat after having the same problem with rsync -a.
--
Leonardo Canducci
Reply to: