Skip to content

Commit c887dae

Browse files
authored
Merge pull request #4 from allonhadaya/backup-dir
Change the backup directory from /tmp/backups to /root/backups.
2 parents 6edfc06 + 6643b0d commit c887dae

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

template/ubuntu-16.04/backup.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22

3-
BACKUP_DIR=/tmp/backups
3+
BACKUP_DIR=/root/backups
4+
# You may consider a more temporary directory if backups are stored offsite:
5+
# BACKUP_DIR=/tmp/backups
46
DATE=`date +%Y%m%d`
57
BACKUP_FILE="${DATE}.tar.gz"
68
BACKUP_FILE_ENCRYPTED="${DATE}.tar.gz.enc"

0 commit comments

Comments
 (0)