How to clone a homeserver drive?
-
wrote on May 17, 2023, 1:28 AM last edited by
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).
-
wrote on May 17, 2023, 4:20 AM last edited by
Does Macrium work on Linux? Or bare metal?
-
App Devwrote on May 17, 2023, 6:10 AM last edited by fbartels May 17, 2023, 10:11 AM
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. -
dd
is my go to for this as well.A very very very long time ago, in my first job, I used to use Norton Ghost for this
It used to boot from a floppy.
-
wrote on May 17, 2023, 11:05 AM last edited by
-
@humptydumpty if you need a bit more gui (altough
dd
is really really easy to use) then you could look at https://clonezilla.org/. -
@humptydumpty if you need a bit more gui (altough
dd
is really really easy to use) then you could look at https://clonezilla.org/.wrote on May 17, 2023, 11:37 AM last edited by humptydumpty May 17, 2023, 11:40 AM@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!
-
@humptydumpty if you need a bit more gui (altough
dd
is really really easy to use) then you could look at https://clonezilla.org/. -
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.wrote on May 17, 2023, 4:46 PM last edited by@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?