diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2018-11-02 14:50:27 +0100 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2018-11-02 16:42:21 +0100 |
commit | 3f7d9d3f134eb0accab94389e0a792f4183448c9 (patch) | |
tree | 368cce445a0b3566f77b0cf5b6a46e87e512c33a | |
parent | 95212ea3c686f60a520f617abbfe32b0f1fc2353 (diff) |
backup: Create a symlink to recent backup
backup will now create a backup-latest symlink to the backup just being
made.
-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 |