Skip to main content
verify_backup(backup_name=, datasource_name=None, options=)[source]

Inspects the requested database backup(s) for conformity at the remote file store accessible via the data source specified by input parameter datasource_name. By default all snapshots are inspected unless the option backup_id is used to target a specific instance. Returns backup verification results.

Parameters

backup_name (str) –

Name of the backup. An empty string or ‘*’ will check all existing backups. Any text followed by a ‘*’ will inspect backups whose name starts with that text. The default value is ‘’.

datasource_name (str) –

Data source through which the backup is accessible.

options (dict of str to str) –

Optional parameters. Allowed keys are:

  • backup_id – ID of the snapshot to verify. Set to ‘-1’ to verify all snapshots in the backup. Leave empty to verify only the most recent snapshot. The default value is ‘-1’.

The default value is an empty dict ( ).

Returns

A dict with the following entries–

backup_name (str) –

Value of input parameter backup_name.

backup_names (list of str) –

Backup name(s).

backup_ids (list of lists of longs) –

IDs of individual snapshots per backup name.

errors (list of lists of str) –

Any errors detected from the inspection of each backup.

info (dict of str to str) –

Additional information.