Skip to content
Snippets Groups Projects
readme.md 859 B
Newer Older
Evgeni Sladkovskii's avatar
Evgeni Sladkovskii committed

# Small backup client for AxonDB
Evgeni Sladkovskii's avatar
Evgeni Sladkovskii committed

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.

Evgeni Sladkovskii's avatar
Evgeni Sladkovskii committed
Client can run as a separate pod in kubernetes cluster as long as controldb/events disks are mounted to client in RO mode.
Evgeni Sladkovskii's avatar
Evgeni Sladkovskii committed

## Restore
Evgeni Sladkovskii's avatar
Evgeni Sladkovskii committed
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.

## Manual Testing
Evgeni Sladkovskii's avatar
Evgeni Sladkovskii committed
This project has AxnDb load test that can be used to generate events in your AxonDB instance to force it's backup.