summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbackup.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/backup.sh b/backup.sh
index 44644f1..3477367 100755
--- a/backup.sh
+++ b/backup.sh
@@ -20,4 +20,5 @@ 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"
+rm -f backup-latest
ln -sf $BACKUP_DIR backup-latest