Go to main content

Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: April 2019
 
 

Recreating a Non-Global Zone

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 a zone administrator.

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

  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 manually merge) files from a backup into the newly created zone's root file system.