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
        + /etc
        + /var
        + /root

NOTE: Generally inclusions should occur before exclusions.Specifically, any included directories must occur before the

Make [=xdev: 0] if these directories are not on the [=/] partition.

MultipleDirectoriesPerVault (last edited 2011-01-24 06:08:42 by KeithLofstrom)