Hello, and first of all may I say this is my first post here as a new Debian user after many years on and off learning about open source servers on FreeBSD and Ubuntu. This post may not be in the right place and if so then please point me there - I am still learning my way around this site.
I have a 250G SSD drive running Debian 12 as a headless server through ssh. It's mainly for code development and heavy/batch computational work, but also as a file server. I think the SSD may not be in the best shape so to be safe I would like to clone it to a 250G partition on the hard drive in the same box. Can I make a partition of the same size and literally clone it with all permissions, bootable status and everything else in place so that it can take over with no grief if the worst happens, and if so which tools to employ? I am used to rsync but realise there might be something more specific for the task(s).
I should say that last time I tried fdsik and cfdisk to have a look at the disks they both hung, which I wasn't expecting on Debian stable but perhaps that is actually because the SSD is not in great shape? I am not expert in tools like that having relied more on GUI disk partitioners in the past, and being spoilt on my Mac desktop by easy tools.
TIA
Michael
I have a 250G SSD drive running Debian 12 as a headless server through ssh. It's mainly for code development and heavy/batch computational work, but also as a file server. I think the SSD may not be in the best shape so to be safe I would like to clone it to a 250G partition on the hard drive in the same box. Can I make a partition of the same size and literally clone it with all permissions, bootable status and everything else in place so that it can take over with no grief if the worst happens, and if so which tools to employ? I am used to rsync but realise there might be something more specific for the task(s).
I should say that last time I tried fdsik and cfdisk to have a look at the disks they both hung, which I wasn't expecting on Debian stable but perhaps that is actually because the SSD is not in great shape? I am not expert in tools like that having relied more on GUI disk partitioners in the past, and being spoilt on my Mac desktop by easy tools.
TIA
Michael
Statistics: Posted by hopster — 2024-04-06 18:31 — Replies 0 — Views 1