Professional Web Applications Themes

Copying A Single File From Tape Backup - SCO

Greetings to the group. I have a full system cpio back-up on DDS2 tape, of our SCO OpenServer v5.0.4 Enterprise server. We're experiencing file corruption (hard drive failure) and have logged a call with our maintenance company, but in the mean-time would like to replace a corrupted file on the hard drive with a file from tape. Please could anyone help me out with the command required to copy /dev/rct0/etc/getty to the root of our hard drive? What additional information would be required? The back-up line used was: find . -print | grep -v "\/usr2\/dbase\/live" | cpio -ovc -O/dev/rct0 -C10240 ...

  1. #1

    Default Copying A Single File From Tape Backup

    Greetings to the group.

    I have a full system cpio back-up on DDS2 tape, of our SCO OpenServer v5.0.4
    Enterprise server. We're experiencing file corruption (hard drive failure)
    and have logged a call with our maintenance company, but in the mean-time
    would like to replace a corrupted file on the hard drive with a file from
    tape.

    Please could anyone help me out with the command required to copy
    /dev/rct0/etc/getty to the root of our hard drive? What additional
    information would be required?

    The back-up line used was:
    find . -print | grep -v "\/usr2\/dbase\/live" |
    cpio -ovc -O/dev/rct0 -C10240

    Thx in advance.


    Elliot J Guest

  2. #2

    Default Re: Copying A Single File From Tape Backup

    Elliot J <spamspam.co.uk> wrote:
    >Greetings to the group.
    >I have a full system cpio back-up on DDS2 tape, of our SCO OpenServer v5.0.4
    >Enterprise server. We're experiencing file corruption (hard drive failure)
    >and have logged a call with our maintenance company, but in the mean-time
    >would like to replace a corrupted file on the hard drive with a file from
    >tape.
    >Please could anyone help me out with the command required to copy
    >/dev/rct0/etc/getty to the root of our hard drive? What additional
    >information would be required?
    >The back-up line used was:
    >find . -print | grep -v "\/usr2\/dbase\/live" |
    >cpio -ovc -O/dev/rct0 -C10240
    The man page for cpio gives ample examples of backing up and restoring.
    There's no such thing as /dev/rct0/etc/getty: tapes are (generally)
    not mounted; see [url]http://www.pcunix.com/Unixart/tapes.html[/url]

    You'd need to disable everything not already logged in, because you
    can't write to an executable that is running.

    cd /
    cpio -icdumv ./etc/getty < /dev/rct0

    is the right idea, but wouldn't work because you really DON'T want
    /etc/getty, because that's just a symlink - unless your real problem
    is just that you have lost the symlink, and if so, you don't
    need to restore from tape: custom can fix that.

    Another thing: this is NOT a good way to back up your system. See
    [url]http://aplawrence.com/Reviews/supertars.html[/url]

    --
    [email]tonyaplawrence.com[/email] Unix/Linux resources: [url]http://aplawrence.com[/url]
    Inexpensive phone/email support
    Free SCO Skills Test: [url]http://pcunix.com/skilltests.html[/url]
    tony@aplawrence.com Guest

Similar Threads

  1. Backup - Second Tape
    By Jimmie in forum Windows Server
    Replies: 0
    Last Post: June 22nd, 06:43 PM
  2. Reg. Log backup to disk & tape...
    By Rajasekaran, Rajesh in forum Informix
    Replies: 0
    Last Post: August 20th, 08:10 PM
  3. Easy Backup on tape for Solaris 8 ??
    By Frédéric Alix in forum Sun Solaris
    Replies: 0
    Last Post: July 31st, 08:09 AM
  4. Backup tape reuse strategies?
    By Simon in forum Linux / Unix Administration
    Replies: 10
    Last Post: July 30th, 07:56 PM
  5. Replies: 0
    Last Post: July 28th, 11:10 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