Newer
Older
Idea behind this client is to schedule AxonDB backups and store them in predefined location.
Client periodically calls AxonDB to check if there is new closed event files.
If there is one or more it creates a controlDB backup file and copies it and new events files to preconfigured locations.
Client can run as a separate pod in kubernetes cluster as long as controldb/events disks are mounted to client in RO mode.
To restore copy all files events backups to corresponding folders in AxonDB.
Also copy last controlDB dump and name it `${db-name}.mv.db` depending on your config.
After start AxonDB should load all restored events and load all new ones from other replicas.
This project has AxnDb load test that can be used to generate events in your AxonDB instance to force it's backup.