Skip to main content
Version: DPX 4.9

Defining Backup Jobs

The following are examples of job definition files (MyFirstJob.cmd and MySecondJob.cmd) that can be imported from the command line:

  • MyFirstJob.cmd\
      OPTIONS "TAPEWAITINTERVAL 20; TASKRETRYCOUNT 5; TWIN N; TWINTAPEOFFSITE N; 
    VERIFYLEVEL 0;"; BACKUP NODE(EHANSEN WINNT)

    DISK (C: NTFS)

    SELECT (I "\\tmp\\*")

    TAPEPOOL DISKDIRECTORY DEVICEPOOL DISKDIRECTORY;
  • MySecondJob.cmd\
      OPTIONS "TAPEWAITINTERVAL 20; TASKRETRYCOUNT 5; TWIN N; TWINTAPEOFFSITE N; 
    VERIFYLEVEL 1;"; BACKUP NODE (sun UNIX)

    SELECT (I "/home/rich/another_world/*")

    TAPEPOOL 4MM\_TPOOL DEVICEPOOL Master\_Drives;
  • MyThirdJob.cmd\
      OPTIONS "RETENTION 30";

    BACKUP NODE (NodeName WINNT) SNAPDEVICE "FilerName:/vol/VolumeName";

After defining these files, you must run the command line utility BEX to define the job. Note that the environment variables <SSPRODIR> and <SSICMAPI> should be set before running commands, which can be accomplished by first executing "Setenv.bat" from the tools folder of the application.\

	bex.exe -ibex.ini -c “backup define -nMyFirstJob -tbackup_base 
-f c:\\tmp\\MyFirstJob.cmd”