Add scripts for updating and backing up data
This commit is contained in:
4
scripts/sync.sh
Normal file
4
scripts/sync.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
export $(grep -v '^#' .env | xargs -d '\n')
|
||||
rsync -raz -e "ssh -p ${STATIC_SERVER_PORT}" cells ${STATIC_SERVER_USER}@${STATIC_SERVER_HOST}:/srv/
|
||||
rsync -raz -e "ssh -p ${STATIC_SERVER_PORT}" mods ${STATIC_SERVER_USER}@${STATIC_SERVER_HOST}:/srv/
|
||||
Reference in New Issue
Block a user