summaryrefslogtreecommitdiffstats
path: root/backup.sh
diff options
context:
space:
mode:
authorkhilman <khilman@users.noreply.github.com>2018-11-02 08:44:14 -0700
committerGitHub <noreply@github.com>2018-11-02 08:44:14 -0700
commitf9866a336c91f07b4dd6230a4bc45b832de5718d (patch)
treee7d5f78b7f0d33650376bf1854464e3a7571aa32 /backup.sh
parent35f9ef3bbbc39bc190a168db4994872d3aecc689 (diff)
parent3f7d9d3f134eb0accab94389e0a792f4183448c9 (diff)
Merge pull request #61 from montjoie/backup-latest-link
backup: Create a symlink to recent backup
Diffstat (limited to 'backup.sh')
-rwxr-xr-xbackup.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/backup.sh b/backup.sh
index f803486..44644f1 100755
--- a/backup.sh
+++ b/backup.sh
@@ -20,3 +20,4 @@ docker cp $DOCKERID:/root/joboutput.tar.gz $BACKUP_DIR/ || exit $?
docker exec -ti $DOCKERID rm /root/joboutput.tar.gz || exit $?
echo "Backup done in $BACKUP_DIR"
+ln -sf $BACKUP_DIR backup-latest