Mercurial > repos > other > usr-local-bin
annotate backup-websites @ 38:737061eac1d0 default tip
Skip more large videos and some permission issues
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 18 Aug 2021 20:40:17 +0100 |
parents | 278968272584 |
children |
rev | line source |
---|---|
0 | 1 #! /bin/bash |
2 | |
28 | 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 IBBoard/exif-graphr; 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 |
25 | 8 rsync -a -e "ssh -i /home/ibboard/.ssh/cron2" vps: ~/Websites/uploads |