Mercurial > repos > other > usr-local-bin
annotate backup-websites @ 10:4158847b0f18
Back up additional websites that are in Mercurial
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 31 Aug 2016 17:20:08 +0100 |
parents | 7c8b5c5f0fb7 |
children | a6f490ec0c1c |
rev | line source |
---|---|
0 | 1 #! /bin/bash |
2 | |
10
4158847b0f18
Back up additional websites that are in Mercurial
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
3 for site in Admin CMS 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 |