Displaying 1 result from an estimated 1 matches for "backup2diskrsync".
2015 Jan 31
6
[Bug 11086] New: rsync --delete has stopped to delete destination files that don't exist at the source
...iodically. I use the following script for that action:
#!/bin/bash
NICE=15
PH="/mnt/b"
cd /
nice -n $NICE rm -v /root/.xsession-errors
nice -n $NICE rm -v /root/dead.letter
nice -n $NICE /usr/bin/rsync -avhHxq --progress --stats --force --delete
--delete-before --log-file='/var/log/backup2diskrsync.log'
--exclude='/usr/portage/distfiles/' --exclude='/home/ftp/'
--exclude='/lost+found/' --exclude='/var/tmp/ccache/'
--exclude='/root/.ccache/' --exclude='/var/cache/edb/'
--exclude='/home/myuser/.cache/chromium/'
--exclude='/home/myu...