Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 15 lines (11 sloc) 665 Bytes
#!/usr/bin/zsh
EOA_STATIC_DIR=/home/eoauser/static
MAKE_STATIC_PY=/home/eoauser/src/eoa_makestatic/makestatic.py
EOA_SRC_DIR=/home/eoauser/src
echo Backing up with rsnapshot
rsnapshot -c /home/eoauser/etc/rsnapshot.conf alpha
echo Sync the new pages
sudo rsync -Pazy $EOA_STATIC_DIR/eoa/eoa2-production.mpiwg-berlin.mpg.de:9005/ /var/www/eoa/html
sudo rsync -Pazy --exclude-from=/home/eoauser/updatestaticexcludefile $EOA_STATIC_DIR/eos/eoa2-production.mpiwg-berlin.mpg.de:9010/ /var/www/eos/html
sudo rsync -Pazy --exclude-from=/home/eoauser/updatestaticexcludefile $EOA_STATIC_DIR/mprl/eoa2-production.mpiwg-berlin.mpg.de:9015/ /var/www/mprl/html
echo Finito