I'm using Clonezilla 3.35.2-3 installed on Ubuntu 21.10. I just want to
backup/restore some data on some microSD cards while doing something else
at the same time.
Before running Clonezilla, I have a swapfile in "/" root. When I select
restoredisk or savedisk, the swapfile is disabled.
Why does running Clonezilla on my Ubuntu environment disable its swapfile?
Is there a way to prevent this behavior?
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Clonezilla is used blocks imaging/restoring tool. It's the so-called cold backup. Hence the file system has to be unmounted. If the swapfile is enabled, the file system can not be unmounted. That's the reason why Clonezilla has to disable the swap and LVM for GNU/Linux.
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@steven_shiau Thanks for you reply.
Please note that:
* I'm not using Clonezilla Live, I'm using it installed on a Ubuntu desktop.
* I'm not cloning root disk/partition, as it is "busy".
* I'm doing backup/restore of some Raspberry Pi cards.
Also, it's possible to start restore/backup and re-enable swapfile while it's still copying.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using Clonezilla 3.35.2-3 installed on Ubuntu 21.10. I just want to
backup/restore some data on some microSD cards while doing something else
at the same time.
Before running Clonezilla, I have a swapfile in "/" root. When I select
restoredisk or savedisk, the swapfile is disabled.
Why does running Clonezilla on my Ubuntu environment disable its swapfile?
Is there a way to prevent this behavior?
Thanks!
Clonezilla is used blocks imaging/restoring tool. It's the so-called cold backup. Hence the file system has to be unmounted. If the swapfile is enabled, the file system can not be unmounted. That's the reason why Clonezilla has to disable the swap and LVM for GNU/Linux.
Steven
@steven_shiau Thanks for you reply.
Please note that: * I'm not using Clonezilla Live, I'm using it installed on a Ubuntu desktop. * I'm not cloning root disk/partition, as it is "busy". * I'm doing backup/restore of some Raspberry Pi cards.
Also, it's possible to start restore/backup and re-enable swapfile while it's still copying.
Thanks for your feedback.
OK, got it. Definitely this can be improved by only disabling the related partitions.
Steven