Difference between revisions of "Clonezilla"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
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 ==
 
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 ==
Line 20: Line 19:
 
# 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.
 
# 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: <code>syslinux/syslinux.cfg</code>
 
# 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: <code>syslinux/syslinux.cfg</code>
# Read <code>ocs-sr</code> command line examples https://clonezilla.org/advanced/reserved-word-ocs-sr.php and code https://github.com/stevenshiau/clonezilla/blob/master/sbin/ocs-sr
+
# Read <code>[[ocs-sr]]</code> command line examples https://clonezilla.org/advanced/reserved-word-ocs-sr.php and code https://github.com/stevenshiau/clonezilla/blob/master/sbin/ocs-sr
 
[[Category:Backup]]
 
[[Category:Backup]]
 
  
 
== See also ==
 
== See also ==
 
* [[Linux server administration/Backup and Restore]]
 
* [[Linux server administration/Backup and Restore]]
* [[virt-p2v-make-disk]]
+
* <code>[[virt-p2v-make-disk]]</code>
 +
* {{Clonezilla}}
 +
 
 +
 
 +
[[Category:Bakups]]

Latest revision as of 11:09, 12 December 2023

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[edit]

Clonezilla live offers an interactive interface for restoring and backup or you can just execute commands with appropriate parameters. Some binaries are:

  • ocs-sr or ocs-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[edit]

  1. /Create an image of your systems using Clonezilla-liveCD on an external USB disk and restore it to a new systems/
  2. 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.
  3. 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
  4. 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[edit]

Advertising: