How to clone a homeserver drive?
-
Can I clone my homeserver drive the same way I do with my Windows machines using Macrium Reflect? If not, what's the easiest way to clone the drive without having to reinstall the server/apps?
Goal: to replace the drive with a larger capacity (I know that I will need to manually adjust the partition size; went thru the process with my VPS).
-
-
@humptydumpty if you need a bit more gui (altough
dd
is really really easy to use) then you could look at https://clonezilla.org/. -
@fbartels perfect! I was looking into dd and setting up/restoring Cloudron would have been easier for me. Also, I found out that Macrium doesn’t support LVM only GPT and MBR. Clonezilla supports LVM2. I know I’m using LVM but unsure which version, gotta find out first. Thanks for the help!
-
@fbartels said in How to clone a homeserver drive?:
dd
is the standard tool for these kind of cases. For it to work you should boot your server from some live medium (like a usb stick) and make sure that the volume is not mounted at while doing the copy.Wasn’t it that dd doesn’t really work well with drives of different sizes?