lxc storage volume import
¶
Import storage volumes
Synopsis¶
Description: Import custom volume backups, iso images, or tarballs.
lxc storage volume import [<remote>:]<pool> <import file> [<volume name>] [flags]
Examples¶
lxc storage volume import default backup0.tar.gz
Create a new custom volume using backup0.tar.gz with included snapshots as the source.
Options¶
--target Cluster member name
--type Type of the import file. Valid options are:
- backup: custom volume backup (default option)
- iso: iso image, will be imported as iso volume
- tar: tarball, will be imported as custom filesystem volume
Options inherited from parent commands¶
--debug Show all debug messages
--force-local Force using the local unix socket
-h, --help Print help
--project Override the source project
-q, --quiet Don't show progress information
--sub-commands Use with help or --help to view sub-commands
-v, --verbose Show all information messages
--version Print version number
SEE ALSO¶
lxc storage volume - Manage storage volumes