Ways to Back Up the Registry
There are two methods for backing up the registry and each achieves different results:
Method 1: Save a copy of the Sasuser registry file called regstry.sas7bitm.
The result is an exact copy of the registry at the moment that you copied it. If you
need to use that copy of the registry to restore a broken copy of the registry, then any
changes to the registry after the copy date are lost. However, it is probably better to
have this backup file than to revert to the original default registry.
Method 2: Use the Registry Editor or PROC REGISTRY to back up the parts of the
Sasuser registry that have changed.
The result is a concatenated copy of the registry, which can be restored from the
backup file. When you create the backup file using the EXPORT= statement in
PROC REGISTRY, or by using the Export Registry File utility in the Registry
Editor, SAS saves any portions of the registry that have been changed. When SAS
restores this backup file to the registry, the backup file is concatenated with the
current registry in the following way:
• Any completely new keys, subkeys, or values that were added to the Sasuser
registry after the backup date are retained in the new registry.
• Any existing keys, subkeys, or values that were changed after SAS was initially
installed, then changed again after the backup, are overwritten and revert to the
backup file values after the restore.
• Any existing keys or subkeys (or values that retain the original default values)
will have the default values after the restore.
Using the Explorer to Back Up the SAS Registry
To use the Explorer to back up the SAS Registry:
1. Start SAS Explorer with the EXPLORER command, or select View ð Explorer.
2. Select Tools ð Options ð Explorer.
The Explorer Options window appears.
3. Select the Members tab.
4. Select ITEMSTOR in the Type list.
5. Click Unhide.
If ITEMSTOR does not have an icon associated with it in the Type list, you are
prompted to select an icon.
6. Open the Sasuser library in the Explorer window.
7. Right-click the Regstry.Itemstor file.
8. Select Copy from the pop-up menu and copy the Regstry file. SAS names the file
Operating Environment Information
You can also use a copy command from your operating environment to make a
copy of your registry file for backup purposes. When viewed from outside SAS
Explorer, the filename is regstry.sas7bitm. Under z/OS, you cannot use the
environment copy command to copy your registry file unless your Sasuser library
is assigned to an HFS directory.
Managing the SAS Registry 225