comparison 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
comparison
equal deleted inserted replaced
9:a3c7051ceb21 10:4158847b0f18
1 #! /bin/bash 1 #! /bin/bash
2 2
3 for site in Admin CMS ErrorHandling Forums GlitterGoth GraceBertram HWT IBBoard Puppet PuppetPrivate SkinsAtHWT WarFoundry server-usr-local PrivateExtra Trac; do 3 for site in Admin CMS ErrorHandling Forums GlitterGoth GraceBertram HWT IBBoard Puppet PuppetPrivate SkinsAtHWT WarFoundry server-usr-local PrivateExtra Trac AbiKnight LKTutoring; do
4 cd ~/Websites/$site 4 cd ~/Websites/$site
5 hg pull -u --config extensions.mercurial_keyring=\! 5 hg pull -u --config extensions.mercurial_keyring=\!
6 done 6 done
7
8 rsync -a vps:/srv/uploads/ ~/Websites/uploads