Displaying 2 results from an estimated 2 matches for "aqzh".
Did you mean:
aqzb
2016 Jun 19
5
rsync script for snapshot backups
...ow.txt" ]
then
yes | cp /volume1/rsync/Buero/timenow.txt
/volume1/rsync/Buero/timeold.txt
fi
# Create current timefile
echo `date +"%d-%m-%Y-%H%M"` > /volume1/rsync/Buero/timenow.txt
# rsync command
if [ -f "/volume1/rsync/Buero/timeold.txt" ]
then
rsync -aqzh \
--delete --stats --exclude-from=/volume1/rsync/Buero/exclude.txt \
--log-file=/volume1/Backup_Test/logs/rsync-`date
+"%d-%m-%Y-%H%M"`.log \
--link-dest=/volume1/Backup_Test/`cat
/volume1/rsync/Buero/timeold.txt` \
Test at 192.168.2.2::Test/volume1/Backup_Test/`date +&qu...
2016 Jun 20
1
rsync script for snapshot backups
The scripts I use analyze the rsync log after it completes and then
sftp's a summary to the root of the just completed rsync.
If no summary is found or the summary is that it failed, the folder
rotation for that set is skipped and that folder is re-used on the
subsequent rsync.
The key here is that the folder rotation script runs separately from the
rsync script(s).
For each entity I want