JobManagerUpkeep using wsadmin.sh
Use the Jython scripting language to manage job manager settings with the wsadmin tool. Use the commands in the JobManagerUpkeep group to back up the job manager database.
Use the following commands to back up your job manager database configuration:
backupJobManager
The backupJobManager command backs up the job manager database to a specific system location.
Target object: None.
Optional parameters
- -location
- Location to which the system saves the backup file. If we do not specify a location, the command saves the job manager backup file to the job manager profile root directory and sets the name of the backup file in the following format: JobManager_Backup_20080506T053237-828, where 20080506T053237-828 is a timestamp notation. (String)
- -force
- Specifies whether to overwrite the backup file if it exists in the location of interest. The default is false. (Boolean)
Return value.
The command returns the fully qualified file path of the backup file.
Batch mode example usage
- Use Jython string:
(Windows)
AdminTask.backupJobManager('-location C:/JobManager/backupConfig -force true')(UNIX) (iSeries) (ZOS)AdminTask.backupJobManager('-location /JobManager/backupConfig -force true')- Use Jython list:
(Windows)
AdminTask.backupJobManager(['-location', 'C:/JobManager/backupConfig', '-force', 'true'])(UNIX) (iSeries) (ZOS)AdminTask.backupJobManager(['-location', '/JobManager/backupConfig', '-force', 'true'])
Interactive mode example usage
- Use Jython:
AdminTask.backupJobManager('-interactive')
Administer jobs in a flexible management environment Registering nodes with the job manager Grouping nodes Running administrative jobs Running administrative jobs across multiple nodes Scheduling future administrative jobs Manage administrative jobs AdministrativeJobs . ManagedNodeGroup using wsadmin.sh (deprecated) ManagedNodeAgent . restoreJobManager command