From cd86b155042f6fca18c231b862d8e923eb38b441 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 19 May 2014 16:20:53 +0000 Subject: Add GitLab backup automation This adds a systemd timer unit to back up a GitLab instance every four hours. The backup is placed as /home/git/gitlab-backup.tar and it is expected Something Else retrieves that. --- gitlab-server/manifest | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gitlab-server/manifest') diff --git a/gitlab-server/manifest b/gitlab-server/manifest index 8d1dae7a..7ac74744 100644 --- a/gitlab-server/manifest +++ b/gitlab-server/manifest @@ -1,5 +1,6 @@ 0100755 0 0 /usr/share/gitlab-setup 0040755 0 0 /usr/share/gitlab-install +0100755 0 0 /usr/share/gitlab-install/backup-gitlab 0040755 0 0 /usr/share/gitlab-install/gitlab 0040755 0 0 /usr/share/gitlab-install/gitlab/config 0100644 0 0 /usr/share/gitlab-install/gitlab/config/gitlab.yml @@ -32,3 +33,5 @@ 0100644 0 0 /usr/share/gitlab-install/systemd-units/nginx.service 0100644 0 0 /usr/share/gitlab-install/systemd-units/postgres.service 0100644 0 0 /usr/share/gitlab-install/systemd-units/redis.service +0100644 0 0 /usr/share/gitlab-install/systemd-units/gitlab-backup.service +0100644 0 0 /usr/share/gitlab-install/systemd-units/gitlab-backup.timer -- cgit v1.2.1