Learn about Linux
Download Linux
Get Linux help
Get special offers on:
Linux Application Dev Programming Software
Email:
#
Return to Making secure remote backups with Rsync
© Copyright 1999-2008 - SourceForge, Inc., All Rights Reserved About Linux.com - Privacy Statement - Terms of Use - Advertise - Trademark - Ask Linux Questions - Write for Us - RSS Feed ThinkGeek - Slashdot - SourceForge.net - freshmeat - Surveys - Jobs
had to modify your script to get it working
Posted by: Anonymous Coward on October 02, 2006 12:26 PMThe fix was simply to add a trailing slash to this line:
ssh $RUSER@$RMACHINE "cp -al $NEWEST_BACKUP. $RTARGET/$BACKUP_DATE/"
Without the trailing slash, this command would create a time-stamped backup directory based on $NEWEST_BACKUP _inside_ the new $BACKUP_DATE directory.
Otherthan that this script works perfectly.
Thanks for sharing!
#