Mercurial > repos > other > usr-local-bin
changeset 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 | 31a626c71eab |
children | faa17dcc2c95 |
files | backup-website-images backup-websites |
diffstat | 2 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/backup-website-images Mon Oct 01 21:09:49 2018 +0100 +++ b/backup-website-images Sun Jun 09 15:51:48 2019 +0100 @@ -3,10 +3,7 @@ dest=~/Websites/image-backup/ mkdir -p $dest -paths="glittergoth/image/data -glittergoth/image/*.* -glittergoth/AlchemyCatalogue/*.* -glittergoth/AlchemyCatalogue/Thumbs/*.* +paths="bdstrike/content/uploads/ skins/images" for path in $paths; do
--- a/backup-websites Mon Oct 01 21:09:49 2018 +0100 +++ b/backup-websites Sun Jun 09 15:51:48 2019 +0100 @@ -1,6 +1,6 @@ #! /bin/bash -for site in Admin CMS ErrorHandling Forums GlitterGoth GraceBertram HWT IBBoard Puppet PuppetPrivate SkinsAtHWT WarFoundry server-usr-local PrivateExtra Trac AbiKnight LKTutoring; do +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 cd ~/Websites/$site hg pull -u --config extensions.mercurial_keyring=\! done