bastille-clone(8)

NAME
bastille clone - Clone an existing jail.

SYNOPSIS
bastille [-alx] TARGET NEW_NAME IP

DESCRIPTION
The bastille sub-command will create an exact duplicate of the targeted jail, giving it the specified NEW_NAME and IP address.

-a, --auto
    Auto mode. Start/stop jail(s) if required. Cannot be used with [-l|--live].

-l, --live
    Clone a running jail (ZFS only). Cannot be used with [-a|--auto].

-x, --debug
    Enable debug mode.

EXAMPLES

Clone myjail to newjail:
    bastille clone myjail newjail 10.23.3.4/24

Clone myjail to newjail with DHCP (VNET only):
    bastille clone myjail newjail DHCP

Clone myjail to newjail while running, with debug mode:
    bastille clone -xl myjail newjail 10.23.3.4/24

SEE ALSO
bastille.conf(5), bastille-bootstrap(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-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)