Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2011
    Posts
    4

    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

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    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 >

  3. #3
    Just Joined!
    Join Date
    Jul 2011
    Posts
    4

    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

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •