Make sure that you need to modify your own src_part and tgt_part. Ocs-sr is one of Clonezilla's command which enables you to save or restore a partition or whole disk. Ocs-sr -q2 -j2 -z1p -p command saveparts "$_filename" "$src_part" Most important part of this script is following. The backup image will be stored in /clone of sda1Īfter clonezilla is started, this script will be excuted. The actual size of image file is about 3~4G. What I want to do is to make clone image of this partition, and save this on /dev/sda1. Ubuntu server 12.04, lubuntu-desktop, all server daemons are installed in /dev/sdb1.
Or just type "sudo apt-get install isomaster" in terminal.įilesystem Size Used Avail Use% Mounted on you can install in on Ubuntu Software Center.įind and click install in Ubuntu Software Center. Stable releases 1.2.12-67 is used in this tutorial Unlike the other method, this does not require any key input, when everything is finished, it will be rebooted automatically.
This can be used as a snapshot, so you can restore your server if there is any problem. If you startup your system with this result iso file, you will get an compressed harddisk backup image in the target partition you want.
Clonezilla iso image download how to#
This tutorial explains how to create customized clonezilla iso image.Ĭlonezilla is an open source disk cloning tool, I assume you already know enough about clonezilla. This is part-1 of " Nightly clonezilla backup imaging for ubuntu server".