I’m thinking about what’s the best way to setup daily backups for our Aerospike cluster. Mainly deciding between running asbackup on the cluster nodes itself or a separate backup node.
Let’s say we have a 10 node cluster. Each of those nodes will have a daily cron job to run asbackup with --node-list option with only it’s IP. The backup files are stored in a directory in attached EBS, and once asbackup is done, the files are uploaded to S3.
Pros:
- Save on bandwidth and instance cost by running backup on node itself instead of separate backup node
- Faster backup vs running backup on separate backup node
- Easier setup
Cons:
- Performance of cluster may be degraded during backup