diff --git a/pulldjango.sh b/pulldjango.sh old mode 100644 new mode 100755 diff --git a/updatestatic.sh b/updatestatic.sh old mode 100644 new mode 100755 index 559beee..c577bcf --- a/updatestatic.sh +++ b/updatestatic.sh @@ -1,7 +1,10 @@ #!/usr/bin/zsh +cp -rv /var/www/eoa /home/kthoden/backups/eoa_$(date -I) sudo rsync -Pazy /home/kthoden/static/eoa/eoa2-production.mpiwg-berlin.mpg.de:9005/ /var/www/eoa/html +cp -rv /var/www/eos /home/kthoden/backups/eos_$(date -I) sudo rsync -Pazy --exclude index-bak.html --exclude *.pdf.bak /home/kthoden/static/eos/eoa2-production.mpiwg-berlin.mpg.de:9010/ /var/www/eos/html +cp -rv /var/www/mprl /home/kthoden/backups/mprl_$(date -I) sudo rsync -Pazy --exclude index-bak.html --exclude *.pdf.bak /home/kthoden/static/mprl/eoa2-production.mpiwg-berlin.mpg.de:9015/ /var/www/mprl/html echo Finito