Multiple Directories per Vault
Dirvish does not support this scheme directly, but you can use the following rsync trick to achieve multiple directories in one vault. Note that [=+ pattern] as exclusion pattern means inclusion of [=pattern].
For example, backing up [=/etc] and [=/root] and [=/var] from host [=beta], this is the [=/bank/vault/dirvish/default.conf]:
client: beta
tree: /
xdev: 1
index: gzip
log: gzip
image-default: %Y%m%d
exclude:
+ /etc
+ /var
+ /root
/*/
/*
/var/cache
/var/run
/var/tmpNOTE: Generally inclusions should occur before exclusions.Specifically, any included directories must occur before the
