Difference between revisions of "Clonezilla"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 19: | 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
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[edit]
- /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[edit]
Advertising: