Displaying 1 result from an estimated 1 matches for "backuparchive".
2003 Apr 23
1
trying to get incremental backups working
...t 7 days.
Here is the brief script I have. Btw if you're wondering about all the
variables, I eventually want to set it to pull the values for them from a
conf file that others will edit through a web interface.
BACKUPDIR=`date +%A`
BACKUPHOST=wally
REMOTEUSER=root
ARCHBASE=/home/catbertbackup/backuparchive/
CURRENT=current
INCLUDEFILE=/usr/local/etc/backup2/include
EXCLUDEFILE=
rsync --delete --backup --backup-dir=$ARCHBASE$BACKUPDIR -ae ssh
/usr/local/etc $REMOTEUSER@$BACKUPHOST:$ARCHBASE$CURRENT
rsync --delete --backup --backup-dir=$ARCHBASE$BACKUPDIR -ae ssh
/etc $REMOTEUSER@$BACKUPHOST:$ARCHBASE$...