spiegel_podman/docs/source
Radostin Stoyanov 288ccc4c84 Include named volumes in container migration
When migrating a container with associated volumes, the content of
these volumes should be made available on the destination machine.

This patch enables container checkpoint/restore with named volumes
by including the content of volumes in checkpoint file. On restore,
volumes associated with container are created and their content is
restored.

The --ignore-volumes option is introduced to disable this feature.

Example:

 # podman container checkpoint --export checkpoint.tar.gz <container>

The content of all volumes associated with the container are included
in `checkpoint.tar.gz`

 # podman container checkpoint --export checkpoint.tar.gz --ignore-volumes <container>

The content of volumes is not included in `checkpoint.tar.gz`. This is
useful, for example, when the checkpoint/restore is performed on the
same machine.

 # podman container restore --import checkpoint.tar.gz

The associated volumes will be created and their content will be
restored. Podman will exit with an error if volumes with the same
name already exist on the system or the content of volumes is not
included in checkpoint.tar.gz

 # podman container restore --ignore-volumes --import checkpoint.tar.gz

Volumes associated with container must already exist. Podman will not
create them or restore their content.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
2021-01-07 07:51:19 +00:00
..
_static sort api endpoints in documentation 2020-12-24 09:52:01 -06:00
markdown Include named volumes in container migration 2021-01-07 07:51:19 +00:00
Commands.rst [CI:DOCS] Touch up Podman description in man page menu 2020-11-13 20:28:52 -05:00
conf.py squash 2020-11-25 18:27:31 +01:00
connection.rst Add missing pages for docs.podman.io 2020-08-10 19:35:23 -04:00
generate.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
healthcheck.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
image.rst Cross-reference *.rst files too 2020-08-11 08:03:37 -06:00
includes.rst Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
index.rst Add missing pages for docs.podman.io 2020-08-10 19:35:23 -04:00
Introduction.rst Fix documentation link and typo 2020-10-09 12:58:16 +03:00
managecontainers.rst squash 2020-11-25 18:27:31 +01:00
manifest.rst Add missing pages for docs.podman.io 2020-08-10 19:35:23 -04:00
network.rst Implement pod-network-reload 2020-12-07 19:26:23 +01:00
play.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
pod.rst Remove containers when pruning a stopped pod. 2019-11-26 13:19:31 -05:00
Reference.rst [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
Search.rst [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
system.rst Cross-reference *.rst files too 2020-08-11 08:03:37 -06:00
Tutorials.rst squash 2020-11-25 18:27:31 +01:00
volume.rst Enable pre-commit tool linting 2020-01-14 13:42:59 +00:00