Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

First of all, decision: do we migrate and then old points to new, or we make new point to old, change dns, and migrate?

→ we migrate then change dns

Backups: biggest data is the images DB. script is complete (docker-clone-volumes.sh, or native) – first stop myaegee

about stopping my aegee:

  • static maintenance page

  • Attention!!

    • people will be applying for SUs

    • and online question statutory

    • AND AEGEE.org/vote

  • Time:

    • (stop the system), start maintenance page

    • backups 10' to say the most

    • file transfer time (should be fast because internal network)

    • restoring backups 10'

    • validation (HOW?)

      • read logs like crazy

      • sampling images

      • normal login and check around

    • startup docker on new

    • run the ansible on old → becomes “reassign IP from azure cloud”

things to not forget:

  • run it once to create folder files etc

  • .env file as part of the backup

  • certificates: we can decide to migrate them (just in case) but it should be simpler to make traefik regenerate them

Commands

Backup: images (with basically a restore because we start the setup first)

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/

Backup: things

  • No labels