diff --git a/restic/compose.yaml b/restic/compose.yaml index fa31382..91d4631 100644 --- a/restic/compose.yaml +++ b/restic/compose.yaml @@ -35,6 +35,8 @@ services: - backup_vaultwarden_data:/volumes/vaultwarden_data:ro - backup_joplin_data:/volumes/joplin_data:ro - backup_jelly_config:/volumes/jelly_config:ro + - backup_vpn_etc_wireguard:/volumes/vpn_etc_wireguard:ro + - backup_netdata_config:/volumes/netdata_config:ro environment: TZ: ${TIMEZONE:-Europe/Berlin} @@ -134,6 +136,12 @@ volumes: backup_jelly_config: name: jelly_config external: true + backup_vpn_etc_wireguard: + name: vpn_etc_wireguard + external: true + backup_netdata_config: + name: netdata_config + external: true networks: compose_network: diff --git a/restic/config.json b/restic/config.json index c332079..e1dcf58 100644 --- a/restic/config.json +++ b/restic/config.json @@ -99,9 +99,13 @@ } }, { - "id": "gotify-backup", + "id": "mattermost-backup", "repo": "hidrive-backup", - "paths": ["/volumes/gotify_data"], + "paths": [ + "/volumes/mattermost_config", + "/volumes/mattermost_data", + "/volumes/mattermost_plugins" + ], "schedule": { "cron": "0 5 * * *" }, @@ -109,7 +113,26 @@ "policyTimeBucketed": { "daily": 7, "weekly": 4, - "monthly": 3 + "monthly": 6, + "yearly": 2 + } + } + }, + { + "id": "tandoor-backup", + "repo": "hidrive-backup", + "paths": [ + "/volumes/tandoor_staticfiles", + "/volumes/tandoor_mediafiles" + ], + "schedule": { + "cron": "0 5 * * *" + }, + "retention": { + "policyTimeBucketed": { + "daily": 7, + "weekly": 4, + "monthly": 6 } } }, @@ -242,6 +265,37 @@ "yearly": 2 } } + }, + { + "id": "vpn-backup", + "repo": "hidrive-backup", + "paths": ["/volumes/vpn_etc_wireguard"], + "schedule": { + "cron": "0 9 * * *" + }, + "retention": { + "policyTimeBucketed": { + "daily": 7, + "weekly": 4, + "monthly": 12, + "yearly": 3 + } + } + }, + { + "id": "netdata-backup", + "repo": "hidrive-backup", + "paths": ["/volumes/netdata_config"], + "schedule": { + "cron": "0 10 * * *" + }, + "retention": { + "policyTimeBucketed": { + "daily": 7, + "weekly": 4, + "monthly": 3 + } + } } ] }