Professional Web Applications Themes

ufsrestore of single file? - Sun Solaris

In comp.unix.solaris Larry Lindstrom <larrylaracnet.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 ...

  1. #1

    Default Re: ufsrestore of single file?

    In comp.unix.solaris Larry Lindstrom <larrylaracnet.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]ddunhamtaos.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. #2

    Smile Re: ufsrestore of single file?

    [QUOTE=Darren Dunham;503937]In comp.unix.solaris Larry Lindstrom <larrylaracnet.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

Similar Threads

  1. Using PHP and ASP in a single source file?
    By Dan S in forum PHP Development
    Replies: 7
    Last Post: November 1st, 11:36 PM
  2. Saving as Single File Web Page
    By Barb in forum Web Design
    Replies: 1
    Last Post: April 28th, 12:40 PM
  3. Assemble all actionscript into a single external file?
    By Ashot in forum Macromedia Flash
    Replies: 1
    Last Post: February 7th, 07:06 PM
  4. Ufsrestore problems
    By DOKNIK in forum Sun Solaris
    Replies: 0
    Last Post: July 7th, 04:48 PM
  5. Copying A Single File From Tape Backup
    By Elliot J in forum SCO
    Replies: 1
    Last Post: July 7th, 01:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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