I use clonezilla to regularly backup my test-machine and later switch between various images.
I have two harddrives, one for the OS and another one for the images.
Now I want to preseed some parts of the menu (image storage location, partitions to backup, …) and others I want to ask interactively (image name, …). Can this be done? What is the way to go here?
I am using clonezila on USB stick.
regards,
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've already seen this page, but I don't know which option to use, to set the image storage location and partitions to backup (as I don't want the batch mode)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks Steven.
I hoped that there would be an easier way to achieve this. For now I won't try to adapt the scripts as this is currently too much effort.
best regards,
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Similar, the ocs-sr command in green allows you to specify "hda1 hda2 hda2" as the partitions to save… For more info, try "/opt/drbl/sbin/ocs-sr -help".
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
oh. sorry for the late reply - didn't look into the forum the last days.
I want to backup always the same partitions of one local harddisc to an image on another local harddisc (lets call it an "image harddisc").
As I will have a few of those images around, I would like to give useful names to them "windowsXp FeatureX", "windows 7 featureY", …
I will always backup and restore the same partitions using the same directory as image location.
As far as I have understood I will have to use ocs_live_run using a custom script that asks for the image name.
I will maybe look into that some time, but currently my time is limited :)
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Martin,
Yes, you have to use ocs_live_run using a custom script that asks for the image name. You can refer to http://clonezilla.org/clonezilla-live/doc/
and the example files "/opt/drbl/samples/custom-ocs*" in Clonezilla live.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I use clonezilla to regularly backup my test-machine and later switch between various images.
I have two harddrives, one for the OS and another one for the images.
Now I want to preseed some parts of the menu (image storage location, partitions to backup, …) and others I want to ask interactively (image name, …). Can this be done? What is the way to go here?
I am using clonezila on USB stick.
regards,
Martin
Please refer to:
http://clonezilla.org/clonezilla-live/doc/fine-print.php?path=./99_Misc/00_live-initramfs-manual.doc#00_live-initramfs-manual.doc
You can preseed them with boot parameters.
Steven.
I've already seen this page, but I don't know which option to use, to set the image storage location and partitions to backup (as I don't want the batch mode)
In that case, I think you might refer to this:
http://clonezilla.org/clonezilla-live/customized-clonezilla-live.php
BTW, more sample files are available: /opt/drbl/samples/custom-ocs*.
Steven.
thanks Steven.
I hoped that there would be an easier way to achieve this. For now I won't try to adapt the scripts as this is currently too much effort.
best regards,
Martin
For "to set the image storage location":
it really depends. Do you want local partition, sshfs, samba, or nfs?
"partitions to backup" -> this can be assigned in the ocs_live_run boot variable. As shown in this screenshot:
http://clonezilla.org/clonezilla-live/doc/01_Save_disk_image/images/ocs-10-img-save-command-prompt.png
Similar, the ocs-sr command in green allows you to specify "hda1 hda2 hda2" as the partitions to save… For more info, try "/opt/drbl/sbin/ocs-sr -help".
Steven.
oh. sorry for the late reply - didn't look into the forum the last days.
I want to backup always the same partitions of one local harddisc to an image on another local harddisc (lets call it an "image harddisc").
As I will have a few of those images around, I would like to give useful names to them "windowsXp FeatureX", "windows 7 featureY", …
I will always backup and restore the same partitions using the same directory as image location.
As far as I have understood I will have to use ocs_live_run using a custom script that asks for the image name.
I will maybe look into that some time, but currently my time is limited :)
Martin
Martin,
Yes, you have to use ocs_live_run using a custom script that asks for the image name. You can refer to
http://clonezilla.org/clonezilla-live/doc/
and the example files "/opt/drbl/samples/custom-ocs*" in Clonezilla live.
Steven.