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.
|