github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/docs/source/markdown/podman-volume-import.1.md (about)

     1  % podman-volume-import(1)
     2  
     3  ## NAME
     4  podman\-volume\-import - Import tarball contents into an existing podman volume
     5  
     6  ## SYNOPSIS
     7  **podman volume import** *volume* [*source*]
     8  
     9  ## DESCRIPTION
    10  
    11  **podman volume import** imports the contents of a tarball into the podman volume's mount point.
    12  **podman volume import** can consume piped input when using `-` as source path.
    13  
    14  The given volume must already exist and will not be created by podman volume import.
    15  
    16  Note: Following command is not supported by podman-remote.
    17  
    18  #### **--help**
    19  
    20  Print usage statement
    21  
    22  ## EXAMPLES
    23  
    24  ```
    25  $ gunzip -c hello.tar.gz | podman volume import myvol -
    26  ```
    27  ```
    28  $ podman volume import myvol test.tar
    29  ```
    30  ```
    31  $ podman volume export myvol | podman volume import oldmyvol -
    32  ```
    33  
    34  ## SEE ALSO
    35  **[podman(1)](podman.1.md)**, **[podman-volume(1)](podman-volume.1.md)**, **[podman-volume-export(1)](podman-volume-export.1.md)**