A backup utility to backup MySQL DB and Directory on S3 store. Mainly tested against Digital Ocean Spaces
At least go 17
go mod tidy go build
- To run a backup, edit the config.toml file inside the config directory and just run the executable
./server-backup
- To view the keys and children stored on S3 bucket
./server-backup -view -bucket <your-bucket>
- To restore a backup:
.server-backup -restore -dir <target-dir> -bucket <your-bucket> -key <target-key> -rotation <target-rotation-key> -date <target-date>