Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015

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 to illustrate the process.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  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