[Klug-general] rsync and usb
sharon kimble
boudiccas at talktalk.net
Sun Sep 25 22:21:08 UTC 2011
I use rsync to back up my /home to an external hard drive using usb. Thiis
the stanza;= /usr/bin/rsync -av /home/boztu/ /media/disk/`/bin/date +%Y%m%d`/
>> /home/boztu/cron/backup.txt
But occasionally when I plug the drive in after a reboot, it comes up with ;=
/usr/bin/rsync -av /home/boztu/ /media/usb/`/bin/date +%Y%m%d`/ >>
/home/boztu/cron/backup.txt
How can I add the second line to my backup.sh file such that it will run from
either stanza please?
Take care
Sharon.
--
A taste of linux = http://www.sharons.org.uk/taste/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian 6,0.2, KDE 4.4.5, LibreOffice 3.4.3
Registered Linux user 334501
More information about the Kent
mailing list