JobManagerUpkeep
Use Jython to manage job manager settings with wsadmin. Use the commands and parameters in the JobManagerUpkeep group to back up the job manager database.
Use the following commands to back up the 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 value 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')
[AIX] [HP-UX] [Linux] [Solaris]
AdminTask.backupJobManager('-location /JobManager/backupConfig -force true')- Use Jython list:
(Windows)
AdminTask.backupJobManager(['-location', 'C:\JobManager\backupConfig', '-force', 'true'])
[AIX] [HP-UX] [Linux] [Solaris]
AdminTask.backupJobManager(['-location', '/JobManager/backupConfig', '-force', 'true'])
Interactive mode example usage
- Jython...
AdminTask.backupJobManager('-interactive')
Related tasks
Administer jobs in a flexible management environment using scripting
Registering nodes with the job manager using scripting
Grouping nodes in a flexible management environment using scripting
Running admin jobs using scripting
Running admin jobs across multiple nodes using scripting
Scheduling future admin jobs using scripting
Manage admin jobs using scripting
Related
AdministrativeJobs
ManagedNodeGroup
ManagedNodeAgent
restoreJobManager