podman-volume-import(1) General Commands Manual podman-volume-import(1)

# [NAME](#NAME)

podman-volume-import - Import tarball contents into an existing podman volume

# [SYNOPSIS](#SYNOPSIS)

**podman volume import** *volume* \[*source*]

# [DESCRIPTION](#DESCRIPTION)

**podman volume import** imports the contents of a tarball into the podman volume's mount point. The contents of the volume is merged with the content of the tarball with the latter taking precedence. **podman volume import** can consume piped input when using **-** as source path.

The given volume must already exist and is not created by podman volume import.

## **--help**

Print usage statement

# [EXAMPLES](#EXAMPLES)

Import named volume content from the specified file.

```
$ podman volume import myvol test.tar
```

Import named volume content from stdin.

```
$ gunzip -c hello.tar.gz | podman volume import myvol -
```

Export the content from named volume and pipe it into the named volume via stdin.

```
$ podman volume export oldmyvol | podman volume import myvol -
```

# [SEE ALSO](#SEE_ALSO)

[**podman(1)**](/man/enterprise-packages/podman-doc-6.0/podman.1), [**podman-volume(1)**](/man/enterprise-packages/podman-doc-6.0/podman-volume.1), [**podman-volume-export(1)**](/man/enterprise-packages/podman-doc-6.0/podman-volume-export.1)

---

Document: podman-volume-import(1) from podman-doc-6.0 6.0.2-r13 (Chainguard OS)
Source: https://github.com/containers/podman
