This article is a reproduction of the information in the KM7 help file and it also appears in the KM7 PDF documentation
Regular backups are important. It is also very important that backups are transferred to separate media and then stored in a secure location away from your computer systems.
If you don't backup it up, you have to be happy to lose it.
Because the ProMaster Key Manager database may be used at any time by a ProMaster Key Manager user, you should never copy or backup the ProMaster Key Manager database directly unless you can be 100% certain that it will not be used while you are copying it.
The backup program provided with ProMaster Key Manager is more smart than a simple file copy. A backup created with ProMaster Key Manager backup program may be produced while others are using ProMaster Key Manager.
Extending on this, do not backup the database file (the FDB file and any associated files) directly with a third party backup solution. Only ever use ProMaster Key Manager Backup to produce backups, then you may freely backup the resultant files using a third party backup solution.
The ProMaster Key Manager backup program does another task that is vitally important to the health of the database while the backup is running. It is responsible for "garbage collection" in the database which eliminates old unnecessary data and therefore controls database performance and bloat. It is responsible also for recalculating index quality which is vital for maintained performance.
WARNING: Live backups made with ShadowProtect or similar when the database is in use are of limited use. The reason why is that they make a point in time snapshot of the database, but do not capture a read-consistent view of the data. If a backup made with ShadowProtect or similar is restored, there is a very good chance that it will be corrupt, and look to the database engine very much like someone pulled the power cord out of the wall. Consider this to be a expensive exercise to repair the database. ALWAYS run the ProMaster Key Manager backup program. The backup files produced by the ProMaster Key Manager backup can be captured safely by ShadowProtect etc.
To produce a backup:
Backup
button.Start
button.The file that the backup creates has a FBK file extension. Should then need arise, the backup program can be used to restore this file to reconstruct your database.
In the normal operation of ProMaster Key Manager, the option Perform database maintenance during the backup is an important part of maintaining a healthy and efficient database. The only times you should do a backup with this option turned off is if you plan to discard the original database and immediately restore your backup, or if you need the backup to be performed as fast as possible. This option, while important, does add a small amount of time to the backup process.
Backups can be configured to automatically zip the FBK file into a ZIP file. This is achieved by turning on the Zip the backup after is is created flag. Zipping a backup reduces the amount of disk storage required for the backup, but does use more disk space and time during the backup process. Be aware that there is a maximum file size for zip files. Failure to do this may result in an unusable zip file. Unless disk space is is critically low, it is not recommended to use this option as it makes backups significantly slower and the backup file must be extracted in the event that it is to be restored.
The Produce verbose output option produces messages about the various stages of backup. Many messages are produced and the backup will therefore run measurably slower. There is no need to use this option unless instructed to by ProMaster Key Manager support staff.
Backup files (either those with a FBK file extension or the zipped backups with a ZIP file extension) should be copied off your computer onto separate media. Backups should then be stored according to good business and computing practice to safeguard your data investment.
The cost of producing permanent backups is extremely small compared to the cost of re-entering data.
The process of restoring a backup to produce a working database will not overwrite an existing database. If it is your intention to replace your database by restoring a backup you must first locate your existing database and rename it.
To restore a backup:
Restore
button.Select
button, and select the backup file (the FBK file) for database. If you zipped the backup, you must first extract the backup file from the zip archive (using WinZip or similar).The Produce verbose output option produces messages about the various stages of restore. Many messages are produced and the restore will therefore run measurably slower. There is no need to use this option unless instructed to by ProMaster Key Manager support staff.
In the ideal world you would create daily backups.
ProMaster Key Manager Backup can be configured to:
To configure automatic backups:
Copy to
Folder button to choose the destination folder copy the backup to. Be aware that the backup process must have access to this location, so there is no point in choosing a remote folder that you can see when logged in as a user unless the scheduled backup process is also able to access that folder. To remove a Copy to
folder if you do not require it, Right click the file name and choose Clear Copy to folder
.Copy to
location is never purged so be sure you take care of this yourself if required.If you want an email notification after the scheduled backup has run, use the settings in the email section.
You may need to check with your mail administrator for the settings.
Option | Description |
---|---|
Server name | The name or IP address of your SMTP mail server |
Sender's name | The name of the person to appear as the sender |
Sender's email | The email address of the person to appear as the sender. Some mail servers require the sender email to be the same as the SMTP login name if SMTP login name is used |
Recipient email | Put in the email recipient |
If you wish, you may access Windows Scheduled Tasks via your Start button and schedule the program KM7Back.exe to run at a time of your bidding. If you do that, be sure to start KM7Back.exe with the command line parameter -auto
Or, take the easy way. When you click on the button Schedule Auto Backup..., ProMaster Key Manager Backup allows you to schedule the backup in your Windows Scheduled Tasks. To do this:
If you wish to configure Windows Scheduled Tasks manually, consult your Windows documentation or Computer Consultant for information on how to configure your version of Windows for this task.
Your computer must remain on for Windows to be able to schedule tasks.
Here's a simple rule: No power = No backup.
Just like with a backup file that you create interactively, the backups produced when your schedule software starts the ProMaster Key Manager Backup program should be copied to external media for safe keeping.
SCHEDULED TASK USER ACCOUNT
It is strongly recommended that you create a Windows user specifically for running the backup and use that user for no other purpose. The user will need to have permissions to log on to run a batch job, and will need permissions to the folders where the backup files are produced (including delete permissions so old backups can be removed). If you do this, make sure the account password is secure and never expires. It is all too common for users to configure scheduled tasks with an account, such as their own login then at some time in the future change their password. After that the backups will not run as scheduled task no longer has permissions to run.
For security reasons, the ProMaster Key Manager Backup program will not allow you to backup a database located on another computer. i.e. The backup must be performed on the server where the database is located.
Always test your scheduled backup by opening your Windows Scheduled Tasks and choosing to run the task immediately and verify that the backup files are produced. Check the task options to ensure that they make sense and that the task will run even if a user is not logged in.