Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

idb-project/idbvamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COMMAND DOCUMENTATION

    Command idbvamp extracts last backup runs from a bacula MySQL database
    putting them into IDB. It is supposed to be run regularly by cron.


    Command line arguments

    The following command line arguments are supported:

	-config string
	  	config file (default "/etc/bytemine/idbvamp.json")
	-example
	  	write an example config to idbvamp.json.example in the current dir.
	-version
	  	display version and exit


    Configuration file

    The configuration is a JSON file with the following fields.

	Create: boolean, should machines not already present in the IDB be created
	Dsn: Data Source Name like described at
		https://github.com/go-sql-driver/mysql#dsn-data-source-name
		It has to use the parseTime=true parameter!
	Url: Address of the IDB.
	ApiToken: Token for IDB API access.
	InsecureSkipVerify: Ignore invalid SSL certificate chains. Optional.
	Debug: Enable debug output. Optional.

    The example config generated by the -example switch looks like this: {

	"Create": false,
	"Dsn": "root:@tcp(127.0.0.1:3306)/bacula?parseTime=true",
	"Url": "https://idb.example.com",
	"ApiToken": "myVerySecretToken",
	"InsecureSkipVerify": false,
	"Debug": false

    }

About

idb adapter for bacula community edition

Resources

License

Stars

Watchers

Forks

Packages

No packages published