Server : rebuilt

Tuesday, September 26, 2023 at 11:53 AM

Yesterday, I rebooted my server and it wouldn't start anymore.

I had to rebuild it from scratch and apply my backup.

(I made a backup right before rebooting, as I always do).

I went from a 4 TB drive to a 8 TB drive.

I will spend the next few days making sure that everything works.

My various websites should be working.

The Plan :

- I installed Ubuntu Server 22.04.
- I made a copy of the original /etc/ folder.
- I rsync'd the /etc/ folder from my backup 4 TB drive to my new 8 TB drive.
- I overwrote /etc/fstab with the one that was installed.
- I also rsync'd my /home/ and /var/www/ folders.

I am now in the process of reinstalling everything.

Once I am done, I will put the new 8 TB backup drive into my server and make a new backup on it.

(I have two drives in my server : a "main" one and a "backup" one. When one goes bad, I replace it.)

Name
Password

No need to register, just enter the same name and password every time.