Viewing 1 item
Archive | Backups RSS feed for this section

Backups

backupscript

bash shell script > more backupscript.sh #!/bin/bash backup_log=/usr/local/backups.log backup_err=/usr/local/backups.err mv $backup_log $backup_log.old mv $backup_err $backup_err.old echo “Starting backup on /mnt/data” ‘date’ .” >> $backup_log echo “Errors reported for backup/verify:” ‘date’ .” >> $backup_err  #information appended cd /mnt/data   # change directory tar -cvf /dev/st0 . 2 >>$backup_err   # st0 it’s scsi drv tar saving all in  Full Article…

0