The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
restore mysql dump file in many remote servers? blesets Shell Programming and Scripting 2 09-12-2006 10:17 PM
Restore command Latha Nair UNIX for Dummies Questions & Answers 5 10-07-2004 03:25 AM
restore dump - help sankera UNIX for Dummies Questions & Answers 2 07-09-2003 11:19 AM
dump command Patman UNIX for Dummies Questions & Answers 1 11-15-2002 02:51 PM
Dump Command in Linux syedifti UNIX for Dummies Questions & Answers 1 10-23-2001 12:30 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-30-2008
Registered User
 

Join Date: Oct 2007
Posts: 53
Question Dump and restore command usage ??

Hi,

I am using RHEL 4.0
I need to take backup of a directory and then restore it to some other location.

For taking Backup of final directory, I am using this code:

Code:
dump -0aj -f /home/vicky/final.dump /home/vicky/final/
Now, I am trying to restore this final.dump to some other directory, say /tmp/vv

When, I am using code
Code:
restore -rf final.dump /tmp/vv
I am getting these errors :-

Code:
[root@xxx tmp]# restore -rf final.dump /tmp/vv
Dump tape is compressed.
restore: ./home: File exists
restore: ./home/vicky: File exists
restore: ./home/vicky/final: File exists
[root@xxxx tmp]#
The final.dump is again trying to uncompress in /home/.

Pls help, I need to uncompress final.dump in some other location.

Thanks in adv.
Vikas
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-01-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 2,688
I'm not familiar with dump/restore (or rather, my familiarity is restricted to an old version of BSD where dump would always "dump" core on me when the first cartridge got full and I would have needeed to swap cartridges) but my impression is that these utilities are very little used. Could you use tar instead?
Reply With Quote
  #3 (permalink)  
Old 05-04-2008
Registered User
 

Join Date: Oct 2007
Posts: 53
hi era,

friend I need to use dump/restore command only. This is my boss's orders
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:10 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0