...
Code Block |
---|
OLD$ vim ~/.ssh/config add prod with IP 51.144.111.184 |
Setup: startup the thing once
Code Block |
---|
#NOTE: doesnt matter the .env
NEW$ cd /opt/myaegee
NEW$ make start |
Backup: pictures (with basically a restore because we start the setup first)
...
Code Block |
---|
OLD$ cd /opt/myaegee OLD$ make backup OLD$ scp -R IDK prod:IDK |
Restore: databases
Code Block |
---|
NEW$ cd /opt/myaegee
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 |