From d42e46869e17d672af100f1ec54cb61f24022373 Mon Sep 17 00:00:00 2001 From: Damien Coraboeuf Date: Thu, 27 Nov 2014 22:23:54 +0100 Subject: [PATCH] #63 Production deployment: excluding Git repositories from backup --- ontrack-delivery/production-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ontrack-delivery/production-update.sh b/ontrack-delivery/production-update.sh index 1bf5d29a952..fef9cd6a488 100755 --- a/ontrack-delivery/production-update.sh +++ b/ontrack-delivery/production-update.sh @@ -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