Re: rsync: different target size
-----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.
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.
\---------------
- --
Johannes
Three nations have not officially adopted the International System
of Units as their primary or sole system of measurement: Burma,
Liberia, and the United States.
http://en.wikipedia.org/wiki/Si_units
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAktUzwwACgkQC1NzPRl9qEUJiwCeNGsfNf9wWCRDYwnftk8wdTS1
Y2kAnAoR0m+u5IJuZ70CLnJWy9adTPLq
=MpRH
-----END PGP SIGNATURE-----
Reply to: