Previous Topic: dpmzone-associateproject Command--Associate a Task with a Project (Funclet)Next Topic: dpmzone-createandinstallzone Command--Create and Install a Zone


dpmzone-clonezone Command--Clone a Zone (Funclet)

The dpmzone-clonezone command creates a duplicate zone from an existing zone. The source zone must be halted to start the cloning process. Cloning occurs on the Solaris 10 server and may take some time.

This command has the following format:

dpmzone-clonezone 
-host hostname 
-name zonename 
-new_name nzonename 
-new_path npath
-host hostname

Specifies the Solaris Zones server. This parameter is case-sensitive.

-name zonename

Specifies the zone that you want to clone.

-new_name nzonename

Defines the new zone name.

-new_path npath

Defines the name of the path from the global zone to the current zone.

Example

Clone a zone on host SolarisServer2:

dpmzone-clonezone -host SolarisServer2 -name myzone1 -new_name myzone2 
-new_path /opt/zones/myzone2