Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
#NOTE: doesnt matter the .env
NEW$ cd /opt/myaegee
NEW$ make start
NEW$ docker rm $(docker stop $(docker ps -aq))

Setup: trying the backups of the nightly on the new one

  •  
Code Block

Migration: stop on OLD

  •  
Code Block

Backup: pictures (with basically a restore because we

...

started the setup first)

  •  
Code Block
OLD$ scp -R /var/lib/docker/volumes/myaegee_events-media/ prod:/home/grasshopper/myaegee_events-media
NEW$ sudo cp -R /home/grasshopper/myaegee_events-media/ /var/lib/docker/volumes/myaegee_events-media/

OLD$ scp -R /var/lib/docker/volumes/myaegee_statutory-media/ prod:/home/grasshopper/myaegee_statutory-media
NEW$ sudo cp -R /home/grasshopper/myaegee_statutory-media/ /var/lib/docker/volumes/myaegee_statutory-media/

OLD$ scp -R /var/lib/docker/volumes/myaegee_summeruniversity-media/ prod:/home/grasshopper/myaegee_summeruniversity-media
NEW$ sudo cp -R /home/grasshopper/myaegee_summeruniversity-media/ /var/lib/docker/volumes/myaegee_summeruniversity-media/

...

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

Bring it back up: reassign IP in azure

  •  
Code Block