- utility for nbackup FireBird on Golang
- "PathToNbackup": "/usr/bin/nbackup", - path to nbackup utility
- "DirectIO":true,
- "PathToBackupFolder": "/home/test/backup/", - path to backup folder
- "AliasDb": "/home/bases/clear_base.fdb", - alias Database
- "User": "sysdba", - username
- "Password": "masterkey", - password
- "Physicalpathdb": "/home/bases/clear_base.fdb",
- "EmailFrom": "[email protected]",
- "EmailTo": "[email protected]",
- "SmtpServer": "127.0.0.1:25", - SMTP server, need set for correct sending email with backup errors
- "Pathtogfix": "/usr/bin/gfix", - path to gfix utility
- "NameBase": "TESTDB", - name database file , default value alias
- "TimeMlsc": 6000, - interval check backups ms
- "levels":[ { "level":0, "tick":"H", "check":false }, { "level":1, "tick":"N:5", "check" : false } ] }
- backup level, level -level, tick - (hour,week,day,hour), check - checking base(gfix -v -full)
go get github.com/pharmacy72/gobak
MIT:
Arteev Aleksey
Gordienko Roman