summaryrefslogtreecommitdiff
path: root/baserock_backup
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-12-18 15:21:53 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-01-22 13:14:06 +0000
commitb881bd444a6c0042e75100f65c1f86d304b68819 (patch)
tree14ef5c21b07ed7248c9722e03594bcbe4d9335ad /baserock_backup
parente71a84501df5b25933a69ba4ad798b6285060958 (diff)
downloadinfrastructure-b881bd444a6c0042e75100f65c1f86d304b68819.tar.gz
baserock_storyboard: Upgrade to latest and use Ansible for deployment
Change-Id: If4578c0d97aa2aee1a1a7e57bb7e2c42917ba077
Diffstat (limited to 'baserock_backup')
-rwxr-xr-xbaserock_backup/backup.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/baserock_backup/backup.sh b/baserock_backup/backup.sh
index dc9db0a9..e971aaa6 100755
--- a/baserock_backup/backup.sh
+++ b/baserock_backup/backup.sh
@@ -29,3 +29,8 @@
root@192.168.222.30: /srv/backup/storyboard-database \
&& date > /srv/backup/storyboard-database.timestamp
+# Storyboard Database
+/usr/bin/rsync --archive --delete-before --delete-excluded \
+ --hard-links --human-readable --progress --sparse \
+ root@192.168.222.30: /srv/backup/storyboard-database
+date > /srv/backup/storyboard-database.timestamp