Listing 1: Backup.txt [General] JOB_TYPE=Backup JOB_NAME="Backup 0051" // The job name must be unique or the application // will return a -1, meaning the job failed. SERVER= USERNAME= PASSWORD= // These three values are text values that anyone // can read (a primary reason not to use the command- // line application). If you leave the values blank, as shown, // the default local values are used. JOB_PRIORITY=HIGHEST //The options for priority are Lowest, Low, Medium, High, // and Highest. Because I run scripts at night, I always set // the priority to Highest. Medium is the typical value. [Backup_Options] BK_METHOD=0 // Values for method can range from 0 to 9; 0 represents a // full backup. You can perform an image backup by using // the string IMAGE_BACKUP=1,2,or 3 // with 2 being the value for the image backup. DEVICE_NAME=DEC1 // You can obtain the device name (DEC1 in this example) // from the GUI application. OPEN_FILES_METHOD=2 // The 2 value backs up open files with a lock. RETENSION_MEDIA=NO PRESERVE_TREE_ON_ARCHIVE=YES SINGLE_INSTANCE_FOR_NTFS=YES [Media_Options] MEDIA_NAME=dlt000001 APPEND=no APPEND_NO_OVERWRITE=YES VERIFY=NO COMPRESSION_TYPE=2 // The 2 value indicates hardware compression. // If hardware compression is unavailable, use // software compression. CHECKSUM=YES EJECT_MEDIA=no [Miscellaneous] PRINT_LOG_FILE=NO [Machine] MACHINE1=computername // You can back up a remote machine but must use a // remote agent to do so. If you do so, // machine 1 should finish before machine 2 is backed up, // and systemstate is always backed up last. [Selections] PATH1=\\computername\c$\program files\*.* INCLUDE1=YES SUBDIRS1=YES // Include all program files, including subdirectories, in the backup. PATH2=\\computername\c$\*.* INCLUDE2=YES SUBDIRS2=YES // No subdirectories are backed up; only single files are in this backup. PATH3=\\amd-asus\SYSTEM?STATE INCLUDE3=YES SUBDIRS3=YES [schedule] Run_IMMEDIATE=yes // Instead of running immediately, you can schedule the task. // Be sure to test run a generic script with the GUI open. // The user must have administrator privilege with Backup Exec.