Go to main content

Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: April 2019

x64: How to Print a Copy of a Zone Configuration

You should create backup files of your non-global zone configurations. You can use the backups to recreate the zones later if necessary. Create the copy of the zone's configuration after you have logged in to the zone for the first time and have responded to the sysidtool questions. This procedure uses a zone named my-zone and a backup file named my-zone.config.

  1. Become a zone administrator.

    For more information, see Assigning Limited Rights to Zone Administrators.

  2. Print the configuration for the zone my-zone to a file named my-zone.config.
    global$ zonecfg -z my-zone export > my-zone.config