Restore To Local Directory
CommunityEnterpriseIt is possible to restore the container images, Docker images and volume archives to a file without loading them into Docker service.
To use this mode, the where=/some/path Bacula restore parameter
is set to a full path on the server where the Docker Plugin is
installed. If the path does not exist, it will be created by the Bacula
Docker Plugin. With this restore mode you can restore any saved Docker
object including containers, images and volumes.
Example
To do so, the where restore option should point to the local directory:
* restore where=/tmp/bacula/restores
Please check the following example for the message “Docker local restore”:
JobId 141: Start Restore Job RestoreFiles.2018-09-28_14.26.34_03
JobId 141: Using Device "FileChgr1-Dev1" to read.
JobId 141: Ready to read from volume "vol001" on File device "FileChgr1-Dev1" (/opt/bacula/archive).
JobId 141: docker: Docker local restore: container/mcache1/b97d4dd8806(...)
The restore job log will show that the restore was done to a local directory. The log above was truncated for a clear view.
Go back to: Restore.