Restore IMSMA Backup on Server

Revision as of 11:39, 24 October 2016 by Alnaucler (talk | contribs)
Note.jpg If you are running IMSMA in a client/server configuration, the following procedures should be performed on the IMSMA server.

To restore IMSMA data on the server:

  1. Before beginning the restoration process, verify that the IMSMANG server, all IMSMA clients and all connections to the IMSMANG database from e.g. Navicat have been disconnected.
  2. If the IMSMA Control Centre icon is not already displayed in the lower, right corner of your Window’s desktop, double-click the IMSMA Tray Launcher icon on your computer’s desktop.
  3. Right-click the IMSMA Control Centre icon that is displayed in the lower, right corner of your Window’s desktop.
  4. Backup Restore menu.png
  5. Select Restore.
  6. IMSMA Restore window

    IMSMA Restore window

  7. In the IMSMA Restore window, click the DestDir.png button.
  8. The Open window displays.
  9. Navigate to the directory from which you would like to restore your IMSMA data.
  10. Note.jpg When selecting the directory from which you would like to restore your IMSMA data, be sure to select the directory that is named with the date and time the backup was performed.
  11. Click the Open button.
  12. The path of the folder displays in the Select the directory you want to restore from field.
  13. IMSMA Restore window

    IMSMA Restore window

  14. In the Include the Following section, each available component in the backup folder is marked with CheckedBoxIcon.png. Uncheck the checkbox next to each component you do not want to restore.
  15. Note.jpg Components that are disabled were not included in the IMSMA backup that you selected to restore. If you do not check any components, only the IMSMA database and any attachments will be restored.
  16. Click the Restore button.
  17. First the files outside of the database will be restored and at approximately 20% the IMSMA Restore will ask for the password.
  18. Note.jpg It is possible to change the database password with SQL software.
  19. Enter the database password.
    Imsma pwd2.png
  20. Click the OK button.
  21. The IMSMA Restore will continue and now the database is restored from the backup.
  22. Click the OK button.
    Restore confirm.png
  23. The IMSMA Control Centre closes. The IMSMA Control Centre needs to be closed because the IMSMA database restored may be of an earlier version than the current version of the IMSMA application and therefore needs to be upgraded to the same version as the IMSMA application.

If you see these messages, your computer is configured as an IMSMA client and it is not possible to restore the database.

Client restore database error.png
Client restore confirm.png

Contents

SQL Views after restore

Since the views may build on other views it is not possible to know in which order they should be restored. Therefore the Restore functionality restores the SQL views as tables and after the restore is complete convert them to SQL views. If you still see any of your SQL views as tables after the restore, there is something wrong with your SQL views. The most common errors are:

  • the SQL views are created / owned by another user than imsma
  • the SQL syntax is not correct
  • the SQL view is referring to another SQL view that does not exist anymore.

Template:NavBox How To Backup