domino_admin_toolkit.checks.test_backup_cronjobs module

Description:

Domino runs a regular backup of some of it’s core services on a cron schedule These are important to recover from certain issues in a DR situation.

domino_admin_toolkit.checks.test_backup_cronjobs.selector_label(domino_version)

selector_label is used to return the correct label depending on the Domino version for the backup job

Returns:

string: Label of the backup job

domino_admin_toolkit.checks.test_backup_cronjobs.test_backup_cronjob_enabled(selector_label, platform_namespace, domino_version)
Description:

Test whether the backup cronjob is found in the Domino deployment. For Domino 4.x, it checks for nucleus-backup (legacy) For Domino 5.x, it checks for domino-workbench-backup (current)

Result:

Name of the cronjob and it’s uid is displayed.

External Facing Runbook:

https://tickets.dominodatalab.com/hc/en-us/articles/13015290729748 https://docs.dominodatalab.com/en/latest/admin_guide/72ff13/backup-and-restore/

domino_admin_toolkit.checks.test_backup_cronjobs.test_backup_cronjob_status(selector_label, platform_namespace, domino_version)
Description:

Test whether the backup jobs are completed or pending or failed The test won’t stop if a job has failed, it will continue after showing ERROR message

Result:

List the jobs with Name, Status, Completion Time, Failure Reason and Message

External Facing Runbook:

https://docs.dominodatalab.com/en/latest/admin_guide/72ff13/backup-and-restore/ https://tickets.dominodatalab.com/hc/en-us/articles/12929182528788