Need a geek? Geeks to Go offers free, quality tech support -- in terms anyone can understand. Volunteers are waiting to help, friendly, technology experts who have knowledge to share, and enjoy helping others. Feel free to browse the site as a guest. However, you must log in to reply to existing topics, or to start a new topic of your own. Other benefits of joining include richer forum features, and removal of all advertising. Learn more in our Welcome Guide Infected? Malware and Spyware Cleaning Guide. What are you waiting for? Click here to join for free today!
 
Reply to this topicStart new topic
Newbie Question - How to Backup Linux Redhat
ChevyManUSA
post Jul 9 2009, 10:56 AM
Post #1


Member
**
Posts: 36
From: Phoenix, AZ
OS: Windows XP Professional x64



I did a quick search on the forums. Found three results and didn't find any thing help.
I am Windows Guy and have never really touched Linux. I have a friend who's disk drive is failing and needs to backup there redhat box. The most experience I have in Linux is a botched attempt to install ubuntu on a system.

I would really appreciate any help you guys can offer. I know you guys don't know the exact setup of hardware/software the box is running (I will provide as I can). I would just appreciate some general instructions on how to get off the ground and running on this (so to speak).

Thank you in advance for your time and advice.

-Chevyman
Go to the top of the page
 
+Quote Post
Kemasa
post Jul 9 2009, 11:48 AM
Post #2


Trusted Tech
Group Icon
Posts: 1,075
From: Plateau
OS: Linux, DSL OS,Win95, 98, XP



In part, it depends on the type of filesystem that is used. In most cases you can use dump/restore. Some filesystems can not be backed up with the normal dump command (ReiserFS, for example).

If you have the same disk, you can use "dd" to copy all of the data, but this will typically take a long time since it copies the whole disk, regardless of how much data is actually used.

If you install a new disk and partition it, you can use dump and pipe it to restore to duplicate the disk. Something like:

"dump 0f - / | restore -rf -"

when the current directory is in the new partition.

You can also dump it to a file on a single partition, to be restored later:

dump 0f /DIR/root.dump /


It is also possible to use rdist, rsync and/or tar to copy all the files, but dump/restore retains the most information (device nodes, hard links, etc.).
Go to the top of the page
 
+Quote Post
hawklord
post Jul 9 2009, 12:43 PM
Post #3


Geek in Training
Group Icon
Posts: 369
From: somewhere, out there
OS: tripple boot mdv2008.1, mdv2010 and xp



an option for backing up is partimage, you can create a complete image and transfer it onto another drive,
its a lot quicker than doing a re-install

http://www.partimage.org/Main_Page
Go to the top of the page
 
+Quote Post
ChevyManUSA
post Jul 9 2009, 07:04 PM
Post #4


Member
**
Posts: 36
From: Phoenix, AZ
OS: Windows XP Professional x64



Thanks for the information and replies!
Go to the top of the page
 
+Quote Post
jobeard
post Sep 5 2009, 11:24 AM
Post #5


Geek in Training
**
Posts: 21
From: So. Calif.
OS: xp/pro + osx 10.3, Rh 6/7



Just like a PC, there's a difference between Backing Up Users and System Level Backups.

As noted above, the filesystem type can be an issue.
The filesystem independent backup for User's data is the TAR program with compression.
Then if needed, you can boldly reinstall the Linux and recover the user files smile.gif

The Backup
su 'tar czf - /home >/tmp/bkup.yyyymmdd'

Create a compressed(z) archive to standard out (hence the redirected output to the bkup file in /tmp
and capture the /home directory. The ROOT login is required to record the UID and file perms of all files


The Restore
cd /home ; su 'tar xvf /tmp/bkup.yyyymmdd'

Position the cwd to the directory to receive the files and use ROOT to extract the contents of the archive.

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies / Views Topic Information
No New Posts   7 / 609 13th November 2006 - 01:25 PM
JayBern started - last by Johanna
No New Posts   4 / 1,100 10th March 2007 - 08:41 AM
valeria_s started - last by sharlpero
No New Posts   2 / 489 19th January 2008 - 09:09 AM
DezB started - last by DezB
No New Posts 0 / 634 13th February 2008 - 07:19 AM
tal_techy started - last by tal_techy

RSS Time is now: 21st November 2009 - 03:47 AM

Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm to your computer. However, we do not guarantee that they are accurate and they are to be used at your own risk. All trademarks mentioned on this page are the property of their respective owners.

© Geeks to Go, Inc. | All Rights Reserved | Privacy Policy | Advertising