Re: Restoring file from MKSYSB

cbaker_at_GOODYEAR.COM
Date: 04/28/04

  • Next message: Patrick B. O'Brien: "Re: Restoring file from MKSYSB"
    Date:         Wed, 28 Apr 2004 16:34:51 -0400
    To: aix-l@Princeton.EDU
    
    

    Steve,

    Have you just tried FSF 2 on /dev/rmt0.1 ( "tctl -f /dev/rmt0.1 fsf 2" ) followed by a "restore -Tvf /dev/rmt0.1" ?

    Then you can see if you have a good tape, if you are on the tapefile and what format the "/etc/motd" is on the tape?

    Also, my read on "restore" and the "-s#" flag, you need that to be "-s3" since "-s1" means the tapefile I am at now, so to skip and
    start at the 3rd tapefile requires "-s3". This seems different than the "fsf 2" for tctl because that is the count of how many to
    skip from where I am now. So,start of tape, you skip 2 (fsf 2) and start on the 3rd one.

    By the way, how long did it take to get the "The number of restored files is 0. " after you started the command? This would be an
    indicator if you were on the correct tapefile.

    Christopher M. Baker
    Senior Technical Support Analyst
    DSE/TCO
    Goodyear Tire and Rubber Company

    =================================================
    Contains Confidential and/or Proprietary Information.
    May not be copied or disseminated without the expressed
    written consent of The Goodyear Tire & Rubber Company.
    =================================================

                          "Stamper, Steve"
                          <sstamper@FOREMO To: aix-l@Princeton.EDU
                          ST.COM> cc: (bcc: Chris Baker/NA/GDYR)
                          Sent by: IBM AIX Subject: Restoring file from MKSYSB
                          Discussion List
                          <aix-l@Princeton
                          .EDU>

                          04/28/04 04:03
                          PM
                          Please respond
                          to IBM AIX
                          Discussion List

    Not critical - I'm verifying I know how to do this before I have to!!!

    AIX 5.2 ML2, B50, external 4mm tape drive.
    I have tried both /etc/motd and ./etc/motd

    # tctl -f /dev/rmt0 rewind
    # restore -xvq -s2 -f /dev/rmt0.1 ./etc/motd
    New volume on /dev/rmt0.1:
    Cluster size is 51200 bytes (100 blocks).
    The volume number is 1.
    The backup date is: Thu Apr 22 06:56:40 CDT 2004
    Files are backed up by name.
    The user is root.
    The total size is 0 bytes.
    The number of restored files is 0.
    #

    TIA - Steve


  • Next message: Patrick B. O'Brien: "Re: Restoring file from MKSYSB"

    Relevant Pages