Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

CaliberRM database backups with date rotation

CaliberRM database backups with date rotation


CaliberRM database backups with date rotation


Attached to this article is a simple batch file named CRMBackup.bat that will create date-stamped CaliberRM backups and will place a similarly-stamped copy of the Versant database"s current profile.be file in the same directory. The script places these files in C:\CaliberRM_Backup by default, but can easily be modified to point to any desired directory.

If a Java Development Kit is installed, the script will also use the JAR utility to compress (ZIP) the files and then will delete the originals. This step can be replaced with a call to any other utility that can perform file compression (LZ*, RAR, BWT, etc.) from the command-line, such as WinZip, 7-Zip, bzip2, and so forth. The Versant database backup files compress extremely well (typically to 5-15% of the original size) so it is highly recommended that they be compressed to save storage space.

To run the script, simply save the file to a convenient location on your hard drive and invoke it from a command prompt, from the Windows "Run" box, or as a Scheduled Task.


  • This script is provided as-is, and is intended only to provide an example. It should not be relied upon in a production situation unless it has been thoroughly tested, vetted, and approved for use in each customer environment.
  • The script does not perform any checks to confirm space is available or whether any step succeeded, and does not replace the need for true off-site backups.
  • This script MUST be run as the Windows User that created the Versant database (run dblist to find the creator). Failure to do so will result in a small, meaningless SQMDB.bak file being created.
Related documents:

Old KB# 15725


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 18:24
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.