LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-27-2007, 11:42 PM   #1
SKYNAT
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Rep: Reputation: 0
Unhappy How to restore files using the restore command ?


HI ALL,
I am very new to linux,I have some questions regarding DUMP & RESTORE.
I have taken a full backup (level 0) of /var filesystem using dump :

# dump -0uf /home/backup/dump0_dec27_07 /var
Then some files are created eg test1,test2,test3 in /var.Then i have
taken a dump level 1 backup :
# dump -1uf /home/backup/dump1_dec27_07 /var

Now, my question is how i can restore the newly created files using
restore command ? Shall i need to restore the level 0 dump backup 1st and
then apply the level 1 backup on it ? What will be the procedure.Please give me step by step guide so that i can restore files using RESTORE.

I am not using any tape drive,the source (HDD) of dump backup and destination of restore (HDD) is same.But i have applyed the following command :
# restore -if /home/backup/dump1_dec27_07
restore > add test1
restore > add test2
restore > add test3
restore > extract
You have not read any volumes yet.
Unless you know which volume your file(s) are on you should start
with the last volume and work towards the first.
Specify next volume # (none if no more volumes): none
You have not read any volumes yet.
Unless you know which volume your file(s) are on you should start
with the last volume and work towards the first.
Specify next volume # (none if no more volumes): none
./test2: (inode 13) not found on tape
./test1: (inode 14) not found on tape
./test3: (inode 15) not found on tape
set owner/mode for '.'? [yn] y
restore > quit
AND nothing was restored in in the Current Working Dir.

Please Help me in this regard.
Best regards.
SKYNAT.
 
Old 12-28-2007, 04:03 PM   #2
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189

Rep: Reputation: 105Reputation: 105
Try putting in "1" instead of "none".
 
Old 12-28-2007, 10:26 PM   #3
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
SKYNAT: how did you get on?
 
  


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
command to restore deletede files ? thelonius Linux - Software 6 07-27-2006 01:12 PM
Backup and Restore Command jimmete Amigo 4 06-07-2006 08:02 PM
dd backup and restore command jimmete Red Hat 4 06-07-2006 03:13 AM
How to restore files sofasurfer Linux - Newbie 6 01-16-2004 04:05 AM
Restore command chuck77 Linux - General 2 03-26-2002 07:37 PM


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