Difference between revisions of "Backup IMSMA Data"

From IMSMA Wiki
Jump to: navigation, search
(Version 6.0)
 
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Note | Because the geodatabase is built on a per client basis, it is also recommended to launch the client on the server to fully update the geodatabase prior to backing it up. }}
 +
 
To back up IMSMA data:
 
To back up IMSMA data:
 
<ol>
 
<ol>
<li>Before beginning the backup process, verify that the IMSMA server and all IMSMA clients have been shut down.</li>
+
<li>Before beginning the backup process, verify that the {{IMSMANG}} server and all IMSMA clients have been stopped.</li>
 
<li>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.</li>
 
<li>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.</li>
 
<li>Right-click the IMSMA Control Centre icon that is displayed in the lower, right corner of your Window’s desktop.</li>
 
<li>Right-click the IMSMA Control Centre icon that is displayed in the lower, right corner of your Window’s desktop.</li>
<li>Select '''IMSMA Backup and Restore > Backup'''.</li>
+
[[Image:Backup Restore menu.png|center]]
</ol>
+
<li>Select '''Backup'''.</li>
  
[[Image:fig185.png|center|400px|''IMSMA Backup window'']]
+
[[Image:Backup.png|center|400px|''IMSMA Backup window'']]
 
<div align="center">
 
<div align="center">
 
''IMSMA Backup window''
 
''IMSMA Backup window''
 
</div>
 
</div>
  
<ol start="5">
+
<li>In the IMSMA Backup window, click the [[Image:DestDir.png]] button next to the Destination Directory field. The Open window displays.</li>
<li>In the IMSMA Backup window, click the [[Image:DestDir.png]] button beside the Destination Directory field.</li>
+
<li>From the Open window:
:The Open window displays.
+
* Navigate to the folder to which you would like to save the backup files.
<li>From the Open window:</li>
+
* Select a secure folder where there is enough space for the backup.
<ol type="a">
+
* To store the backup on the same computer as the database is on, is '''not''' a secure place.
<li>Navigate to the directory to which you would like to save the backup files.</li>
+
* Click the ''Open'' button. The name of the folder displays in the Destination Directory field. </li>
<li>Click the '''Open''' button.</li>
+
<li>In the ''Include in addition to IMSMA Database'' section of the Backup window, check the checkbox ([[Image:CheckedBoxIcon.png]]) next to each item to back up. If you do not check any items, only the IMSMA database and the attachments will be backed up. See the following table for a description of the type of information that is backed up with each file.</li>
:The name of the directory displays in the Destination Directory field.  
 
</ol>
 
<li>In the '''Include in addition to IMSMA Database''' section, check the checkbox ([[Image:CheckedBoxIcon.png]]) next to each item to back up.</li>
 
:If you do not check any items, only the IMSMA database will be backed up. See the following table for a description of the type of information that is backed up with each file.
 
</ol>
 
  
 
<center>
 
