After losing another cluster to negligence it’s time to setup archiving. I have couple of questions.
1. Is there a way to setup backups directly from the config?
[backup_agent] command = /usr/lib/foundationdb/backup_agent/backup_agent logdir = /var/log/foundationdb [backup_agent.1]
Can I add
datadir = /backups/ for the backup agent or something similar? I understand I can run the command
fdbbackup start -d /backups afterward but was curious if this step can done via config.
2. How many backup agents are reasonable?
I have 8 CPU server with 2TB NVME as data store and 2TB normal HDD. I want to point backups to the normal HDD.
I used 4 agents, but I made the selection quite arbitrary
[backup_agent.1] [backup_agent.2] [backup_agent.3] [backup_agent.4]
3. Any tweaks or suggestions?
Want to make sure the backups are close as possible to the current state of cluster so if something happens we can recover quickly.
Any pointers are appreciated.