diff options
author | khilman <khilman@users.noreply.github.com> | 2018-11-02 08:44:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-02 08:44:14 -0700 |
commit | f9866a336c91f07b4dd6230a4bc45b832de5718d (patch) | |
tree | e7d5f78b7f0d33650376bf1854464e3a7571aa32 /backup.sh | |
parent | 35f9ef3bbbc39bc190a168db4994872d3aecc689 (diff) | |
parent | 3f7d9d3f134eb0accab94389e0a792f4183448c9 (diff) |
Merge pull request #61 from montjoie/backup-latest-link
backup: Create a symlink to recent backup
Diffstat (limited to 'backup.sh')
-rwxr-xr-x | backup.sh | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |