bastille-import(8)

NAME
bastille import - Import a jail.

SYNOPSIS
bastille [-fMvx] TARGET [RELEASE]

DESCRIPTION
The bastille sub-command will attempt to import a jail from an image or archive. Bastille supports importing jails from other jail managers such as iocage, ezjail and qjail.

For most foreign jail imports, Bastille will convert the config syntax into Bastille readable format, but sometimes it might be necessary to edit the jail.conf file manually.

-f, --force
    Force an archive import without validation checksum.

-M, --static-mac
    Use a static/persistent MAC address (VNET only) when importing foreign jails.

-v, --verbose
    Enable verbose mode (ZFS only).

-x, --debug
    Enable debug mode.

The FILE arguement should be the full filename, including the absolute path. The only exception is if the archive is inside the backups directory. See bastille.conf(5).

If the RELEASE argument is specified, Bastille will import the jail using that release.

EXAMPLES

Import myjail_DATE.txz:
    bastille import myjail_DATE.txz

Import myjail_DATE.gz under 15.0-RELEASE:
    bastille import myjail_DATE.txz 15.0-RELEASE

Import myjail_DATE.gz under 15.0-RELEASE from non-default location:
    bastille import /my/custom/folder/myjail_DATE.txz 15.0-RELEASE

SEE ALSO
bastille.conf(5), bastille-bootstrap(8), bastille-clone(8), bastille-cmd(8), bastille-config(8), bastille-console(8), bastille-convert(8), bastille-cp(8), bastille-create(8), bastille-destroy(8), bastille-edit(8), bastille-etcupdate(8), bastille-export(8), bastille-htop(8), bastille-jcp(8), bastille-limits(8), bastille-list(8), bastille-migrate(8), bastille-monitor(8), bastille-mount(8), bastille-network(8), bastille-pkg(8), bastille-rcp(8), bastille-rdr(8), bastille-rename(8), bastille-restart(8), bastille-service(8), bastille-setup(8), bastille-start(8), bastille-stop(8), bastille-sysrc(8), bastille-tags(8), bastille-template(8), bastille-top(8), bastille-umount(8), bastille-update(8), bastille-upgrade(8), bastille-verify(8), bastille-zfs(8)