Docker Image Backup

CommunityEnterprise

It is possible to backup defined Docker images only which will be used to create new containers when required.

The Bacula Docker Plugin will contact the Docker service to read and save the contents of any system image or container image using snapshots (default behavior) and dump them using the Docker API.

Docker images can be selected directly by using a repository and tag name or an image id. They can also be selected by matching repository names with regular expressions. Repository name matching can be refined by excluding selected repository names from backup.

If a directly selected image cannot be found, a single job error will be generated and the backup will proceed to the next image, unless the job is configured to abort on error.

If no images match the provided repository name expression, the backup will proceed to the next selection rule or finish successfully without backing up any images. A job configured to abort on error will not be aborted when no images are found using repository name matching.

Images excluded by repository name matching are excluded only from the images selected using repository name matching. They do not affect images selected directly.

To see all the options, go to Docker: Configuration.

See also

Previous articles:

Next articles:

Go back to: Backup.