LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-31-2017, 11:11 AM   #1
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Arrow How to Clone an Encrypted Disk Image with Clonezilla


Hi,

Helpful article for those that may wish to clone an image.

How to Clone an Encrypted Disk Image with Clonezilla;
Quote:
Clonezilla is an Open Source disk/partition imaging tool based mainly on partclone utility. The Clonezilla image is a tool that can be very useful in case of full system disk backups or in restoring damaged partitions. Clonezilla runs on top a driven command line wizard and can clone the data blocks of a hard drive directly from one disk to other disk or create images for disks/partitions to a locally attached hard disk or a mounted network resource via SMB, NFS or SSH protocols. All cloned images can be encrypted and centralized on an external drive (USB device, HDD) or in a network location specifically designed for this purpose, such as a Network Attached Storage. Using this method you can easily save your day in case of a critical physical drive failure of a server or a desktop. You just plug-in the brand new hard disk, boot into Clonezilla and start restoring the image from the saved location.
In this guide, we’ll discuss how to image or clone the hard drive of a CentOS 7 server used as a DHCP and DNS server in production (DNS and DHCP data don’t change that often on the server). The cloned image will also be encrypted on-fly during the cloning process. A passphrase will be used to encrypt and decrypt the image. In case of losing or forgetting the passphrase, the imaged data will be forever lost.
Good article with loads of helpful information.

Hope this helps.
Have fun & enjoy!
 
Old 08-31-2017, 11:46 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
I use Clonezilla myself and also have an encrypted 'home' partition. I find it to be very good cloning software and has saved me quite a few times. I found it to be the most reliable solution for cloning disks (software that I've used myself, that is).

Thanks for your thread, love your work!!
 
Old 08-31-2017, 02:36 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,925

Original Poster
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member response

Hi,

Your Welcome!

Just trying to provide useful information for fellow LQ members.

Have fun & enjoy!

 
Old 08-31-2017, 09:42 PM   #4
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,780

Rep: Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214
A couple of comments on that article -
  1. Since clonezilla can't see the filesystem structure inside that encrypted disk, it can't do its magic of copying only used space and ignoring the free space. The resulting action is the same as what you would get by just using dd.
  2. The point of encrypting the copy of an already encrypted filesystem escapes me. Perhaps, despite the article's title, the whole disk was not actually encrypted.
 
  


Reply

Tags
backup, clone image, clonezilla, disk image



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Clonezilla can't find disk image cmplet-noobie Linux - Software 15 10-08-2016 09:02 PM
LXer: Backup or Clone a Disk in Linux by using Clonezilla LXer Syndicated Linux News 0 05-17-2016 04:32 PM
How to clone an image on kvm using clonezilla sindh Linux - Newbie 7 09-04-2014 04:03 PM
Clonezilla Disk Clone Problem ajkannan83 Linux - General 2 05-23-2014 06:25 PM
clonezilla clone disk to image, when restore from image to destination hdd problem. hocheetiong Linux - Newbie 3 05-06-2008 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration