How to set up a backup of your Vertec data
Product line
Standard
|Expert
Operating mode
CLOUD ABO
|ON-PREMISES
Modules
Services & CRM
Budget & Phases
Purchases
Resource Planning
Business Intelligence
Regular backup of your data is essential. All data collected in Vertec as well as adjustments to the Vertec configuration are saved in the Vertec database.
With the Cloud Suite, your data is automatically backed up. You can also manually initiate and download a backup at any time. This article is aimed at customers who operate Vertec on-premises.
The database is the central element that must be included in any backup. If you do not have your Vertec documents integrated in Vertec , you should also include the Vertec Document Tray in your backup system.
We recommend that you pay particular attention to 2 points:
If you Microsoft SQL Server you can use the backup mechanisms provided with MS SQL Server. How to back up your data with Firebird is described below.
A Firebird database should never be backed up during operation, as client access cannot be excluded at the time of the backup and the backup file generated in this way would be unusable. The following options ensure a consistent Firebird backup:
gbak is the backup program of Firebird, the database server that comes standard with Vertec. This program can be used to create an automatic backup of the Vertec database. In the following, such a backup process will be automated.
Create a batch file (text file with the extension .bat
) and save it on the server, such as in the Vertec programs directory.
The file must contain the following row:
“C:\Program Files\Firebird 4.0\gbak.exe” -b “C:\Program Files\Vertec\DB\vertec.fdb” “C:\Program Files\Vertec\DB\Backup\vertec.fbk” -user SYSDBA -password DBPASSWORT
gbak.exe
. If you cannot write everything in one piece (as in “Firebird 4.0”), you must enclose the path in double quotation marks.mkdir “C:\Program Files\Vertec\DB\Backup\%date%” move “C:\Program Files\Vertec\DB\Backup\vertec.fbk” “C:\Program Files\Vertec\DB\Backup\”%date%”\vertec.fbk”
Please make sure that the variable %date% contains a string without spaces. You can check this in the commandline interpreter (cmd) by typing echo %date%
. If you get a string with spaces, change the date format in the system settings.
Then use this file to set up a scheduled task. For how to do this, see Automate tasks in Vertec.
The resulting .fbk file can now be included in your normal backup routine. Please note that you only need to back up the .fbk file. You do not need to back up the .fdb file.
Creating a Vertec backup usually takes no longer than about 10 minutes, even for large databases. Coordinate this with other backup operations on your server.
Analogous to the backup, you can also perform a restore using gbak. A corresponding batch file looks like this:
“C:\Program Files\Firebird 4.0\gbak.exe” -c “C:\Program Files\Vertec\DB\Backup\vertec.fbk” “C:\Program Files\Vertec\DB\vertec.fdb” -user SYSDBA -password DBPASSWORD
(Legend see above)
In any case, we recommend that you copy the original database (vertec.fdb) to a safe location beforehand, so that no data is lost if something goes wrong during the restore.