Newbie Question - How to Backup Linux Redhat |
![]() ![]() |
Newbie Question - How to Backup Linux Redhat |
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 |
|
|
Jul 9 2009, 11:48 AM
Post
#2
|
|
![]() Trusted Tech 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.). |
|
|
Jul 9 2009, 12:43 PM
Post
#3
|
|
![]() Geek in Training 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 |
|
|
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!
|
|
|
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 The Backup su 'tar czf - /home >/tmp/bkup.yyyymmdd' The Restore cd /home ; su 'tar xvf /tmp/bkup.yyyymmdd' |
|
|
![]() ![]() |
Similar Topics
| Topic Title | Replies / Views | Topic Information | |||||
|---|---|---|---|---|---|---|---|
![]() |
7 / 609 | 13th November 2006 - 01:25 PM JayBern started - last by Johanna |
|||||
![]() |
4 / 1,100 | 10th March 2007 - 08:41 AM valeria_s started - last by sharlpero |
|||||
![]() |
2 / 489 | 19th January 2008 - 09:09 AM DezB started - last by DezB |
|||||
![]() |
0 / 634 | 13th February 2008 - 07:19 AM tal_techy started - last by tal_techy |
|||||
|
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