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

FreeBSD Manual Pages

  
 
  

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

NAME
     bastille migrate -- Migrate jail(s) to a remote system.

SYNOPSIS
     bastille [-abdlpx] [--doas] [-k FILE] TARGET USER@HOST[:PORT]

DESCRIPTION
     The bastille sub-command will migrate a jail to the specified remote host.

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

     -b, --backup
	     Keep archives on remote system.

	     By default, the archives on the remote system are removed after mi-
	     gration. Set this option to keep them.

     -d, --destroy
	     Destroy local jail after migration.

     --doas  Use 'doas' instead of 'sudo'.

	     The default is sudo.

     -k FILE, --keyfile FILE
	     Specify an alternative private keyfile name. Must be in '~/.ssh'.

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

     -p, --password
	     Use password based authentication.

	     The default is to use SSH keys.

     -x, --debug
	     Enable debug mode.

     If no PORT is specified, Bastille will use port 22.

EXAMPLES
     Migrate myjail to a remote system:
	     bastille migrate myjail root@10.23.23.23

     Migrate myjail, while destroying old jail, using port 2222:
	     bastille migrate -d myjail root@10.23.23.23:2222

     Migrate myjail, destroy old, and start new on on remote system:
	     bastille migrate -adl myjail root@10.23.23.23

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-im-
     port(8),  bastille-jcp(8),  bastille-limits(8), bastille-list(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-up-
     grade(8), bastille-verify(8), bastille-zfs(8)

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

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

home | help