Example configurations

For details about VolumeCare’s configuration options, see Configuration options and Retention policies.

Single-cluster

[format]
version=1.0

[volumecare]
mode=normal
driver=storpool

[policy:stopgap-short]
mode=stopgap
snapshots=3
interval=1

[policy:cust-main]
mode=exp

[policy:no]
mode=nosnap

[policy:keep-daily]
mode=keep-daily
interval=2
days=7

[template:one-ds-0]
policy=stopgap-short

[template:one-ds-1]
policy=cust-main

[template:*]
policy=no

Primary cluster

[format]
version=1.0

[volumecare]
mode=primary
driver=storpool
remote=cust-tier2

[policy:cust-main-remote]
mode=stopgap-remote
interval=2
days=7

[policy:cust-main]
mode=keep-daily
interval=2
days=7

[policy:no]
mode=nosnap

[template:one-ds-0]
policy=cust-main-remote

[template:one-ds-1]
policy=cust-main

[template:*]
policy=no

Backup cluster

[format]
version=1.0

[volumecare]
mode=backup
driver=storpool

[policy:cust-main-remote]
mode=stopgap-remote
interval=2
days=7

[policy:cust-main]
mode=keep-daily
interval=2
days=7

[policy:no]
mode=nosnap

[template:*]
policy=no

Two clusters sending backups to each other

[format]
version=1.0

[volumecare]
mode=primary_backup
driver=storpool
remote=cluster2

[policy:cust-main-remote]
mode=keep-daily-remote
interval=2
days=7

[policy:cust-main]
mode=keep-daily
interval=2
days=7
[format]
version=1.0

[volumecare]
mode=primary_backup
driver=storpool
remote=cluster1

[policy:cust-main-remote]
mode=keep-daily-remote
interval=2
days=7

[policy:cust-main]
mode=keep-daily
interval=2
days=7