mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-16 07:15:49 +01:00
27 lines
914 B
ReStructuredText
27 lines
914 B
ReStructuredText
import
|
|
======
|
|
|
|
Import a jail backup image or archive.
|
|
|
|
.. code-block:: shell
|
|
|
|
ishmael ~ # bastille import /path/to/archive.file
|
|
|
|
The import sub-command supports both UFS and ZFS storage. ZFS based containers
|
|
will use ZFS snapshots. UFS based containers will use ``txz`` archives.
|
|
|
|
To import to a specified release, specify it as the last argument.
|
|
|
|
.. code-block:: shell
|
|
|
|
ishmael ~ # bastille import help
|
|
Usage: bastille import [option(s)] FILE [RELEASE]
|
|
|
|
Options:
|
|
|
|
-f | --force Force an archive import regardless if the checksum file does not match or missing.
|
|
-M | --static-mac Generate static MAC for jail when importing foreign jails like iocage.
|
|
-v | --verbose Be more verbose during the ZFS receive operation.
|
|
-x | --debug Enable debug mode.
|
|
|
|
Tip: If no option specified, container should be imported from standard input. |