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

In the Import File Name dialog. The Import File Name dialog is displayed. b.tomatically. 6. To restore your job. c. run the gatekeeper command to print your current l icense keys to a file. machine. To restore your calendar definitions: a. Click OK. To restore definitions: 1. from a UNI X command prompt. Restore your global variables. d. and monitor and browser definitions. Import. 3. 2. 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.jil where: directory Is the directory where you saved your definitions. execute the following command: jil < /directory/autosys. Choose File. select the directory and file name of the tex t file that contains your calendar definitions. To save your license keys. Open a Calendar Definition window. 12 14 . reference your backup file and redefine any gl obal variables.