EC2 server recovery
Revision as of 23:16, 9 January 2025 by Kpe (talk | contribs) (Created page with " === No SSL connections possible === # Make a snapshot of the running server # Make a volume from the snap shot # Create a new server # Attatch the volume to machine /dev/sdf # Connect to new server ## Install TS and application ## Stop webserver and database ## mkdir /mnt/oldroot ## sudo mount /dev/nvme1n1p1 /mnt/oldroot ## sudo rm -r /mnt/sda/* ## sudo cp -r /mnt/oldroot/usr/tempusserva/sda/* /mnt/sda/")
No SSL connections possible
- Make a snapshot of the running server
- Make a volume from the snap shot
- Create a new server
- Attatch the volume to machine /dev/sdf
- Connect to new server
- Install TS and application
- Stop webserver and database
- mkdir /mnt/oldroot
- sudo mount /dev/nvme1n1p1 /mnt/oldroot
- sudo rm -r /mnt/sda/*
- sudo cp -r /mnt/oldroot/usr/tempusserva/sda/* /mnt/sda/