We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6edfc06 + 6643b0d commit c887daeCopy full SHA for c887dae
1 file changed
template/ubuntu-16.04/backup.sh
@@ -1,6 +1,8 @@
1
#!/bin/bash
2
3
-BACKUP_DIR=/tmp/backups
+BACKUP_DIR=/root/backups
4
+# You may consider a more temporary directory if backups are stored offsite:
5
+# BACKUP_DIR=/tmp/backups
6
DATE=`date +%Y%m%d`
7
BACKUP_FILE="${DATE}.tar.gz"
8
BACKUP_FILE_ENCRYPTED="${DATE}.tar.gz.enc"
0 commit comments