ufsrestore of single file?

Ask a Question related to Sun Solaris, Design and Development.

  1. #1

    Default Re: ufsrestore of single file?

    In comp.unix.solaris Larry Lindstrom <larryl@aracnet.com> wrote:
    > Hi Experts:
    > I'm running this from "/tmp/test_recover". The contents
    > of the ufsdump tape shows "./local/bin/filesystem_file_name".
    > Why doesn't this extract the file to
    > "/tmp/test_recover/local/bin/filesystem_file_name"?
    > mt -f /dev/rmt/0 rew
    > mt -f /dev/rmt/0n fsf 2
    > ufsrestore fr /dev/rmt/0n /local/bin/filesystem_file_name
    I would expect to give the filename as either
    ../local/bin/filesystem_file_name or
    local/bin/filesystem_file_name

    I'm not sure that 'r' is correct for restoring a single file. You might
    want to use 'x' instead.

    Also, I might try to do the ufsrestore interactively...

    ufsrestore if /dev/rmt/0n
    ufsrestore > ls
    ufsrestore > add local/bin/filesystem_file_name
    ufsrestore > extract
    ufsrestore > quit
    > Why isn't this extracting a single file?
    probably 'r' versus 'x'.

    --
    Darren Dunham [email]ddunham@taos.com[/email]
    Unix System Administrator Taos - The SysAdmin Company
    Got some Dr Pepper? San Francisco, CA bay area
    < This line left intentionally blank to confuse you. >
    Darren Dunham Guest

  2. Similar Questions and Discussions

    1. Hyperlink to a single worksheet within an Excel file
      :confused; How do I create a hyperlink to a particular worksheet within a mulit-worksheet Excel work book?
    2. Saving as Single File Web Page
      I am saving a publisher doc (web page) using the "save as" option of Single File Web Page so all components for my 4 page web site are packaged...
    3. Using PHP and ASP in a single source file?
      I'm a software engineer but pretty naive about web programming/scripting. I'm working with a server running Windows IIS. I have several ASP files...
    4. Ufsrestore problems
      Hi , I am having problems restoring a backup of a file from a tape device. When i run the command to check whether the file exists before...
  3. #2

    Smile Re: ufsrestore of single file?

    [QUOTE=Darren Dunham;503937]In comp.unix.solaris Larry Lindstrom <larryl@aracnet.com> wrote:



    I would expect to give the filename as either
    ../local/bin/filesystem_file_name or
    local/bin/filesystem_file_name

    I'm not sure that 'r' is correct for restoring a single file. You might
    want to use 'x' instead.

    Also, I might try to do the ufsrestore interactively...

    ufsrestore if /dev/rmt/0n
    ufsrestore > ls
    ufsrestore > add local/bin/filesystem_file_name
    ufsrestore > extract
    ufsrestore > quit


    probably 'r' versus 'x'.


    after adding

    ufsrestore>setmodes

    then extract
    bentech4you@gmail.com Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139