Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
bastille-export(8)	    System Manager's Manual	    bastille-export(8)

NAME
       bastille	export -- Export a jail.

SYNOPSIS
       bastille	[-alvx]	[--gz] [--xz] [--zst] [--raw] [--tgz] [--txz] [--tzst]
		TARGET [PATH]

DESCRIPTION
       The  bastille  sub-command  will	 export	 TARGET	 to  an	image (ZFS) or
       archive.

       -a, --auto
	       Auto mode. Start/stop jail(s) if	required.

       -l, --live
	       Export a	running	jail (ZFS only).

	       Normally	jails must be stopped to export	them. Set this	option
	       to allow	exporting a hot/running	jail.

       --gz    Export to a '.gz' compressed image (ZFS only).

       --xz    Export to a '.xz' compressed image (ZFS only).

       --zst   Export to a '.zst' compressed image (ZFS	only).

       --raw   Export a	an uncompressed	RAW image (ZFS only).

       --tgz   Export to a '.tgz' compressed archive.

       --txz   Export to a '.txz' compressed archive.

       --tzst  Export to a '.tzst' compressed archive.

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

       -x, --debug
	       Enable debug mode.

       If  no  PATH is specified, the jail will	be exported to the backups di-
       rectory.	 See bastille.conf(5).

EXAMPLES
       Export my jail as a '.tzst' archive:
	       bastille	export --tzst myjail

       Export myjail to	$PWD as	a '.gz'	image:
	       bastille	export --gz myjail $PWD

       Export myjail (while running) as	a '.xz'	image:
	       bastille	export -l --xz myjail

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-htop(8),	 bastille-import(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)

FreeBSD	ports 15.quarterly     December	6, 2025		    bastille-export(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=bastille-export&sektion=8&manpath=FreeBSD+Ports+15.0.quarterly>

home | help