Displaying 1 result from an estimated 1 matches for "data_rsync".
2004 Sep 23
1
rsync script from homepage: trouble
...$BACKUPDIR -a"
export PATH=$PATH:/bin:/usr/bin:/usr/local/bin
# the following line clears the last weeks incremental directory
[ -d $HOME/emptydir ] || mkdir $HOME/emptydir
#rsync --delete -a $HOME/emptydir/ $BSERVER::$USER/$BACKUPDIR/
rsync -e ssh --delete -a \
$HOME/emptydir/$BSERVER:/aule/data_rsync/$BACKUPDIR/
rmdir $HOME/emptydir
# now the actual transfer
#rsync $OPTS $BDIR $BSERVER::$USER/current
rsync $OPTS $BDIR $BSERVER:/aule/data_rsync/current
ssh-add -d ~/.ssh/root\@aule_backup