Mercurial > repos > other > usr-local-bin
annotate backup-websites @ 21:a6f490ec0c1c
Update website backup scripts to new sites
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 09 Jun 2019 15:51:48 +0100 |
parents | 4158847b0f18 |
children | b9e808b6b01e |
rev | line source |
---|---|
0 | 1 #! /bin/bash |
2 | |
21
a6f490ec0c1c
Update website backup scripts to new sites
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
3 for site in Admin bdstrike CMS Dev ErrorHandling Forums GlitterGoth GraceBertram HWT IBBoard Puppet PuppetPrivate SkinsAtHWT WarFoundry server-usr-local PrivateExtra Trac AbiKnight LKTutoring; do |
0 | 4 cd ~/Websites/$site |
2
30145875d811
Update when we pull website code down
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
5 hg pull -u --config extensions.mercurial_keyring=\! |
0 | 6 done |
10
4158847b0f18
Back up additional websites that are in Mercurial
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
7 |
4158847b0f18
Back up additional websites that are in Mercurial
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
8 rsync -a vps:/srv/uploads/ ~/Websites/uploads |