This commit is contained in:
Bob Mottram 2014-09-29 00:04:07 +01:00
parent e7b008a3f0
commit 3e82da518e
1 changed files with 1 additions and 1 deletions

View File

@ -3104,7 +3104,7 @@ function create_backup_script {
echo 'echo "Archiving backup data"' >> /usr/bin/$BACKUP_SCRIPT_NAME echo 'echo "Archiving backup data"' >> /usr/bin/$BACKUP_SCRIPT_NAME
echo "cd $USB_MOUNT" >> /usr/bin/$BACKUP_SCRIPT_NAME echo "cd $USB_MOUNT" >> /usr/bin/$BACKUP_SCRIPT_NAME
echo "tar -czvf $USB_MOUNT/backup.tar.gz $USB_MOUNT/backup" >> /usr/bin/$BACKUP_SCRIPT_NAME echo "tar -czvf $USB_MOUNT/backup.tar.gz $USB_MOUNT/backup" >> /usr/bin/$BACKUP_SCRIPT_NAME
echo 'Encrypting backup data' >> /usr/bin/$BACKUP_SCRIPT_NAME echo 'echo "Encrypting backup data"' >> /usr/bin/$BACKUP_SCRIPT_NAME
echo "bcrypt -c $USB_MOUNT/backup.tar.gz" >> /usr/bin/$BACKUP_SCRIPT_NAME echo "bcrypt -c $USB_MOUNT/backup.tar.gz" >> /usr/bin/$BACKUP_SCRIPT_NAME
fi fi
echo 'exit 0' >> /usr/bin/$RESTORE_SCRIPT_NAME echo 'exit 0' >> /usr/bin/$RESTORE_SCRIPT_NAME