The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
google unix.com



Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

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-13-2006 02:17 AM
Restore command Latha Nair UNIX for Dummies Questions & Answers 5 10-07-2004 07:25 AM
restore dump - help sankera UNIX for Dummies Questions & Answers 2 07-09-2003 03:19 PM
dump command Patman UNIX for Dummies Questions & Answers 1 11-15-2002 06:51 PM
Dump Command in Linux syedifti UNIX for Dummies Questions & Answers 1 10-23-2001 04:30 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-30-2008
vikas027 vikas027 is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 77
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
  #2 (permalink)  
Old 05-01-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
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?
  #3 (permalink)  
Old 05-04-2008
vikas027 vikas027 is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 77
hi era,

friend I need to use dump/restore command only. This is my boss's orders
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:43 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0