LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-21-2016, 02:36 AM   #1
mudasir.irfan
LQ Newbie
 
Registered: Apr 2016
Posts: 1

Rep: Reputation: Disabled
How to clone or create image of running system with RHEL7


Dear All,
I have a laptop installed redhat 7 on it, I want to create backup (clone, image file) etc. If my system corrupt then simply I restore that image.
Kindly help me in this regard.
 
Old 04-21-2016, 05:10 AM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch
Posts: 1,593

Rep: Reputation: 97
Hya,

Using dd may be good idea.

cheers
 
Old 04-21-2016, 07:27 AM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,600

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
Quote:
Originally Posted by mudasir.irfan View Post
Dear All,
I have a laptop installed redhat 7 on it, I want to create backup (clone, image file) etc. If my system corrupt then simply I restore that image.
Kindly help me in this regard.
It sort of depends on what you really need... and the size of the system disk.

Making an image of 4TB disk requires another disk... and a LOT of time.

Frequently, it is faster to save the list of installed packages, and the configurations used. Then restore a base system... and reinstall the list, and restore configuration files.

If the system disk is only 20GB, maybe an image is enough.

for me, I just make tar file backups. That allows me to adjust partitioning if necessary, and then restore the backup. done. MUCH smaller, and it is possible to do it on-line (though using an otherwise idle system at the time of the backup). The only thing that has to be restored is the MBR.

The problem with dd created images is that it also copies all the unused blocks... and if the system has been in use for a while, those unused blocks will have relatively random junk values - making compression rather poor.

Last edited by jpollard; 04-21-2016 at 07:29 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between clone and create an image shangshangw Ubuntu 1 04-21-2013 01:02 AM
can you Create a live cd clone of installed system? OriginalCrazyone Linux - Newbie 2 11-15-2012 08:46 PM
[SOLVED] Create ISO image of running Ubuntu system ken poy Linux - General 1 02-26-2011 11:23 AM
System reboot stop at kernel panic - after restore from clone image beeth2006 Linux - Server 4 09-18-2008 03:24 PM
Create RedHat gold image help (clone my server) wadevondoom Linux - Enterprise 4 05-23-2007 10:10 PM


All times are GMT -5. The time now is 11:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration