Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015

How to Recreate an Individual Non-Global Zone

You can use the backup files of your non-global zone configurations to recreate non-global zones, if necessary. This procedure uses a zone named my-zone and a backup file named my-zone.config to illustrate the process of recreate a zone.

  1. Become an administrator.

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

  2. Specify that my-zone.config be used as the zonecfg command file to recreate the zone my-zone.
    global# zonecfg -z my-zone -f my-zone.config
  3. Install the zone.
    global# zoneadm -z my-zone install -a /path/to/archive options
  4. If you have any zone-specific files to restore, such as application data, manually restore (and possibly hand-merge) files from a backup into the newly created zone's root file system.