summaryrefslogtreecommitdiff
path: root/gitlab-server/usr/share/gitlab-install/backup-gitlab
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-03-16 16:07:27 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-03-16 16:07:27 +0000
commit24673741fb1ad30c273e89c25d366e0136dfaa5b (patch)
tree0a30c7c393508b1d1d9f60defb1e3021d0b6dcd7 /gitlab-server/usr/share/gitlab-install/backup-gitlab
parent3615cc776d0a926fc45ce280cfc6ee679d01366e (diff)
downloaddefinitions-24673741fb1ad30c273e89c25d366e0136dfaa5b.tar.gz
Remove Gitlab systems
As far as I know, these are out of date, unmaintained and nobody is using them. It was definitely a useful learning process to integrate Gitlab into Baserock, but I think this is now just taking up space in definitions.git needlessly. Change-Id: Ifdd9c0a3dd889382bc5e6825c2df4f3afbd89f3c
Diffstat (limited to 'gitlab-server/usr/share/gitlab-install/backup-gitlab')
-rw-r--r--gitlab-server/usr/share/gitlab-install/backup-gitlab16
1 files changed, 0 insertions, 16 deletions
diff --git a/gitlab-server/usr/share/gitlab-install/backup-gitlab b/gitlab-server/usr/share/gitlab-install/backup-gitlab
deleted file mode 100644
index 1320df81..00000000
--- a/gitlab-server/usr/share/gitlab-install/backup-gitlab
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-#
-# Run the gitlab backup script. The backup will be stored as
-# /home/git/gitlab-backup.tar . A separate backup host will need to
-# back that up.
-#
-# This script be run as the postgres user on a Baserock GitLab host.
-
-set -e
-
-export PATH=/usr/local/bin:/usr/bin:/bin
-
-mkdir -p /home/postgres/dumps
-cd /home/postgres/dumps
-pg_dumpall > new.dump
-mv new.dump gitlab.pg_dumpall