You are not logged in.
Hi,
i would like to make a ghost image of the OS using dd command.
Source is an SSD drive and destination is an external HDD drive.
I tried Clonezilla from USB but it fails at the moment it starts cloning. Logs says just service stopped.
Do you know if i can do it from terminal when running OS? will it work ?
i was thinking maybe is better if i perform the dd from Live USB OS.
What would you reccomend to use to clone Bunsenlabs?
Thanks
Offline
I'd use partclone for cloning partitions and dd or ddrescue for cloning entire drives. You can apply extra compression when using dd or ddrescue if you are archiving to files; partclone will compress for you [when backing up to files].
Any cloning should only take place when the respective partition or drive is NOT in use, that is without running OS to ensure data and general file system consistency. Otherwise, you might back up garbage. So, make sure to use a live OS. I recommend using GRML, a live environment specifically designed for sysadmins and administrative work that comes with all the batteries included: https://grml.org/. apparently they haven't had updates in a long time. Using a Debian or Ubuntu live medium would be best I think.
Offline
Thanks, very helpful!
Offline
I prefer to use rsync as it allows more flexibility than dd but it would require that the target drive be partitioned, formatted & mounted correctly beforehand and the bootloader would have to be re-configured afterwards.
Offline