Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17837

rsync script help

$
0
0

heres my rsync script that runs once a week:

/usr/bin/rsync -auvhAX --del --exclude '.DSStore' --exclude '.Trashes' --exclude '..DS_Store' --progress [SOURCE] [DEST]

My issue, is that the result of this script gives me this output:

sent 929.99G bytes received 686.42K bytes 177.90M bytes/sec total size is 82905.56G speedup is 89.15

The thing that is alarming -- is that with the switches I have, this should be an exact sync of source, to destination.

However, the total size of the source is only:

'#du -sh 78T .

Why dont my sizes match up? do I have some switches wrong?

edit: I should also include that a look at the root source and dest files

I can see a small handful of files in the DEST, that are not in the SOURCE.

So while im not totally freaking out because the sizes are at least in the same ball park -- I am worried that things deleted from the source, are not being deleted from the sync DEST.

submitted by /u/Krytos
[link] [comments]

Viewing all articles
Browse latest Browse all 17837

Trending Articles