Files
BastilleBSD_bastille/usr/local/share/man/man1/bastille-import.1
tschettervictor b60af850c9 Finish man pages
2025-12-06 23:19:19 -07:00

91 lines
2.3 KiB
Groff

.Dd 2025/12/06
.Dt bastille-import 1
.Os
.Sh NAME
.Nm bastille import
.Nd Import a jail.
.Sh SYNOPSIS
.Nm
.Op Fl fMvx
.Ar TARGET
.Op RELEASE
.Sh DESCRIPTION
The
.Nm
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.
.Pp
For most foreign jail imports, Bastille will convert the config syntax
into Bastille readable format, but sometimes it might be necessary
to edit the
.Pa jail.conf
file manually.
.Bl -tag -width Ds
.It Fl f , Fl -force
Force an archive import without validation checksum.
.It Fl M , Fl -static-mac
Use a static/persistent MAC address (VNET only) when importing foreign jails.
.It Fl v , Fl -verbose
Enable verbose mode (ZFS only).
.It Fl x , Fl -debug
Enable debug mode.
.El
.Pp
The
.Ar FILE
arguement should be the full filename, including the absolute path.
The only exception is if the archive is inside the backups directory.
See
.Xr bastille.conf 5 .
.Pp
If the
.Ar RELEASE
argument is specified, Bastille will import the jail using that release.
.Sh EXAMPLES
.Bl -tag -width Ds
.It Import myjail_DATE.txz:
.Sy bastille import myjail_DATE.txz
.It Import myjail_DATE.gz under 15.0-RELEASE:
.Sy bastille import myjail_DATE.txz 15.0-RELEASE
.It Import myjail_DATE.gz under 15.0-RELEASE from non-default location:
.Sy bastille import /my/custom/folder/myjail_DATE.txz 15.0-RELEASE
.Sh SEE ALSO
.Xr bastille.conf 5 ,
.Xr bastille-bootstrap 1 ,
.Xr bastille-clone 1 ,
.Xr bastille-cmd 1 ,
.Xr bastille-config 1 ,
.Xr bastille-console 1 ,
.Xr bastille-convert 1 ,
.Xr bastille-cp 1 ,
.Xr bastille-create 1 ,
.Xr bastille-destroy 1 ,
.Xr bastille-edit 1 ,
.Xr bastille-etcupdate 1 ,
.Xr bastille-export 1 ,
.Xr bastille-htop 1 ,
.Xr bastille-jcp 1 ,
.Xr bastille-limits 1 ,
.Xr bastille-list 1 ,
.Xr bastille-migrate 1 ,
.Xr bastille-mount 1 ,
.Xr bastille-network 1 ,
.Xr bastille-pkg 1 ,
.Xr bastille-rcp 1 ,
.Xr bastille-rdr 1 ,
.Xr bastille-rename 1 ,
.Xr bastille-restart 1 ,
.Xr bastille-service 1 ,
.Xr bastille-setup 1 ,
.Xr bastille-start 1 ,
.Xr bastille-stop 1 ,
.Xr bastille-sysrc 1 ,
.Xr bastille-tags 1 ,
.Xr bastille-template 1 ,
.Xr bastille-top 1 ,
.Xr bastille-umount 1 ,
.Xr bastille-update 1 ,
.Xr bastille-upgrade 1 ,
.Xr bastille-verify 1 ,
.Xr bastille-zfs 1