-
restoring from backup
Hi all,
I backed up folder using the dump command as follows
dump -0aj -f data.bak /forbak/
the file was stored as data.bak and the folder with contents forbak was deleted to check it
Then i gave the following command to restore ti
restore -if data.bak
then it entered the prompt as
restore>
there i could see forbak/ folder
Please help me how to restore the forbak folder
when i gave extract it gave as follows.
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):
how to extract it
Please help me to restore the folder forbak and its content
Thanks in advance
-
If you want to extract all files, then try this:
Code:
restore -i -f data.bak
restore > add *
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): 1
set owner/mode for '.'? [yn] n
restore >
-
restoring from backup
Hi,
Thanks atreyu for your help i was able to extract the contents from dump. now for incremental backup i issued the following command
dump -1aj -f data.bak /forbak/
DUMP: Only level 0 dumps are allowed on a subdirectory
DUMP: The ENTIRE dump is aborted.
pls help me to take incremental backup of the directory /forbak to data.bak file.
Thanks in advance