...
Code Block |
---|
#NOTE: doesnt matter the .env NEW$ cd /opt/myaegeeMyAEGEE NEW$ make start NEW$ docker rm $(docker stop $(docker ps -aq)) |
...
Code Block |
---|
OLD$ scp /opt/myaegeeMyAEGEE/.env prod:/opt/myaegeeMyAEGEE/.env |
Backup: databases
Code Block |
---|
OLD$ cd /opt/myaegeeMyAEGEE OLD$ make backup OLD$ scp -R IDK prod:IDK |
Restore: databases
Code Block |
---|
NEW$ cd /opt/myaegeeMyAEGEE NEW$ vim scripts-server/restore.sh # To edit the DB names NEW$ #make sure the folders are in the proper place NEW$ ./scripts-server/restore.sh |
...