Default hosts-config.yml File - AFS

AFS Backup and Restore

Product
AFS
AFS_Version
7.11
Category
Technical Notes
language
English
audience
public

The hosts-config.yml configuration file defines many settings to run the backup and restore procedure, like the location of the backup directory or the previous and new hosts in the case of a migration.

The pre-packaged hosts-config.yml file is only given as a template. It must be customized to suit your needs.

Some settings are specific to roles (bo, idx, reply).

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

Default settings are set at the beginning of the file, followed by specific settings related to bo, idx, and reply.

defaults:
backup_dir: /usr/local/afs7/backup
backup_format: tgz
tmp_dir: /tmp
ssh:
user: antidot
key: /home/antidot/.ssh/default_ssh_key_file
hosts:
- hostname: bo1.hot-cluster
dst_host: bo1.warm-cluster
roles:
- bo
- um
bo:
user: antidot
password: secret_password
- hostname: specific-host.hot-cluster
dst_host: specific-host.warm-cluster
roles:
- idx
idx:
timeout_sec: 7200
service_ids:
- 123
- 789
ssh:
key: /secret/ssh_key
user: spec_user
backup_dir: /another/directory
tmp_dir: /yet/another/one
- hostname: extra.hot-cluster
roles:
- reply