Skip to content

Commit

Permalink
#63 Production deployment: excluding Git repositories from backup
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoraboeuf committed Nov 27, 2014
1 parent 15e9615 commit d42e468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ontrack-delivery/production-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ fi

echo "[PRODUCTION] Backuping Ontrack data..."
TIMESTAMP=`date +%F-%T`
docker run --volumes-from ontrack-data --volume /root:/backup ubuntu tar czvf /backup/backup-${TIMESTAMP}.tgz /opt/ontrack/mount
docker run --volumes-from ontrack-data --volume /root:/backup ubuntu tar czvf /backup/backup-${TIMESTAMP}.tgz --exclude='work/files/git/*' /opt/ontrack/mount

# Installs the new version of Ontrack

Expand Down

0 comments on commit d42e468

Please sign in to comment.