diff options
author | Francisco Redondo <francisco.marchena@codethink.co.uk> | 2015-03-18 12:44:52 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@baserock.org> | 2015-03-18 12:44:52 +0000 |
commit | 369a6c5211d60313c88ad4c403cfc1b1f0cd817d (patch) | |
tree | 1fa6e9ca64f48d4ebf58e610d86550f11738c831 /gitlab-server/usr/share/gitlab-install/gitlab-remote-backup.sh | |
parent | ad252c62599cf25c78b6b82448e31847fe880a66 (diff) | |
parent | 24673741fb1ad30c273e89c25d366e0136dfaa5b (diff) | |
download | definitions-369a6c5211d60313c88ad4c403cfc1b1f0cd817d.tar.gz |
Merge "Remove Gitlab systems"
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/. - |