LinuxQuestions.org
Register a domain and help support LQ
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 08-16-2006, 05:29 AM   #1
billamn
LQ Newbie
 
Registered: Aug 2006
Distribution: Redhat 8
Posts: 14

Rep: Reputation: 0
Backup whole Redhat system


I want to help a friend who has a small network with some version of Redhat running on a main computer as the internet gateway. He knows virtually nothing about linux (I have some knowledge) so before I touch anything, I want to protect myself by backing up everything on the Redhat server.

I intend to make rescue disks... then login as root and type "tar -cfv backup.tar /" then move this file to another hard disk for storage, also burn it to CDs or DVD.

Is this the right way to go about it?

Thanks for any help and advice.
 
Old 08-16-2006, 05:51 AM   #2
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Ubuntu
Posts: 389

Rep: Reputation: 30
i think that is possible. alternatively you can,

1. put second harddisk on the server, boot using rescue disk or any linux cd & copy using dd command (dd if=/dev/xxx of=/dev/yyy) - I used to use this method

2. Use ghost for linux to copy hard disk image to another harddisk

3. Norton Ghost :-)
 
Old 08-16-2006, 06:17 AM   #3
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
If you use tar then you will need to split it to fit on multiple CDs/DVDs i would also suggest gunzipping it aswell, not sure how much space it would save but the more the better right?
 
Old 08-16-2006, 06:19 AM   #4
billamn
LQ Newbie
 
Registered: Aug 2006
Distribution: Redhat 8
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by xgreen
i think that is possible. alternatively you can,

1. put second harddisk on the server, boot using rescue disk or any linux cd & copy using dd command (dd if=/dev/xxx of=/dev/yyy) - I used to use this method

2. Use ghost for linux to copy hard disk image to another harddisk

3. Norton Ghost :-)
I'm hesitant to do anything invasive like shut down the linux box and add another hard disk to it.

So the Norton Ghost option looks appealing assuming it's done over the network from a Windows computer where the image would be stored. Is it easy to do?
 
Old 08-16-2006, 07:29 AM   #5
billamn
LQ Newbie
 
Registered: Aug 2006
Distribution: Redhat 8
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ethics
If you use tar then you will need to split it to fit on multiple CDs/DVDs i would also suggest gunzipping it aswell, not sure how much space it would save but the more the better right?
Say the total size to tar and split is 1Gig, then there would be 10x 100Mb files. Is it possible for tar to prompt me with a Continue(y/n) before each 100MB file is to be created? I'm afraid to overrun the hard disk if it is small or almost full.

Last edited by billamn; 08-16-2006 at 07:31 AM.
 
Old 08-16-2006, 07:36 AM   #6
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Ubuntu
Posts: 389

Rep: Reputation: 30
just curious, what exactly you want to do with that server? you may backup first the files that you are going to touch...
 
Old 08-16-2006, 07:42 AM   #7
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Quote:
Originally Posted by billamn
Say the total size to tar and split is 1Gig, then there would be 10x 100Mb files. Is it possible for tar to prompt me with a Continue(y/n) before each 100MB file is to be created? I'm afraid to overrun the hard disk if it is small or almost full.
Code:
man ta
gives you its manual page, you can look up the options there. As for filling the harddrive...

you're backing up the whole of /, so how big is that? you then need a partition (you can use / since you'll be copying the files first right?)/other drive/something else that is big enough
Code:
df -h
will show what you need. As long as wherever your creating the tars shows more FREE space than the / then it's ok...
 
Old 08-17-2006, 02:26 AM   #8
billamn
LQ Newbie
 
Registered: Aug 2006
Distribution: Redhat 8
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks guys. Everything worked out. I'd like to know how to make an image of it with Norton Ghost sometime in the near future.
 
  


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
How to backup system seangg Linux - Software 5 06-16-2008 12:56 PM
RedHat System Backup steps? heeru Linux - Software 4 04-27-2006 02:04 AM
using a system backup Shavo Linux - Newbie 1 06-22-2005 05:43 AM
Backup of the system enemorales Linux - Newbie 2 01-05-2005 08:08 AM
System Backup tangle Linux - General 2 06-03-2002 11:43 AM


All times are GMT -5. The time now is 10:36 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