<center>
{| class="wikitable" width="500"
+
{| class="wikitable" width="800"
 
|-
 
|-
 
| align="center" colspan="2" | '''Backup File Descriptions'''
 
| align="center" colspan="2" | '''Backup File Descriptions'''
 
|-
 
|-
 
| width="125pt" | '''Backup File'''
 
| width="125pt" | '''Backup File'''
| width="375pt" | '''Description'''
+
| width="675pt" | '''Description'''
 
|-
 
|-
| GIS Database || Contains all the GIS data such as map icons and their locations that appear in the map display. The file is located in the IMSMA_HOME\client\gis\sandbox\[active map]\map directory folder.   
+
| GIS Database || All the GIS data such as map symbols and their locations that appear in the Map pane. It is recommended to include this in the backup so the receiver of the backup does not need to rebuild the sandbox. The files are located in the ''C:\IMSMAng\client\gis\sandbox\[active map]\map'' folder.   
 
|-
 
|-
| Map Data || Contains all the background geographical information (for example, rivers) that appears in the map display. The file is located in the IMSMA_HOME\server\gis\maps\[active map] folder.
+
| Map Data || All the files that builds up the background map of the '''active''' map display will be backup. The files are located in the ''C:\IMSMAng\server\gis\maps\[active map]'' folder. If there is sub-theme assignments also ''C:\IMSMAng\client\conf\UserPrefs.prop''s will be included.
 
|-
 
|-
| Form Template || Contains field report templates that were created using the Form Designer and saved on the local computer. The file is located in the IMSMA_HOME\client\FormTemplates\MyTemplates folder.
+
| Form Template || Data Entry Form templates that were saved in the ''C:\IMSMAng\client\FormTemplates\MyTemplates'' folder. Published templates are stored in the database.
 
|-
 
|-
| Report Template || Contains report templates that were created using the External Reporting Tool (iReport) and saved on the local computer. The file is located in the IMSMA_HOME\iReport\IMSMA Reports folder.
+
| Report Template || iReport templates that were saved in the ''C:\IMSMAng\iReport\ireport\templates'' folder.
 
|-
 
|-
| Translations || Contains the ITerms_XX.properties, IMessage_XX.properties, and UIString_XX.properties files. The files are located in the IMSMA_HOME\client\resources\com\fgm\imsma\lexicon directory and the IMSMA_HOME\client\resources\com\fgm\util directory.
+
| Translations || The ITerms_XX.properties, IMessage_XX.properties and trans_XX.properties files. The files are located in the ''C:\IMSMAng\client\resources\com\fgm\imsma\lexicon'' folder.
 
|}
 
|}
</center>
+
</center></li>
  
<ol start="8">
+
<li>We '''never''' recommend to exclude the attachments but if you would like to reduce the size of the backup folder, you may select to back up the database without including attachments.</li>
<li>To reduce the size of the IMSMA database backup file, you can select to back up the database without including certain data attached to field reports such as audio, video, and other large files.</li>
 
*If you ''do not'' want to back up the attachment data, check the '''Exclude Data Entry Form Attachment data''' checkbox ([[Image:CheckedBoxIcon.png]]).
 
*If you want to back up the attachment data, leave the '''Exclude Data Entry Form Attachment data''' checkbox unchecked ([[Image:UncheckedBoxIcon.png]]).
 
 
<li>Click the '''Backup''' button.</li>
 
<li>Click the '''Backup''' button.</li>
:A window displays prompting you for the database password.
+
{{Note| It is possible to change the database password with SQL software.}}
<li>Enter the database password.</li>
+
<li>Enter the database password.</li><br />
<li>Click the '''OK''' button.</li>
+
[[Image:Imsma pwd.png|center|300px|''Enter the password'']]
:A copy of your data is saved to the specified destination directory in a directory named with the current date and time. When the backup completes, a message window displays.
+
<div align="center">
<li>Click the '''OK''' button.</li>
+
''Enter the password''
:The message window closes.  
+
</div>
<li>Close the IMSMA Backup / Restore window.</li>
+
<li>Click the '''OK''' button. A copy of your data is saved to the specified destination directory in a folder named with ''Backup_current_date_and_time'' (e.g. Backup_2014_10_01_17_45_15). </li>
 +
 
 +
 
 +
[[Image:Backup_completed.png|center|500px|''Backup went well'']]
 +
<div align="center">
 +
''Backup went well''
 +
</div>
 +
<li>Click the '''Close''' button.</li>
 +
<li>Verify the result of the backup.</li>
 +
 
 +
[[Image:Backup_result.png|center|500px|''Verify that the backup went well'']]
 +
<div align="center">
 +
''Is the expected result there?''
 +
</div>
 
</ol>
 
</ol>
  
{{NavBox How To Backup}}
+
==Errors during backup==
 +
{{Warning | If you see any error message during backup, it means that you do '''NOT''' have any backup of your database!}}
 +
 
 +
[[Image:Backup_error.png|center|500px|''The backup did '''not''' went well'']]
 +
<div align="center">
 +
''The backup did '''not''' went well''
 +
</div>
 +
 
 +
The most common reasons why the backup did not go well are:
 +
* the password was mistyped
 +
* there was not enough space in the specified folder
 +
