You are on page 1of 2

Backing Up Definitions We recommend that you back up the following definitions periodically to ensure t hat you have files

to restore from in case of a system failure: calendar definitions job definitions machine definitions monitor and browser definitions global variables For information about restoring the backed up definitions, see Restoring Definit ions in this chapter. We recommend that you keep a copy of your license keys in case you need to reins tall them. To back up definitions: 1. To save your calendar definitions: a. Open a Calendar Definition window. b. Choose File, Export. The Export File Name dialog is displayed. c. In the Export File Name dialog, select a directory that is outside of the dir ectory structure and select or enter a file name. d. Click OK. Note: The calendar definitions are saved as text. 2. To save your job definitions, from a UNIX command prompt, execute the followi ng command: autorep -J ALL -q > /directory/autosys.jil where: directory Is a directory outside of the directory structure. We recommend that you save to the same directory where you saved your calendar definitions. This command saves your job definitions to a file named autosys.jil. 12 12 User Gu ide Backing Up Definitions 3. To append your machine definitions to the same file that contains your job de finitions, from the UNIX command prompt, execute the following command: autorep -M ALL -q >> /directory/autosys.jil where: directory Is the same directory where you saved your job definitions, a directory outside of the directory structure. Note: To append definitions to an existing file, you enter >> instead of >. We r ecommend that you append your job, machine, and monitor and browser definitions to the same file. Then you have only one file to restore following a system fail ure. 4. To append your monitor and browser definitions to the same file that contains your job and machine definitions, from the UNIX command prompt, execute the fol lowing command: monbro -N ALL -q >> /directory/autosys.jil where: directory Is the same directory where you saved your job definitions, a directory outside of the AutoSys directory structure. 5. To save your global variables to their own file, from the UNIX command prompt , execute the following command: autorep -G ALL > /directory/globals.jil where: directory Is a directory outside of the directory structure. We recommend that you save to the same directory where you saved your other definitions. This command saves your global variables to a file named globals.jil. This file is simply a record of what you must redefine following a system failure. Note: You can create a job that runs periodically to back up your definitions au

tomatically. 6. To save your license keys, run the gatekeeper command to print your current l icense keys to a file. Maintaining 12 13 Restoring Definitions Restoring Definitions The procedure in this section assumes that you backed up your definitions by fol lowing the procedure in Backing Up Definitions in this chapter. To restore definitions: 1. To restore your calendar definitions: a. Open a Calendar Definition window. b. Choose File, Import. The Import File Name dialog is displayed. c. In the Import File Name dialog, select the directory and file name of the tex t file that contains your calendar definitions. d. Click OK. 2. To restore your job, machine, and monitor and browser definitions, from a UNI X command prompt, execute the following command: jil < /directory/autosys.jil where: directory Is the directory where you saved your definitions. 3. Restore your global variables, reference your backup file and redefine any gl obal variables. 12 14

You might also like