Skip to content

Backrest on BTRFS snapshots, email diff #320

Answered by Hoempi
lucmos asked this question in Q&A
Discussion options

You must be logged in to vote

I just went ahead and tested this. Works like a charm, this is my main backup plan:

{
  "id": "main",
  "repo": "optiplex",
  "paths": [
    "/mnt/docker-data/docker-data-snapshot",
    "/opt/stacks"
  ],
  "excludes": [],
  "iexcludes": [],
  "schedule": {
    "clock": "CLOCK_LOCAL",
    "cron": "0,42 * * * *"
  },
  "retention": {
    "policyTimeBucketed": {
      "yearly": 1,
      "monthly": 3,
      "weekly": 4,
      "daily": 7,
      "hourly": 5
    }
  },
  "hooks": [
    {
      "conditions": [
        "CONDITION_SNAPSHOT_START",
        "CONDITION_SNAPSHOT_ERROR",
        "CONDITION_SNAPSHOT_SUCCESS"
      ],
      "actionHealthchecks": {
        "webhookUrl": "https://myhc.exam…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Hoempi
Comment options

@Hoempi
Comment options

Answer selected by garethgeorge
@garethgeorge
Comment options

@Hoempi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants