Ref: 11020014
Title: Using 3+Open Backup from a DOS Enhanced Netstation
Date: 4/13/90

Copyright 3Com Corporation, 1991.  All rights reserved.

This article explains how to set up and use the tapeservice if no OS/2
workstation is available.  It also explains how to do a user backup of
a local hard disk.  It assumes that the network administrator is using a
3Com dedicated server and has installed the tape-delivered software and
run Netsetup.

In the instructions below, the "backup server" is the server that is
running the 3+Open Backup service.  It is not necessarily the same server
as the "tape server," which is the server where the tape drive is located.


Enabling the 3+Open Backup Software

The tape-delivered software includes the 3+Open Backup software, but it
is not enabled for use.  To enable it, follow these steps:

1.  Log in as Admin or as a user with admin permissions.

2.  NET USE to the C$ sharename of the server that will be doing the
backup.

3.  Edit the CONFIG.SYS file to remove the word "rem" from the line that
looks like this:  rem device=c:\tape.os2 /T:250:0:0.

4.  Edit the c:\3open\3STARTUP.CMD file to remove the word "rem" from the
line that reads "rem net start tapeservice."

5.  Put a tape in the drive and reboot the server.

6.  Change to the a:\3open\doswksta\lanman\netprog directory.

7.  Type "net admin \\tapeserver /c net user tapeserver password /add /
p:admin" to add the tapeserver as a user with admin permissions.

8a. If the server performing the backup is not the same as the server to
be backed up, type "net admin \\server1 /c net user server2 password /add
/p:admin" to give the backup server admin permissions to access the server
to be backed up.

8b. If the server to be backed up is the server with the tape drive,
type "net admin \\server1 /c net user server1 password /add /p:admin" to
give the backup server admin permissions to access itself.

9.  Type "net admin \\tapeserver /c net logon server" to log in the
tapeserver to itself as a user.

10.  Type "net use X: \\tapeserver\tape" to link to the tape drive.

11.  Type "net use L: \\server\famapps" to gain access to the BACKMAN
program.

12.  Change to the L: drive.  From here, you can type any of the BACKMAN
commands.

13.  Type "backman load \\tapeserver\tape" to rewind the tape before
using it.  If the tape has not been used before, erase it twice, then
rewind it before backing up any files.



Using BACKMAN Commands

The format of the BACKMAN command is

   backman <operation required> <operation parameters>

where "operation required" is for Rewind, Load, Erase, and Status
operations.  For example,

   Backman Status \\server\tape
        This will tell you if the tape drive is in use.

   Backman Load \\server\tape
        This will rewind the tape to the beginning.


Using BACKMAN to Back Up a Server

The syntax for a backup command is Backman Backup \\server to back up
\\servername of tapeserver\tapesharename and any parameters listed below:

  /A                  Append files to the existing data on tape
  /C:"creator name"   Specify the creator name
  /D:mm/dd/yy         Date of files to backup
  /L:log_file         Specify log file name (without .ext)
  /M                  Backup only files modified since last backup
  /R:"remark here"    Allow user to add remarks about the tape
  /S                  Include subdirectories in the backup path
  /T:hh:mm            Time of files to backed up in 24-hour time
  /W                  Logs the names of the files that were backed up
  /X:Error_file       Specify error file name (without .ext)
  /Y:File_name        File that contains the switches for backup


Sample Backup Commands

   Backman Backup \\server1 \\server3\tape /s /a /w
       This command will back up files in all subdirectories on Server1
       onto the tape on Server3, appending the new information to the tape,
       and include the names of all successfully backed up files to
       the log file.

   Backman Backup \\server1 \\tapesrv\tape /s /m /c\"john"
 This command will back up files in all subdirectories on Server1
        onto the tapeserver (a server with a tape drive), taking only the
        files that were modified since the last backup, and will write the
        files to a catalog file called "john.cat."

   Backman Backup \\server1\c$ \\tapesrv\tape /Y:parmfile.prm
 This command will back up files in the admin subdirectory on Server1
        onto the tapeserver.  All of the special backup switches are
        contained in the file "parmfile.prm" instead of being listed on
  the command line.


User Backup of a Local Hard Disk

To do a user backup of a local hard disk, the administrator must previously
have prepared the permissions as outlined under "Enabling the 3+Open Backup
Software."  Then the user can follow the steps below.

1. Type "net admin \\tapeserver /c net logon server" to log the tape server
on to the network.

2.  Type "net use X: \\tapeserver\tape" to link to the tape drive.

3.  Type "net use L: \\server\famapps" to gain access to the 3Backup
program.

4.  Change to the L: drive.

5.  Type "3backup c: k:\tape /s /w" to begin the backup.

This series of commands backs up the local C: drive to the tape sharename
linked to drive K.  It also backs up all subdirectories and writes the files
to the log file.
