Linux.com

had to modify your script to get it working

Posted by: Anonymous Coward on October 02, 2006 12:26 PM
I had an error with your multi_rbackup.sh script and had to modify it slightly.

The 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!

#

Return to Making secure remote backups with Rsync