Home : Products : Hach WIMS : Hach WIMS Database Templates : Using Database Templates
Q13394 - INFO: Using Database Templates

Using a WIMS database template

A WIMS Database Template is a WIMS Backup (.opssql_backup) file that has all it’s data, samples, etc… removed, i.e. only the variables,forms,locations, reports, etc… remain.  Database templates are stored in the Knowledge base and are created using the OPSSQLIMPORT utility (latest version can be found at I:\SERVICES\OPSSQLIMPORT_LatestVersion):

Wastewater Database Templates:
http://www.opssys.com/instantkb/default.aspx?cNode=3J1K5E&pNodes=3L8E5X:3V5N8I:0T2S5A
Water Database Templates:
http://www.opssys.com/instantkb/default.aspx?cNode=2D2T8H&pNodes=3L8E5X:3V5N8I:0T2S5A

Search for a template:
 


Use Preview to view an Excel File that lists all the variables (by location), reports, and forms to quickly see what is in a Database Template. 


 

Download your WIMS backup to your WIMS Backup folder (Default of c:\hachwims\dbahelper\backup, set in your dbahelper.ini file)



To restore a Hach WIMS backup, you must use Server Setup.

1. Run Server Setup.

2. Log in to Server Setup.

3. Select the Restore Console Tab.

 

4. The Default restore Directory is the same as the default backup directory. If you have changed the default backup directory you will need to use the Change Backups Directory button to browse to the correct directory.

5. Once you are in the correct directory with the correct backup files, you will see a list of facilities. You can use the Restore Selected Database to restore a selected database.

Hint:  The next time you restore this database, you will be prompted to restore the database with a different unique ID.  This way, you can use the same database template to setup multiple facilities. 

 

Click  .   You will be prompted for the new unique id, note the OPS is automatically added to the start as all WIMS databases must start with OPS. 

 

 

Log into the new database:


Use the Var Admin Tool to quickly remove/copy variables. 

 

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 5/9/2011 8:52 AM.
Last Modified on 1/17/2014 10:35 AM.
Last Modified by Scott Dorner.
Article has been viewed 6821 times.
Rated 9 out of 10 based on 2 votes.
Print Article
Email Article