{{Warning| Do '''NOT''' restore GIS database and map data. You need to rebuild the sandbox and by restoring the map you will '''overwrite''' the ArcGIS 10.1-version of ''imsma.mxd'' in C:\IMSMAng\server\gis\maps with the ArcGIS 9.3.1-version.}}
# Did the previous database that you worked with on the V6.0 computer had any attachments? If yes, delete them before restoring this database. ; # Restore the raw PostGresSQL dump on a computer with IMSMA V6.0;# Scan the restore log for error messages. ; # Apply the ''fix imsmaenum Foreign Key constraints'' [[Imsmaenum FK fix | script]]('''first''' time);# Take backup.;
# How many rows is there in the attachment table? If more than 0, then you have to verify that the attachments are included in the backup folder or instruct the country on how to handle them.
===Upgrade the database===__NOEDITSECTION__
Start the TrayLauncher for starting the upgrade scripts. When the '''upgrade scripts ''' are done:# Apply the ''fix imsmaenum Foreign Key constraints'' [[Imsmaenum FK fix | script]] ('''second''' time);