Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kthoden committed Mar 18, 2020
2 parents e8d07e7 + cc29dbe commit bc54a30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Empty file modified pulldjango.sh
100644 → 100755
Empty file.
7 changes: 5 additions & 2 deletions updatestatic.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -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
sudo rsync -Pazy --exclude index-bak.html /home/kthoden/static/eos/eoa2-production.mpiwg-berlin.mpg.de:9010/ /var/www/eos/html
sudo rsync -Pazy --exclude index-bak.html /home/kthoden/static/mprl/eoa2-production.mpiwg-berlin.mpg.de:9015/ /var/www/mprl/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

0 comments on commit bc54a30

Please sign in to comment.