Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-1847 CIAT Sprint Oct 2018
  3. SPEC-1860

have backup.sh script create backup-latest link

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • None
    • None

      diff --git a/backup.sh b/backup.sh
      index f803486..bc8057d 100755
      --- a/backup.sh
      +++ b/backup.sh
      @@ -20,3 +20,6 @@ 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 -rf backup-latest || true
      +ln -sf $BACKUP_DIR backup-latest
       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            clabbe Corentin Labbe
            jsmoeller Jan-Simon Moeller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: