Displaying 1 result from an estimated 1 matches for "treedesign".
Did you mean:
redesign
2004 Sep 29
1
--link-dest doesn't work
...; ]; 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. not the same. its not hard linking.
$ ./backup.sh example.com && cd /home/user/backups/sites/example.com && ls
09-27-2004 09-28-2004 09-29-2004
$ ls -i 09-27-2004/index.html
108...