Note: rsync --delete deletes all data when it builds first index.
I did forget that rsync with --delete option deleted data in the backup directory while rsync is building first index.
After I reconstructed my backup RAID on the server in my local network, I executed rsync --delete then it deleted all backup data. It was too late when I was aware of it.
It is better to do it with --dry-run when you rsync at first time.
Category
UNIXTrackback(0)
Trackbacking Blog List : Note: rsync --delete deletes all data when it builds first index.
Trackback URL: http://mentalposition.com/mppweblog/mt-tb.cgi/350
I gave my site a few examples below.
If you appreciate my comments in you enter
I’ll see if I can try to use some of this information for my own blog. Thanks!