I'm using rsnapshot (which use rsync) to backup files from my web server to local Linux box (Synology)
Files, deleted on the web server are deleted on the Linux box, as expected. The problem, that info about deleted files are not logged. How can I add list of deleted files to the rsync log?
Here are rsync parameters in the rsnapshot.conf:
rsync_short_args -av
rsync_long_args --out-format="%t %f %b" --delete --delete-excluded \
--log-file=/volume1/web/logs/rsn_sync.log --copy-links
So this results in following command:
/usr/syno/bin/rsync -av --out-format="%t %i %f %b" --delete --delete-excluded \
--log-file=/volume1/web/logs/rsn_sync.log --copy-links \
--exclude-from=/volume1/web/BK/exclude.txt --rsh=/usr/syno/bin/ssh \
--link-dest=/volume1/web/BK2/weekly.1/slavikF/ \
root@slavikf.com:/var/www/ /volume1/web/BK2/weekly.0/slavikF/
flag "--itemize-changes" doesn't affect anything. There are no info about deleted files IN THE LOG. Seems to be the bug of rsync. I have version 3.09
But information about deleted files is present in the console output (regardless of --itemize-changes).
I can't get console output, when using rsync from rsnapshot.
But I can use rsnapshot diff, which does, what I need to do.
luckyBackup
which is a GUI tool for rsync. It not only keeps logs but also can save the old deleted data as versions. – shivams May 17 '15 at 10:57