Backup/restore job, jobset, trigger, station, calendar and message action/record definitions either on the same box or on a different box
book
Article ID: 55160
calendar_today
Updated On:
Products
Unicenter Job Management OptionCA Unicenter NSM
Issue/Introduction
Looking for commands that can be used to backup/restore jobset, trigger, station, calendar and message action records.
Environment
UUJMA, JMO
Resolution
To copy all jobs, jobsets, stations, calendars, message records and actions from one machine to another or for the same machine (backup and restore), you can use the following commands:
For jobs, jobsets and triggers:
cauexpr -a (backup) - Output will be written to cauexpr.txt file in the current directory.
cautil -f cauexpr.txt (restore)
For Stations: You need to create them manually.
For Calendars:
caldb save cal.dsb - This dumps the CAICALDB to a dsb file.
caldb script cal.dsb > cal.txt - This takes the cal.dsb file you created in the above step and dumps it to a text file cal.txt.