Permalink
Browse files

add "hotspare" template (for local, hourly replication targets)

  • Loading branch information...
jimsalter committed Jan 25, 2019
1 parent 9ec0c0b commit 7ef435c5e31c00d47c8b4442334eed5df4ca175c
Showing with 21 additions and 0 deletions.
  1. +21 −0 sanoid.conf
@@ -69,6 +69,27 @@
daily_warn = 48
daily_crit = 60

[template_hotspare]
autoprune = yes
frequently = 0
hourly = 30
daily = 90
monthly = 3
yearly = 0

### don't take new snapshots - snapshots on backup
### datasets are replicated in from source, not
### generated locally
autosnap = no

### monitor hourlies and dailies, but don't warn or
### crit until they're over 4h old, since replication
### is typically hourly only
hourly_warn = 4h
hourly_crit = 6h
daily_warn = 2d
daily_crit = 4d

[template_scripts]
### dataset and snapshot name will be supplied as environment variables
### for all pre/post/prune scripts ($SANOID_TARGET, $SANOID_SNAPNAME)

0 comments on commit 7ef435c

Please sign in to comment.