Difference between revisions of "Clonezilla"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 1: | Line 1: | ||
[[wikipedia:Clonezilla|Clonezilla]] is a free disk cloning, disk imaging, data recovery, and deployment computer program written in [[perl]] and [[bash]] and use [[partclone]] software to save and restore used blocks on a partition. | [[wikipedia:Clonezilla|Clonezilla]] is a free disk cloning, disk imaging, data recovery, and deployment computer program written in [[perl]] and [[bash]] and use [[partclone]] software to save and restore used blocks on a partition. | ||
− | + | == Clonezilla Live == | |
Clonezilla live offers an interactive interface for restoring and backup or you can just execute commands with appropriate parameters. Some binaries are: | Clonezilla live offers an interactive interface for restoring and backup or you can just execute commands with appropriate parameters. Some binaries are: | ||
*<code>ocs-sr</code> or <code>ocs-sr -x</code> for interactive mode | *<code>ocs-sr</code> or <code>ocs-sr -x</code> for interactive mode | ||
Line 14: | Line 14: | ||
*<code>ocs-live</code> | *<code>ocs-live</code> | ||
− | |||
== Activities == | == Activities == |
Revision as of 18:32, 23 August 2020
Clonezilla is a free disk cloning, disk imaging, data recovery, and deployment computer program written in perl and bash and use partclone software to save and restore used blocks on a partition.
Clonezilla Live
Clonezilla live offers an interactive interface for restoring and backup or you can just execute commands with appropriate parameters. Some binaries are:
ocs-sr
orocs-sr -x
for interactive mode
/usr/sbin/ocs-sr -g auto -e1 auto e2 -r -j2 -c -scr -p choose restoredisk RESTORE_SOURCE_OMG DEVICE
/usr/sbin/ocs-sr -g auto -e1 auto e2 -r -j2 -c -scr -p choose restoredisk 2019-09-10-14-img nvme0n1
- -g == --grub-install
- -e1 == --change-geometry NTFS-BOOT-PARTITION
- -e2 == --load-geometry-from-edd
- -r == --resize partition
- -scr == ---skip-check-restorable
- -p == --postaction (default reboot)
ocs-live
Activities
- /Create an image of your systems using Clonezilla-liveCD on an external USB disk and restore it to a new systems/
- Create a custom script based on https://github.com/stevenshiau/clonezilla/blob/master/samples/custom-ocs example and modified it to make an unattended restore.
- Read unattended mode documentation: https://clonezilla.org/fine-print-live-doc.php?path=clonezilla-live/doc/99_Misc/00_live-boot-parameters.doc, for live USB modify:
syslinux/syslinux.cfg
- Read
ocs-sr
command line examples https://clonezilla.org/advanced/reserved-word-ocs-sr.php and code https://github.com/stevenshiau/clonezilla/blob/master/sbin/ocs-sr
See also
Advertising: