- Timestamp:
- Sep 8, 2011, 5:52:28 PM (13 years ago)
- Location:
- tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/config-snapshot.sh
r343 r344 16 16 17 17 # Check for last backup file 18 mkdir -p $BACKUPROOT 18 mkdir -p $BACKUPROOT || exit 1 19 19 LAST=`ls -t1 $BACKUPROOT/*.tar | head -1` 20 20 -
tools/mysql-snapshot.sh
r343 r344 14 14 15 15 BACKUP_TODAY=`date "+$BACKUP_ROOT/%Y/%m/%d/"` 16 mkdir -p $BACKUP_TODAY 16 mkdir -p $BACKUP_TODAY || exit 1 17 17 # Dump and compress 18 18 for DATABASE in $DATABASES; do -
tools/snapshot-sync.sh
r343 r344 31 31 TARGET=$SNAPSHOTROOT/$DIR 32 32 SOURCE=/usr/backup/$HOSTID/$DIR 33 mkdir -p $TARGET 33 mkdir -p $TARGET || exit 1 34 34 35 35 # now the actual transfer -
tools/vmail-snapshot.sh
r343 r344 7 7 8 8 TARGET=/usr/backup/`host -s`/vmailbackup/virtual.tar.gz 9 mkdir -p $TARGET 9 mkdir -p $TARGET || exit 1 10 10 tar -C /var/mail -czf $TARGET virtual 11 11
Note:
See TracChangeset
for help on using the changeset viewer.