Using the %OMABAKUP Macro to Perform Backups and Restores |
The %OMABAKUP macro backs up or restores your metadata repositories, the repository manager, and the metadata server's configuration files, including omaconfig.xml, adminUsers.txt, trustedUsers.txt, and logconfig.xml. It also backs up (but does not restore) the metadata journal file. The %OMABAKUP macro is part uof the SAS autocall libraries and runs in a dedicated SAS session. The macro must be executed on the computer that hosts the metadata server.
You can use %OMABAKUP in the following ways:
Use the %OMABAKUP programs (backupServer.sas and restoreServer.sas) that are provided with your installation. These programs are customized for your operating environment and provide a full backup and restore of the metadata server.
Use the Backup Wizard to create a backup job that uses the %OMABAKUP macro. The wizard enables you to specify %OMABAKUP options without writing code.
The backupServer.sas program and the Backup Wizard should be sufficient for most situations. However, if the need arises, you can write a custom %OMABAKUP program and submit it in the program editor, from a .sas file, or from a scheduling utility.
Before you use %OMABAKUP, read the following information:
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.