Recovering lost records in GM

If you rely on synchronisation for remote access then things are a little more complicated than the situation I will describe here; likewise if the deleted record has been recreated by hand. If you are in any doubt, give us a call to discuss your problem in greater detail.

The following discussion assumes that you are confident using SQL Management Studio and are familiar with GoldMine’s internal workings. We will not be held responsible for any mishaps arising from your use of this blog post.

Always make a new backup before doing any surgery like this.

To recover a deleted record, you need to turn to your backups. Using SQL, restore a backup to a different database name (DO NOT overwrite your live database!).

Look for the three ‘set’ commands at the top of the query. Replace ‘my_restored_db’ and ‘goldmine’ with your own database names and use a SQL query on the backup database to find the accountno of the record that you wish to transfer; put that in in place of the demo accountno.

If you are certain that all the parameters are set correctly then execute the query.