a9s Backup Manager
This documentation describes the a9s Backup Manager service. The a9s Backup Manager is responsible for orchestrating the creation, the restoring and the deletion of Backups of Service Instances created by the a9s Data Service Framework.
TLS Communication
The a9s Backup Manager comes with TLS (HTTPS) enabled for its API by default.
The a9s Backup Manger is configured to listen to HTTP and HTTPS by default since some components still rely on HTTP communication with this service. HTTP will be disabled by default in coming releases.
Backup Worker
The a9s Backup Manager employs workers to manage a backup's creation, deletion, and overall status monitoring. To ensure that tasks do not block another one, the a9s Backup Manager has a minimum of four workers by default:
- One to create backups and monitor their status.
- One to monitor the status of restores.
- One to delete old backups.
- One to all tasks.
It is possible to configure these workers in the manifest using the anynines-backup-manager.workers
property. The
following options are supported:
queues
: A comma separated list of queue names, whose jobs are to be processed by this worker group. Please see Queues for further information.count
: Number of workers to process the jobs in the queues. If not set, only one worker will be used.
Example:
[{ queues: "<queue-name-1>, <queue-name-2>" }, { queues: "<queue-name-3>", count: 3 }]
Queues
You can find the existing a9s Backup Manager worker queues below.
Name | Purpose |
---|---|
backup_all_job | Initializes a full backup of all Service Instances of all configured Service Brokers. The actual backup is not performed in this queue. |
backup_agent_backups | Prepares the necessary backup information and sends the backup request to the Backup Agent of the Service Instance which should be backed up. |
backup_watcher_job | Requests the status of the current backup from the Service Instance's Backup Agent. It only talks to Service Instances where a backup is currently performed. |
restore_watcher_job | Requests the status of the current restore from the Service Instance's Backup Agent. It only talks to Service Instances where a restore is currently performed. |
initialize_backup_deletion_job | Evaluates all Service Instances that have backups which can be deleted. |
backup_deleter_job | Deletes backups from Service Instances. This only happens if there is a given amount of newer backups available. |
update_instance_state_job | Asks for all instances that got deleted since the last request. The result is used to delete backups of deleted Service Instances. |