home *** CD-ROM | disk | FTP | other *** search
/ ftp.seagate.com / 2014.07.ftp.seagate.com.tar / ftp.seagate.com / pub / palindrome / technote / tn9504.asc < prev    next >
Text File  |  1995-05-20  |  6KB  |  167 lines

  1. Tech Note Number:              9504
  2. Date:                          May 20, 1995
  3. Subject:                       Procedures For Cloning a server using  
  4.                                an Export Media
  5. Keywords:                      Restore, Import, Export, Non-managed,
  6.                                Media
  7. Affected Products:             PNA versions 3.1a NLM
  8.  
  9.  
  10.  
  11. Introduction
  12.  
  13.  
  14. The following Tech Note details the procedure for cloning a server
  15. using the Network Archivist NLM and export media.  The requirements 
  16. are Network Archivist NLM base software diskettes.  The source server is 
  17. the server to be cloned.  The destination server must be named the same
  18. as the source server, with the same volume structure; and the
  19. destination server must have the same version of NetWare TM installed.
  20.  
  21. PNA does not keep track of what files are put to Media during export 
  22. operations within its history databases.  In order to restore data from 
  23. an export Media, the data must first be located on Media and brought back 
  24. using command line operations.  
  25.  
  26. (NOTE: This Procedure assumes that all your data can fit onto one media)
  27.  
  28.  
  29.  
  30. STEP 1: With a blank media in the drive we issue the following command 
  31.         to do a full export of the system's bindery:
  32.  
  33.         PNABACK /FX SERVERNAME/Bindery /Dyyy /Q
  34.  
  35.         where yyy is a label to be assigned to that specific session.
  36.         This is optional.
  37.  
  38.         NOTE: DO NOT PUT A COLON AFTER THE WORD BINDERY FOR THIS COMMAND
  39.  
  40.  
  41. STEP 2: With that same Media in the drive issue the following command to 
  42.         do a full export of your system's files, trustee info, and 
  43.         directory structure:
  44.  
  45.         PNBACK /FX SERVERNAME/VOLUME: /Dyyy /Q
  46.  
  47.         where yyy is a label to be assigned to that specific session.
  48.         This is optional.
  49.  
  50. STEP 3: After the full backup is complete, check the PNA_LOG file
  51.         to verify that the backup completed successfully, that no open
  52.         files were skipped, and to check for any important messages
  53.         communicated by the Network Archivist.
  54.  
  55.  
  56. (Optional) It is recommended to repeat the first step in order to
  57. have another tape available if media failure should occur.  It is
  58. a good idea to clean your tape drive after introducing new, blank
  59. tapes.
  60.  
  61.  
  62. STEP 4: Bring the source server down and the destination server
  63.         up.  Once again, these two servers have identical server names
  64.         and volume structures. The destination server should have the
  65.         hardware and controller already installed with the necessary
  66.         drivers loaded.  Refer to Palindrome's Hardware Installation
  67.         Guide.
  68.  
  69. Note: If the source server cannot be brought down, clone the
  70. destination server offline.
  71.  
  72. Note: After cloning is complete, the clone must remain off the
  73. network or the server's name must be changed.
  74.  
  75. STEP 5: Login as "SUPERVISOR" on the destination server and
  76.         create your backup user on this server, making sure to grant that
  77.         user supervisor equivalency. Next log in as that new user and 
  78.         install the Network Archivist NLM base software and other needed
  79.         support modules such as TSA's & Patches.
  80.  
  81.         
  82.         Be sure to install the Network Archivist into the same directory
  83.         specified on the source server.  You will need to add the volumes 
  84.         to the protected volume list during this installation.
  85.  
  86.  
  87. STEP 6: With PNA now installed, PNASM loaded on the server, and the
  88.         export media in the drive, we can begin the restore process.
  89.  
  90.  
  91.     A)  First we will restore the Bindery files by issuing the 
  92.         following command:
  93.  
  94.         PNAREST /RO /OA /I SERVERNAME/Bindery \*.*
  95.  
  96.         Notice the space after the word Bindery, this is required !!!
  97.  
  98.     B)  Next, we will restore the Directory structure and trustee info
  99.         by issuing the following command:
  100.  
  101.         PNAREST /RD /OA /I SERVERNAME/VOLUME:
  102.  
  103.     C)  Finally we restore the files by issuing the following command:
  104.  
  105.         PNAREST /RO /OA /I SERVERNAME/VOL:\*.*
  106.  
  107.  
  108.         Repeat steps B & C for each volume until finished.
  109.  
  110.                 
  111.                
  112.  
  113. You have now finished cloning your Netware server & volumes. If this 
  114. server is being cloned for data only then you do not need to go to
  115. step 7. However, if this is to become the regular backup server again, 
  116. you will need to follow step 7 to restore the proper files that will
  117. allow your nightly backups to continue where they left off.
  118.  
  119.  
  120.  
  121.  
  122. STEP 7: First you will need to locate the media that was last used 
  123.         for your regular backup. With this media in the device go
  124.         into your installation directory and delete the 2 control
  125.         database files, ASNX.PAC & ASBD.PAC. Then delete the entire
  126.         DB subdirectory that resides in your installation directory.
  127.  
  128.         This will clear all unwanted version of Histories that were 
  129.         created when you re-installed PNA.
  130.  
  131.         Next, simply type PNA. You will then be prompted to restore
  132.         your control DB's from media, and it will go out to your mounted
  133.         media, find the latest version of the control files and restore 
  134.         them. When this is finished and you are at your main menu, go down 
  135.         the list with your arrow keys and tag these resources. This is 
  136.         done by pressing the space bar on each one.
  137.  
  138.         Finally, choose the Restore option from the menu adn pick the File
  139.         History Database option. This will restore ALL histories for your
  140.         current backup operation.
  141.  
  142.  
  143.                
  144.                
  145.                
  146.                
  147.                EXPLANATION OF COMMANDS USED IN THIS TECH-NOTE
  148.  
  149. /RO - Restore Original - used to restore data to the original
  150.       location on disk.
  151.  
  152. /OA - Always overwrite files on disk with those from Media.
  153.  
  154. /I  - Ignore the databases for this operation
  155.       Use this option instead of a /D or /N if you want PNA
  156.       to search the entire Media.  (Note that the entire Media
  157.       will be searched).
  158.  
  159. /RD - Restore all Directory info from tape. Also will restore
  160.       any trustee info as well.
  161.       
  162.       NOTE: If using this command on a pre-existing volume with
  163.             data on it already, PNA defaults to Overwrite Older
  164.             and will not overwrite any existing trustee info. You
  165.             can however add the Overwrite Always switch to override
  166.             this.
  167.