Displaying 1 result from an estimated 1 matches for "sfnas01".
2008 Sep 22
1
--files-from= and --delete corrent options
...be "Monday2008-09-19.bkf" I use a script before running rsync to
obtain the most recently modified file from /var/data/shares/vmbackups/ and
cat it into /tmp/BACKUPFILE.
I want the /mnt/usb_backup/SFSYDVS01/daily.0/VM/ directory to only ever
contain the most recent backup file e.g.
root@sfnas01:~# ls -t1 /var/data/shares/vmbackups | head -n 1 >
/tmp/BACKUPFILE
root@sfnas01:~# rsync [CORRECT OPTIONS] --files-from=/tmp/BACKUPFILE
/var/data/shares/vmbackups/ /mnt/usb_backup/SFSYDVS01/daily.0/VM/
root@sfnas01:~# ls /mnt/usb_backup/SFSYDVS01/daily.0/VM/
Friday2008-09-19.bkf
Skip to next da...