search for: new_backup

Displaying 1 result from an estimated 1 matches for "new_backup".

Did you mean: netbackup
2004 Sep 29
1
--link-dest doesn't work
...only get the changed files. Otherwise just hard link to yesterdays file. So I'm trying --link-dest. here is the script (backup.sh) I'm trying to use.... #!/bin/bash if [ -z "$1" ]; then echo usage: $0 rsync_module exit fi BACKUP_DIR=/home/user/backups/sites/$1 NEW_BACKUP=$BACKUP_DIR/`date +%m-%d-%Y` OLD_BACKUP=$BACKUP_DIR/`date -d "-1 day" +%m-%d-%Y` rsync -a -e ssh --delete --link-dest=$OLD_BACKUP --exclude access_log --exclude error_log root@treedesign.com::$1 $NEW_BACKUP ... This script runs fine without any errors, but look at the i-node numbers....