Command: update vol * access=offsite
where access=readwrite
where stg=copy_pool location='offsite_location'
where status=full
{just send out full tapes}
To recall back onsite schedule this command weekly
Command: update vol * access=readwrite
where access=offsite
where stg='offsite_location='
where status=empty
{recall empty tapes}
If you want to export your scripts, say to build another server, then you need to know the details. The command to use is
Q script f=macro
which will produce output in a format that can be executed as a macro. If you pipe that command to a file, the file can be copied to another server for execution.
If you have an audit requirement to change your Netware administration password on a regular basis, it is a real pain and time consuming to have to log into each client individually, run a single file backup, and manually input the new password.
You can do this with a script from the Netware command line. You still need to log into each client but you do not need to enter all the backup details manually. You must use the -NWPWFILE=YES option or the password file will not be updated. A suggested full script, which picks up a file that should exist on every server is:
dsmc sel sys:/Tivoli\TSM\CLIENT\BA\dsm.opt -nwuser=servername\userid:password -nwpwfile=yes