Restore an ACM database
Application Code Manager
(ACM) uses a database to store reusable code. If ACM is being moved to a new database server or if the existing database server has incorrect ACM data, the backup made of the database can be restored to the database server so that all of the previous data is available.
IMPORTANT:
When restoring a remote database, the file location must be accessible with read and write access granted to the user account under which the remote database service runs.
Restoring an ACM database backup
onto a machine other than the one on which it was created
will require database ownership to be set, because the user associated with the backed-up database does not exist in the new environment. If ownership is not set, then ACM users will continuously receive the following message: “Timed out waiting for the heart beat notification from the SQL Broker from within the ACM application. Please check the log file for details”. The database administrator can set the database ownership. The database administrator uses the following script within either a SQL Management Studio query window or via a SQLCMD session:
ALTER AUTHORIZATION on DATABASE::[Database Name] TO [SQL User]
- The [Database Name] section must be replaced with the ACM database name.
- The [SQL User] section must be replaced with the name of the user who will be assigned ownership of the database.
Running the script ensures that you will no longer receives the timeout messages.
To restore an ACM database
- OpenApplication Code Manager, in the main menu, clickTOOLS > Database Manager.
- InServer name, select the computer name andSQL Serverinstance from the dropdown list or type a computer name andSQL Serverinstance in the following format:<Computer name>\<SQL Serverinstance>
- InLog on to the server, use Windows Authentication or type theUser nameandPasswordto use to authenticate the connection to theSQL Server, then clickConnect.Statusupdates toConnected.
- InSpecify the database, select the name of the ACM database on which you want to restore the data.TIP:If you are restoring databases to a new database server or if the database is not present on the database server, create the database before restoring the data to it.
- InActions, selectRestore databaseand then clickExecute Recovery. TheSelected database backup to restoredialog opens.
- Select the database backup file (.bak) to restore and then clickOpen.
- TheConfirm database restoredialog opens warning you that the current database will be overwritten and asking you if you are sure you want to restore the database.ClickYesto confirm the restoration process.
- Once the database is restored, anAction completed successfullymessage displays. ClickOK.
- ClickCloseto closeDatabase Manager.
Provide Feedback