Creating scripts for your restore jobs

You can only save restore jobs to a script when you are using the Tape Session View. Scripts are not available when using either the Tree View, or Tape Database View.

Save your backup job settings like you'd save a text file

Any scripts you save will contain the source and destinations that you selected and the schedule information, if you scheduled the job. It will also contain any filters you created to include and exclude files and directories.

Creating a script has the following advantages:

To use a script, simply open it then schedule the date and time for it to run. All of the information that you had specified when you saved the form will appear in the Restore Manager window, including the files and directories and the other scheduling information.

Follow these directions to create a script:

  1. Select a source and destination for the restore.

    See ``Choosing Tape Session'' for more information on selecting what you want to restore, and to where.

  2. Schedule and customize the job (if necessary).

    See ``Restoring files - the basic steps'' for details on scheduling a job. See ``Filtering your Jobs'' for information on adding filters to the restore job.

  3. From the File menu, choose Save As.

    The scripts dialog box appears. This is where you will provide the name for the restore script.

  4. Give the script a name, then click OK.

    All SCO ARCserve/Open scripts are stored in the SCO ARCserve/Open home /jobs directory with a default extension ``.as5''. You can also create the scripts in the directory of your choice.


Once you have created a script, follow these directions to use it:

  1. From the File menu, choose Open.

    The Scripts dialog box appears.

  2. Select the script that you want to use.

    Select the script you want to use from the list of scripts that appears, or enter the name of the script that you want to use.

  3. In the Run dialog box, enter the date and time you want the job to run.

    Since the script was saved with a date and time specified, the date and time will probably not be applicable. For that reason, you should re-enter a date and/or time on which the job will run.


Next topic: Filtering your Jobs
Previous topic: Submitting jobs using the command line

© 1997 The Santa Cruz Operation, Inc. All rights reserved.