diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-03-16 16:07:27 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-03-16 16:07:27 +0000 |
commit | 24673741fb1ad30c273e89c25d366e0136dfaa5b (patch) | |
tree | 0a30c7c393508b1d1d9f60defb1e3021d0b6dcd7 /gitlab-server/usr/share/gitlab-install/gitlab-remote-backup.sh | |
parent | 3615cc776d0a926fc45ce280cfc6ee679d01366e (diff) | |
download | definitions-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/gitlab-remote-backup.sh')
-rw-r--r-- | gitlab-server/usr/share/gitlab-install/gitlab-remote-backup.sh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gitlab-server/usr/share/gitlab-install/gitlab-remote-backup.sh b/gitlab-server/usr/share/gitlab-install/gitlab-remote-backup.sh deleted file mode 100644 index 85618811..00000000 --- a/gitlab-server/usr/share/gitlab-install/gitlab-remote-backup.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh -# -# Copy relevant files of a Baserock Gitlab instance out of the instance. -# -# Usage: backup.sh ADDR -# where ADDR is the address (domain name, IP address) of the instance. -# The files are copied to the current directory. - -set -eux - -ADDR="$1" - -backup() -{ - rsync -ahHS --delete "root@$ADDR:$1" "$2" -} - -mkdir -p dumps repositories uploads -backup /home/postgres/dumps/. dumps/. -backup /home/git/repositories/. repositories/. -backup /home/git/gitlab/public/uploads/. uploads/. - |