How to backup your survey setup, database ‘DB_HPG2.sdf’


1. Introduction
Re-Installing the HPG_Port software onto the PDA will overwrite the pervious installation of HPG_Port and replace your database with a new blank database.
If you wish to save the original database which contains your defined site names and boreholes, it must be backed up as described below.
itmsoil Instruments recommend regularly performing a backup of the database as a precautionary measure.

2. Backup your HPG database
Connect the PDA to your PC.
The PC will recognise a device and configure the computer to enable the user to browse the PDA.

The configuration and software used to browse the PDA may vary depending on your computers setup. Windows Vista and above commonly has a built in interface. Windows operating systems predating Vista, will require active sync to be installed.

Once the PDA has successfully connected to the PC navigate to the PDA’s ‘SD Card’.
Locate the file named ‘DB_HPG2.sdf’ Please copy this file to your PC.

You have now successfully backed up the In-Port database containing all your survey setup. You can now disconnect the PDA from the PC.

3. Copying new HPG_Port files to the PDA

If you wish to upgrade to the latest version of HPG_Port please copy the files supplied by itmsoil Instruments onto your PDAs SD Card.
Download the attachment ‘HPG_Port Archer’ at the bottom of the article 
Extract the contents of this file to a location on your PC.

As an end result you will be left with two files, ‘HPG_PORT.cab’ and 'sqlce30.ppc.wce4.armv4.cab
Connect the PDA to your PC.
The PC will recognise a device and configure the computer to enable the user to browse the PDA.
Once the PDA has successfully connected to the PC. Navigate to the PDA’s ‘SD Card’.
Copy the following files and folder to the PDA’s SD Card:  'HPG_PORT.cab’,  'sqlce30.ppc.wce4.armv4.cab'

If you receive a message asking for confirmation to overwrite existing file select ok.
Then disconnect the PDA from the PC.

4. Re-installing or repairing HPG_Port

This process will install a new copy of the HPG_Port software onto the PDA. This will over write any original software and create a new empty database on the PDA’s SD Card. If you wish to save the original database with your defined site names and boreholes, it must be backed up as described in section 4 above.
Sqlce30.ppc.wce4.armv4.CAB’ and ‘HPG_PORT.CAB’ must be on the ‘SD Card’ to complete an installation.  If these files are not present or you suspect they need replacing please follow section 5 above.
Connect the PDA to your PC
The PC will recognise a device and configure the computer to enable the user to browse the PDA.
Once the PDA has successfully connected to the PC. Navigate to the PDA’s ‘SD Card’.
Select Sqlce30.ppc.wce4.armv4.CAB’ to start its installation.
If a previous version of SQL Mobile 2005 is installed the user will receive a confirmation message to re-install. Select OK
The installation will continue and you will be asked if you wish to install SQL Mobile 2005 to the ‘device’ or ‘SD Card’ Select ‘device’.
Once the installation is complete, the PDA states it requires a restart. The PDA will request the user to confirm the restart. Select OK.

The PDA will restart. SQL Mobile 2005 installation is now complete. Please navigate back to the ‘SD Card’ to continue.
Select ‘HPG_PORT.cab' to start its installation.
If a previous version of HPG _Port is installed the user will receive a confirmation message to re-install. Select OK
The installation will continue and you will be asked if you wish to install HPG_Port to the ‘device’ or ‘SD Card’ Select ‘device’.
Once the installation is complete, the PDA will display a confirmation message. Select OK.

HPG_Port is now successfully installed on your PDA. If there is a previous database which needs to be restored please continue to the next step. If not please go to section 8. 

If restoring a database you will require to have the original backup file available on the PC to which the PDA will be connected.
Connect the PDA to your PC.
The PC will recognise a device and configure the computer to enable the user to browse the PDA.
Once the PDA has successfully connected to the PC. Navigate to the PDA’s ‘SD Card’.
Please locate the backed up database file ‘DB_HPG2.sdf’ on the PC.
Copy and paste the backed up ‘DB_HPG2.sdf’ file to the SD Card.
You will receive a message asking for confirmation to overwrite existing file. Select ok.
The original database has now been restored.