Default data-config.yml File - AFS - Technical Notes

AFS Backup and Restore

Product
AFS
AFS_Version
7.11
Category
Technical Notes
language
English
audience
public

The data-config.yml configuration file defines a set of roles.

A role has a name and a list of datasets which defines what to backup. bo and idx roles are handled specifically, but you are free to use any string as a role name.

roles:
- name: bo
datasets: -> A list of the files and mongo DB we want to backup
- files:
patterns:
- "/usr/local/afs7/conf"
- "/usr/local/afs7/logs/"
- "/usr/local/afs7/bo-server/conf/"
- "/usr/local/afs7/bo-server/classify"
- "/usr/local/afs7/bo-server/data/"
- "/usr/local/afs7/bo-server/logs"
- "/usr/local/afs7/bo-server/vocabularies/"
- "/usr/local/afs7/bo-ac/acc"
- "/usr/local/afs7/bo-ac/config/"
- "/usr/local/afs7/bo-ac/core/"
- "/usr/local/afs7/bo-ac/metrics/"
- "/usr/local/afs7/bo-ac/promote/"
- "/usr/local/afs7/bo-ac/stats/"
- mongo:
db_patterns:
- antidot-backoffice

excluded_collections:
- magellan.component
- magellan.host
- magellan.meta
- status
- mongo:
backs up all collections of the audit DB
db_patterns:
- antidot-audit
- name: idx
datasets:
- files:
patterns:
- "/usr/local/afs7/conf"
- "/usr/local/afs7/logs/"
- "/usr/local/afs7/PaF/**/logs"
- "/usr/local/afs7/PaF/**/conf"
- "/usr/local/afs7/PaFManager/db"
- "/usr/local/afs7/PaFManager/logs"
- mongo:
db_patterns:
- antidot-paf-.*
- antidot-pafmanager
- name: reply
datasets:
- files:
patterns:
- "/usr/local/afs7/conf"
- "/usr/local/afs7/logs/"
- "/usr/local/afs7/reply/**/conf"
- "/usr/local/afs7/reply/**/agents"
- "/usr/local/afs7/reply/**/acp"
- mongo:
db_patterns:
- antidot-paf-.*
- antidot-pafmanager
- name: nerada
datasets:
- mongo:
db_patterns:
- antidot-nerada-.*