* the user did not have permission to write to the specified folder
 +
 
 +
In the details you will see more details on why the backup did not go well.
 +
 
 +
[[Image:Backup_error_detail.png|center|500px|''The backup did '''not''' went well'']]
 +
<div align="center">
 +
''Expand the error message by clicking on Show Detail''
 +
</div>
 +
 
 +
Example of another error message in the Console log:
 +
 
 +
''ava.lang.StringIndexOutOfBoundsException: String index out of range: -1''
 +
 
 +
This is an indication that something is not correct with e.g. '''[[IMSMA Client Configuration Tool | IMSMA Client variables]]''' or '''[[Environment Variables | Environment variables]]''' on the computer.
 +
 
 +
{{NavBox Manage Information}}
  
[[Category:ELR]]
+
[[Category:NAA]]

Latest revision as of 09:24, 12 March 2019

Note.jpg Because the geodatabase is built on a per client basis, it is also recommended to launch the client on the server to fully update the geodatabase prior to backing it up.

To back up IMSMA data:

  1. Before beginning the backup process, verify that the IMSMANG server and all IMSMA clients have been stopped.
  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 Backup.
  6. IMSMA Backup window

    IMSMA Backup window

  7. In the IMSMA Backup window, click the DestDir.png button next to the Destination Directory field. The Open window displays.
  8. From the Open window:
    • Navigate to the folder to which you would like to save the backup files.
    • Select a secure folder where there is enough space for the backup.
    • To store the backup on the same computer as the database is on, is not a secure place.
    • Click the Open button. The name of the folder displays in the Destination Directory field.
  9. In the Include in addition to IMSMA Database section of the Backup window, check the checkbox (CheckedBoxIcon.png) next to each item to back up. If you do not check any items, only the IMSMA database and the attachments will be backed up. See the following table for a description of the type of information that is backed up with each file.
  10. Backup File Descriptions
    Backup File Description
    GIS Database All the GIS data such as map symbols and their locations that appear in the Map pane. It is recommended to include this in the backup so the receiver of the backup does not need to rebuild the sandbox. The files are located in the C:\IMSMAng\client\gis\sandbox\[active map]\map folder.
    Map Data All the files that builds up the background map of the active map display will be backup. The files are located in the C:\IMSMAng\server\gis\maps\[active map] folder. If there is sub-theme assignments also C:\IMSMAng\client\conf\UserPrefs.props will be included.
    Form Template Data Entry Form templates that were saved in the C:\IMSMAng\client\FormTemplates\MyTemplates folder. Published templates are stored in the database.
    Report Template iReport templates that were saved in the C:\IMSMAng\iReport\ireport\templates folder.
    Translations The ITerms_XX.properties, IMessage_XX.properties and trans_XX.properties files. The files are located in the C:\IMSMAng\client\resources\com\fgm\imsma\lexicon folder.
  11. We never recommend to exclude the attachments but if you would like to reduce the size of the backup folder, you may select to back up the database without including attachments.
  12. Click the Backup button.
  13. Note.jpg It is possible to change the database password with SQL software.
  14. Enter the database password.

  15. Enter the password

    Enter the password

  16. Click the OK button. A copy of your data is saved to the specified destination directory in a folder named with Backup_current_date_and_time (e.g. Backup_2014_10_01_17_45_15).

  17. Backup went well

    Backup went well

  18. Click the Close button.
  19. Verify the result of the backup.
  20. Verify that the backup went well

    Is the expected result there?

Errors during backup

Warning.jpg If you see any error message during backup, it means that you do NOT have any backup of your database!
The backup did not went well

The backup did not went well

The most common reasons why the backup did not go well are:

  • the password was mistyped
  • there was not enough space in the specified folder
  • the user did not have permission to write to the specified folder

In the details you will see more details on why the backup did not go well.

The backup did not went well

Expand the error message by clicking on Show Detail

Example of another error message in the Console log:

ava.lang.StringIndexOutOfBoundsException: String index out of range: -1

This is an indication that something is not correct with e.g. IMSMA Client variables or Environment variables on the computer.