LinuxQuestions.org
Visit Jeremy's Blog.
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 09-26-2003, 03:55 PM   #1
byfaithalone
LQ Newbie
 
Registered: Sep 2003
Location: Little Rock, AR
Distribution: SUSE 8.2
Posts: 23

Rep: Reputation: 15
Use of Dump & Restore Pkg For Backup


I have a new 150GB hd that I would like to configure as the master and a my old 10GB hd as the slave. What kind of partition scheme should I use? I would like to use the Dump and Restore package to create a viable back up option to my 10G HD. What specifically should I back up in order to be able to recover from a hard drive failure or other issue? If I have development source code stored in PVCS and DB2 what would be vital to back up for these PKG's. Does the Dump pkg actually compress the data before it is stored as backup.
 
Old 09-26-2003, 07:53 PM   #2
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHAS, Kubuntu, Solaris, TRU64
Posts: 381

Rep: Reputation: 31
Partition scheme : It depends on the use of the computer.
I.e: One of my servers (Oracle 9 database)

/ 4 GB
swap 2GB
/opt 8 GB
/home 3 GB
/u01 6GB
/u02 6GB
/u03 6GB
/u04 6GB

Then sum up all the extra space to /opt (and/or /opt2), or leave it for future use.

You can try LVM. It lets you grow partitions "on-demand" from unpartitioned disk. With newer distros is pretty easy to setup.

-Dump uses compression if you ask to (-j switch) (dump -j9 ...)

- If you only have 10GB for restoring 140GB, forget about recovering the whole disk "as is". Just save your valuable data (/etc, /root, /usr, / --this last one specified by filesystem (i.e.: /dev/hda1) or else you will copy whole disk as the whole disk is mounted under / )
If still you have place for more, include /opt or whatever).

Last edited by pablob; 09-26-2003 at 07:55 PM.
 
Old 09-29-2003, 09:04 AM   #3
byfaithalone
LQ Newbie
 
Registered: Sep 2003
Location: Little Rock, AR
Distribution: SUSE 8.2
Posts: 23

Original Poster
Rep: Reputation: 15
Thank you for this advice.
I will implement according to your recommendations. I am also condering backing up this server to a shared network drive.
 
Old 09-29-2003, 11:53 AM   #4
byfaithalone
LQ Newbie
 
Registered: Sep 2003
Location: Little Rock, AR
Distribution: SUSE 8.2
Posts: 23

Original Poster
Rep: Reputation: 15
If I choose to map a drive to our network and store the backup would it make any difference if it was a Windows box or a Unix box?
 
Old 10-04-2003, 09:04 AM   #5
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHAS, Kubuntu, Solaris, TRU64
Posts: 381

Rep: Reputation: 31
the backup can be saved to a device (i.e. a DAT) or to a file (i.e. bk1.dmp)

If you choose 2nd way, you can store the resulting file whever you want, just taking care not to break it (i.e. ftp'ing on ascii mode will break it). Just copying via samba will be ok.
 
  


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
Dump & Restore - Need Help krishvij Linux - General 1 05-10-2005 01:26 PM
Backup & Restore chaitu_iiit Linux - Software 2 10-30-2004 12:10 AM
Backup & Restore plan using tar markcasazza Linux - Newbie 1 04-14-2004 01:11 PM
dump & restore hiren_a Linux - Newbie 1 04-29-2003 12:56 AM
dump + restore to backup linux ; "Couldn't find matching filesystem: LABEL=/" on boot markus1982 Linux - General 4 09-21-2002 01:16 PM


All times are GMT -5. The time now is 09:11 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration