EC2 server recovery

From TS NoCode wiki
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/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

No SSL connections possible

  1. Make a snapshot of the running server
  2. Make a volume from the snap shot
  3. Create a new server
  4. Attatch the volume to machine /dev/sdf
  5. Connect to new server
    1. Install TS and application
    2. Stop webserver and database
    3. mkdir /mnt/oldroot
    4. sudo mount /dev/nvme1n1p1 /mnt/oldroot
    5. sudo rm -r /mnt/sda/*
    6. sudo cp -r /mnt/oldroot/usr/tempusserva/sda/* /mnt/sda/