Skip to content

Commit

Permalink
feat(ovh2): sanoid install
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgarel authored and root committed Oct 14, 2024
1 parent c39b644 commit 64af1ca
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions confs/ovh2/sanoid/sanoid.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# we only have volumes in rpool on this machine

[rpool]
use_template=local_data
recursive=yes


# Template to regularly snapshot
# we only keep VERY FEW snapshots to avoid filling disk space
# OVH3 will keep more of them
[template_local_data]
# How often snapshots should be taken under an hour
frequent_period=60
# What to keep
# number of sub-hourly snapshots
frequently = 0
# number of hourly snapshots
hourly = 2
# number of daily snashots
daily = 1
# number of monthly snashots
monthly = 0
# number of yearly snashots
yearly = 0
# whether snapshots should be taken automatically
autosnap = yes
# Should old snapshots be pruned
autoprune = yes
1 change: 1 addition & 0 deletions confs/ovh2/systemd/system/[email protected]
1 change: 1 addition & 0 deletions confs/ovh2/systemd/system/sanoid.service.d

0 comments on commit 64af1ca

Please sign in to comment.