VetAIS manual database backup
version 1.0, 3.7.2016
1) Basic information
2) Important files
3) Example of DBBACKUP.BAT
4) Backuping parameters
3) Example of DBBACKUP.BAT
1) Basic information
This manual describes how to edit and start automatic backup script for backuping VetAIS
database.
2) Important files
All important files are stored in main VetAIS installation folder, in default C:\VetAIS\ folder.
dbbackup.jar java backuping file
dbbackup.bat Windows BAT files uses for starting backup utility, in this file you can set all
settings for your backuping
3) Example of DBBACKUP.BAT
Please see bellow example of dbbackup.bat file:
Please see bellow example of dbbackup.bat file:
Line1:@echo off
setting for ECHO, please do not change
Line2:REM for starting backup please check or change path to main VetAIS folder
REM line with note
Line3:cd c:\vetais
go to path where is VetAIS stored, if you use VetAIS on different hard drive or different path,
please change this line accordinaly
Line4:start C:\VetAIS\jre\bin\javaw.exe jar dbbackup.jar pql localhost 5454 vetais postgres vetais .backup nossl
repeat=6 gui=1
main line for calling dbbackup.jar and local Java JRE, here you can change your settings with
parameters described in chapter (4) of this document
4) Backuping parameters
7) Recommended steps
— set your dbbackup.bat file, in default installation you should change just path where
backup is stored
— try to start dbbackup.bat manually and see if backup was performed
— make shortcut of dbbackup.bat file and copy it into folder «Run after start» in windows
menu
6) Example of DBBACKUP.BAT
Main dbbackup utility window.