2023-07-11, 12:53 PM
(This post was last modified: 2023-07-11, 12:55 PM by Host-in-the-Shell. Edited 3 times in total.)
Personally, I would consider using Clonezilla. Recently I had to clone my server from a laptop to a dedicated computer I built, and the disk cloning was simply flawless. All I had to do was assign the old IP to the new pc and change the name of the network interface; every single one of my services were preserved intact and required no manual intervention: jellyfin, cockpit, qbittorrent-nox, pi-hole... same for any system configuration and data.
The only caveat is that you'll have to make a bootable Clonezilla Live media and use it in your pc with the old HDD to clone it, as it needs the disks to be unmounted and not in use before they are cloned. Of course, you can create one with any bootable device such as a USB stick. If you have an Arch installation media laying around, it comes with Clonezilla already installed in it. There's extensive documentation available on almost everything you can do.
The only caveat is that you'll have to make a bootable Clonezilla Live media and use it in your pc with the old HDD to clone it, as it needs the disks to be unmounted and not in use before they are cloned. Of course, you can create one with any bootable device such as a USB stick. If you have an Arch installation media laying around, it comes with Clonezilla already installed in it. There's extensive documentation available on almost everything you can do.
Server specs => OS: Debian 12 | GPU: Arc A380 | CPU: Ryzen 5 5600X | 64GB RAM | 56TB