feat: add automated backup configuration for all volumes
Added comprehensive backup configuration to Backrest:
**Repository Configuration:**
- Target: /repos (mounted from /mnt/hidrive/users/valknar/Backup)
- Password: falcon-backup-2025
- Auto-initialize and auto-unlock enabled
- Weekly prune schedule (Sundays at 2 AM)
- Weekly integrity checks (Sundays at 3 AM)
**Backup Plans** (11 plans covering all volumes):
1. **postgres-backup** (2 AM daily)
- PostgreSQL database
- Retention: 7 daily, 4 weekly, 6 monthly, 2 yearly
2. **redis-backup** (3 AM daily)
- Redis cache data
- Retention: 7 daily, 4 weekly, 3 monthly
3. **directus-uploads-backup** (4 AM daily)
- Directus media files
- Retention: 7 daily, 4 weekly, 6 monthly, 2 yearly
4. **directus-bundle-backup** (4 AM daily)
- Directus extensions
- Retention: 7 daily, 4 weekly, 3 monthly
5. **awesome-backup** (5 AM daily)
- Awesome app database
- Retention: 7 daily, 4 weekly, 6 monthly
6. **gotify-backup** (5 AM daily)
- Gotify notifications
- Retention: 7 daily, 4 weekly, 3 monthly
7. **scrapy-backup** (6 AM daily)
- Scrapyd data and spider code
- Retention: 7 daily, 4 weekly, 3 monthly
8. **n8n-backup** (6 AM daily)
- n8n workflow data
- Retention: 7 daily, 4 weekly, 6 monthly
9. **filestash-backup** (7 AM daily)
- Filestash state
- Retention: 7 daily, 4 weekly, 3 monthly
10. **linkwarden-backup** (7 AM daily)
- Linkwarden bookmarks and search index
- Retention: 7 daily, 4 weekly, 6 monthly
11. **letsencrypt-backup** (8 AM daily)
- SSL certificates
- Retention: 7 daily, 4 weekly, 12 monthly, 3 yearly
**Configuration Mount:**
- config.json mounted directly at /config/config.json
- Read-write mode to allow UI updates
- Removed backrest_config volume (using file mount instead)
All backups scheduled at different times to spread I/O load.
Critical data (postgres, directus, letsencrypt) has longer retention.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 10:26:04 +01:00
|
|
|
{
|
2025-11-06 10:34:09 +01:00
|
|
|
"version": 4,
|
feat: add automated backup configuration for all volumes
Added comprehensive backup configuration to Backrest:
**Repository Configuration:**
- Target: /repos (mounted from /mnt/hidrive/users/valknar/Backup)
- Password: falcon-backup-2025
- Auto-initialize and auto-unlock enabled
- Weekly prune schedule (Sundays at 2 AM)
- Weekly integrity checks (Sundays at 3 AM)
**Backup Plans** (11 plans covering all volumes):
1. **postgres-backup** (2 AM daily)
- PostgreSQL database
- Retention: 7 daily, 4 weekly, 6 monthly, 2 yearly
2. **redis-backup** (3 AM daily)
- Redis cache data
- Retention: 7 daily, 4 weekly, 3 monthly
3. **directus-uploads-backup** (4 AM daily)
- Directus media files
- Retention: 7 daily, 4 weekly, 6 monthly, 2 yearly
4. **directus-bundle-backup** (4 AM daily)
- Directus extensions
- Retention: 7 daily, 4 weekly, 3 monthly
5. **awesome-backup** (5 AM daily)
- Awesome app database
- Retention: 7 daily, 4 weekly, 6 monthly
6. **gotify-backup** (5 AM daily)
- Gotify notifications
- Retention: 7 daily, 4 weekly, 3 monthly
7. **scrapy-backup** (6 AM daily)
- Scrapyd data and spider code
- Retention: 7 daily, 4 weekly, 3 monthly
8. **n8n-backup** (6 AM daily)
- n8n workflow data
- Retention: 7 daily, 4 weekly, 6 monthly
9. **filestash-backup** (7 AM daily)
- Filestash state
- Retention: 7 daily, 4 weekly, 3 monthly
10. **linkwarden-backup** (7 AM daily)
- Linkwarden bookmarks and search index
- Retention: 7 daily, 4 weekly, 6 monthly
11. **letsencrypt-backup** (8 AM daily)
- SSL certificates
- Retention: 7 daily, 4 weekly, 12 monthly, 3 yearly
**Configuration Mount:**
- config.json mounted directly at /config/config.json
- Read-write mode to allow UI updates
- Removed backrest_config volume (using file mount instead)
All backups scheduled at different times to spread I/O load.
Critical data (postgres, directus, letsencrypt) has longer retention.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 10:26:04 +01:00
|
|
|
"instance": "falcon",
|
|
|
|
|
"repos": [
|
|
|
|
|
{
|
|
|
|
|
"id": "hidrive-backup",
|
|
|
|
|
"uri": "/repos",
|
|
|
|
|
"password": "falcon-backup-2025",
|
|
|
|
|
"autoUnlock": true,
|
|
|
|
|
"autoInitialize": true,
|
|
|
|
|
"prunePolicy": {
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 2 * * 0"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"checkPolicy": {
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 3 * * 0"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"plans": [
|
|
|
|
|
{
|
|
|
|
|
"id": "postgres-backup",
|
|
|
|
|
"repo": "hidrive-backup",
|
|
|
|
|
"paths": ["/volumes/core_postgres_data"],
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 2 * * *"
|
|
|
|
|
},
|
|
|
|
|
"retention": {
|
|
|
|
|
"policyTimeBucketed": {
|
|
|
|
|
"daily": 7,
|
|
|
|
|
"weekly": 4,
|
|
|
|
|
"monthly": 6,
|
|
|
|
|
"yearly": 2
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "redis-backup",
|
|
|
|
|
"repo": "hidrive-backup",
|
|
|
|
|
"paths": ["/volumes/core_redis_data"],
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 3 * * *"
|
|
|
|
|
},
|
|
|
|
|
"retention": {
|
|
|
|
|
"policyTimeBucketed": {
|
|
|
|
|
"daily": 7,
|
|
|
|
|
"weekly": 4,
|
|
|
|
|
"monthly": 3
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "directus-uploads-backup",
|
|
|
|
|
"repo": "hidrive-backup",
|
|
|
|
|
"paths": ["/volumes/directus_uploads"],
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 4 * * *"
|
|
|
|
|
},
|
|
|
|
|
"retention": {
|
|
|
|
|
"policyTimeBucketed": {
|
|
|
|
|
"daily": 7,
|
|
|
|
|
"weekly": 4,
|
|
|
|
|
"monthly": 6,
|
|
|
|
|
"yearly": 2
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "directus-bundle-backup",
|
|
|
|
|
"repo": "hidrive-backup",
|
|
|
|
|
"paths": ["/volumes/directus_bundle"],
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 4 * * *"
|
|
|
|
|
},
|
|
|
|
|
"retention": {
|
|
|
|
|
"policyTimeBucketed": {
|
|
|
|
|
"daily": 7,
|
|
|
|
|
"weekly": 4,
|
|
|
|
|
"monthly": 3
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "awesome-backup",
|
|
|
|
|
"repo": "hidrive-backup",
|
|
|
|
|
"paths": ["/volumes/awesome_data"],
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 5 * * *"
|
|
|
|
|
},
|
|
|
|
|
"retention": {
|
|
|
|
|
"policyTimeBucketed": {
|
|
|
|
|
"daily": 7,
|
|
|
|
|
"weekly": 4,
|
|
|
|
|
"monthly": 6
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
feat: update Restic backup configuration
Updated Restic backup system to include all current services:
**Volume Mounts Added:**
- vpn_etc_wireguard (WireGuard VPN configuration)
- netdata_config (Netdata monitoring configuration)
**Backup Plans Updated:**
- Replaced gotify-backup with mattermost-backup
- Now backs up: mattermost_config, mattermost_data, mattermost_plugins
- Retention: 7 daily, 4 weekly, 6 monthly, 2 yearly
- Added tandoor-backup
- Backs up: tandoor_staticfiles, tandoor_mediafiles
- Schedule: 5 AM daily
- Retention: 7 daily, 4 weekly, 6 monthly
- Added vpn-backup
- Backs up: vpn_etc_wireguard (critical for VPN restoration)
- Schedule: 9 AM daily
- Retention: 7 daily, 4 weekly, 12 monthly, 3 yearly
- Added netdata-backup
- Backs up: netdata_config
- Schedule: 10 AM daily
- Retention: 7 daily, 4 weekly, 3 monthly
**Backup Schedule:**
- 2 AM: postgres, joplin
- 3 AM: redis
- 4 AM: directus (uploads, bundle)
- 5 AM: awesome, mattermost, tandoor
- 6 AM: scrapy, n8n
- 7 AM: filestash, linkwarden
- 8 AM: letsencrypt, vaultwarden
- 9 AM: jellyfin, vpn
- 10 AM: netdata
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 21:01:31 +01:00
|
|
|
"id": "mattermost-backup",
|
feat: add automated backup configuration for all volumes
Added comprehensive backup configuration to Backrest:
**Repository Configuration:**
- Target: /repos (mounted from /mnt/hidrive/users/valknar/Backup)
- Password: falcon-backup-2025
- Auto-initialize and auto-unlock enabled
- Weekly prune schedule (Sundays at 2 AM)
- Weekly integrity checks (Sundays at 3 AM)
**Backup Plans** (11 plans covering all volumes):
1. **postgres-backup** (2 AM daily)
- PostgreSQL database
- Retention: 7 daily, 4 weekly, 6 monthly, 2 yearly
2. **redis-backup** (3 AM daily)
- Redis cache data
- Retention: 7 daily, 4 weekly, 3 monthly
3. **directus-uploads-backup** (4 AM daily)
- Directus media files
- Retention: 7 daily, 4 weekly, 6 monthly, 2 yearly
4. **directus-bundle-backup** (4 AM daily)
- Directus extensions
- Retention: 7 daily, 4 weekly, 3 monthly
5. **awesome-backup** (5 AM daily)
- Awesome app database
- Retention: 7 daily, 4 weekly, 6 monthly
6. **gotify-backup** (5 AM daily)
- Gotify notifications
- Retention: 7 daily, 4 weekly, 3 monthly
7. **scrapy-backup** (6 AM daily)
- Scrapyd data and spider code
- Retention: 7 daily, 4 weekly, 3 monthly
8. **n8n-backup** (6 AM daily)
- n8n workflow data
- Retention: 7 daily, 4 weekly, 6 monthly
9. **filestash-backup** (7 AM daily)
- Filestash state
- Retention: 7 daily, 4 weekly, 3 monthly
10. **linkwarden-backup** (7 AM daily)
- Linkwarden bookmarks and search index
- Retention: 7 daily, 4 weekly, 6 monthly
11. **letsencrypt-backup** (8 AM daily)
- SSL certificates
- Retention: 7 daily, 4 weekly, 12 monthly, 3 yearly
**Configuration Mount:**
- config.json mounted directly at /config/config.json
- Read-write mode to allow UI updates
- Removed backrest_config volume (using file mount instead)
All backups scheduled at different times to spread I/O load.
Critical data (postgres, directus, letsencrypt) has longer retention.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 10:26:04 +01:00
|
|
|
"repo": "hidrive-backup",
|
feat: update Restic backup configuration
Updated Restic backup system to include all current services:
**Volume Mounts Added:**
- vpn_etc_wireguard (WireGuard VPN configuration)
- netdata_config (Netdata monitoring configuration)
**Backup Plans Updated:**
- Replaced gotify-backup with mattermost-backup
- Now backs up: mattermost_config, mattermost_data, mattermost_plugins
- Retention: 7 daily, 4 weekly, 6 monthly, 2 yearly
- Added tandoor-backup
- Backs up: tandoor_staticfiles, tandoor_mediafiles
- Schedule: 5 AM daily
- Retention: 7 daily, 4 weekly, 6 monthly
- Added vpn-backup
- Backs up: vpn_etc_wireguard (critical for VPN restoration)
- Schedule: 9 AM daily
- Retention: 7 daily, 4 weekly, 12 monthly, 3 yearly
- Added netdata-backup
- Backs up: netdata_config
- Schedule: 10 AM daily
- Retention: 7 daily, 4 weekly, 3 monthly
**Backup Schedule:**
- 2 AM: postgres, joplin
- 3 AM: redis
- 4 AM: directus (uploads, bundle)
- 5 AM: awesome, mattermost, tandoor
- 6 AM: scrapy, n8n
- 7 AM: filestash, linkwarden
- 8 AM: letsencrypt, vaultwarden
- 9 AM: jellyfin, vpn
- 10 AM: netdata
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 21:01:31 +01:00
|
|
|
"paths": [
|
|
|
|
|
"/volumes/mattermost_config",
|
|
|
|
|
"/volumes/mattermost_data",
|
|
|
|
|
"/volumes/mattermost_plugins"
|
|
|
|
|
],
|
feat: add automated backup configuration for all volumes
Added comprehensive backup configuration to Backrest:
**Repository Configuration:**
- Target: /repos (mounted from /mnt/hidrive/users/valknar/Backup)
- Password: falcon-backup-2025
- Auto-initialize and auto-unlock enabled
- Weekly prune schedule (Sundays at 2 AM)
- Weekly integrity checks (Sundays at 3 AM)
**Backup Plans** (11 plans covering all volumes):
1. **postgres-backup** (2 AM daily)
- PostgreSQL database
- Retention: 7 daily, 4 weekly, 6 monthly, 2 yearly
2. **redis-backup** (3 AM daily)
- Redis cache data
- Retention: 7 daily, 4 weekly, 3 monthly
3. **directus-uploads-backup** (4 AM daily)
- Directus media files
- Retention: 7 daily, 4 weekly, 6 monthly, 2 yearly
4. **directus-bundle-backup** (4 AM daily)
- Directus extensions
- Retention: 7 daily, 4 weekly, 3 monthly
5. **awesome-backup** (5 AM daily)
- Awesome app database
- Retention: 7 daily, 4 weekly, 6 monthly
6. **gotify-backup** (5 AM daily)
- Gotify notifications
- Retention: 7 daily, 4 weekly, 3 monthly
7. **scrapy-backup** (6 AM daily)
- Scrapyd data and spider code
- Retention: 7 daily, 4 weekly, 3 monthly
8. **n8n-backup** (6 AM daily)
- n8n workflow data
- Retention: 7 daily, 4 weekly, 6 monthly
9. **filestash-backup** (7 AM daily)
- Filestash state
- Retention: 7 daily, 4 weekly, 3 monthly
10. **linkwarden-backup** (7 AM daily)
- Linkwarden bookmarks and search index
- Retention: 7 daily, 4 weekly, 6 monthly
11. **letsencrypt-backup** (8 AM daily)
- SSL certificates
- Retention: 7 daily, 4 weekly, 12 monthly, 3 yearly
**Configuration Mount:**
- config.json mounted directly at /config/config.json
- Read-write mode to allow UI updates
- Removed backrest_config volume (using file mount instead)
All backups scheduled at different times to spread I/O load.
Critical data (postgres, directus, letsencrypt) has longer retention.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 10:26:04 +01:00
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 5 * * *"
|
|
|
|
|
},
|
|
|
|
|
"retention": {
|
|
|
|
|
"policyTimeBucketed": {
|
|
|
|
|
"daily": 7,
|
|
|
|
|
"weekly": 4,
|
feat: update Restic backup configuration
Updated Restic backup system to include all current services:
**Volume Mounts Added:**
- vpn_etc_wireguard (WireGuard VPN configuration)
- netdata_config (Netdata monitoring configuration)
**Backup Plans Updated:**
- Replaced gotify-backup with mattermost-backup
- Now backs up: mattermost_config, mattermost_data, mattermost_plugins
- Retention: 7 daily, 4 weekly, 6 monthly, 2 yearly
- Added tandoor-backup
- Backs up: tandoor_staticfiles, tandoor_mediafiles
- Schedule: 5 AM daily
- Retention: 7 daily, 4 weekly, 6 monthly
- Added vpn-backup
- Backs up: vpn_etc_wireguard (critical for VPN restoration)
- Schedule: 9 AM daily
- Retention: 7 daily, 4 weekly, 12 monthly, 3 yearly
- Added netdata-backup
- Backs up: netdata_config
- Schedule: 10 AM daily
- Retention: 7 daily, 4 weekly, 3 monthly
**Backup Schedule:**
- 2 AM: postgres, joplin
- 3 AM: redis
- 4 AM: directus (uploads, bundle)
- 5 AM: awesome, mattermost, tandoor
- 6 AM: scrapy, n8n
- 7 AM: filestash, linkwarden
- 8 AM: letsencrypt, vaultwarden
- 9 AM: jellyfin, vpn
- 10 AM: netdata
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 21:01:31 +01:00
|
|
|
"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
|
feat: add automated backup configuration for all volumes
Added comprehensive backup configuration to Backrest:
**Repository Configuration:**
- Target: /repos (mounted from /mnt/hidrive/users/valknar/Backup)
- Password: falcon-backup-2025
- Auto-initialize and auto-unlock enabled
- Weekly prune schedule (Sundays at 2 AM)
- Weekly integrity checks (Sundays at 3 AM)
**Backup Plans** (11 plans covering all volumes):
1. **postgres-backup** (2 AM daily)
- PostgreSQL database
- Retention: 7 daily, 4 weekly, 6 monthly, 2 yearly
2. **redis-backup** (3 AM daily)
- Redis cache data
- Retention: 7 daily, 4 weekly, 3 monthly
3. **directus-uploads-backup** (4 AM daily)
- Directus media files
- Retention: 7 daily, 4 weekly, 6 monthly, 2 yearly
4. **directus-bundle-backup** (4 AM daily)
- Directus extensions
- Retention: 7 daily, 4 weekly, 3 monthly
5. **awesome-backup** (5 AM daily)
- Awesome app database
- Retention: 7 daily, 4 weekly, 6 monthly
6. **gotify-backup** (5 AM daily)
- Gotify notifications
- Retention: 7 daily, 4 weekly, 3 monthly
7. **scrapy-backup** (6 AM daily)
- Scrapyd data and spider code
- Retention: 7 daily, 4 weekly, 3 monthly
8. **n8n-backup** (6 AM daily)
- n8n workflow data
- Retention: 7 daily, 4 weekly, 6 monthly
9. **filestash-backup** (7 AM daily)
- Filestash state
- Retention: 7 daily, 4 weekly, 3 monthly
10. **linkwarden-backup** (7 AM daily)
- Linkwarden bookmarks and search index
- Retention: 7 daily, 4 weekly, 6 monthly
11. **letsencrypt-backup** (8 AM daily)
- SSL certificates
- Retention: 7 daily, 4 weekly, 12 monthly, 3 yearly
**Configuration Mount:**
- config.json mounted directly at /config/config.json
- Read-write mode to allow UI updates
- Removed backrest_config volume (using file mount instead)
All backups scheduled at different times to spread I/O load.
Critical data (postgres, directus, letsencrypt) has longer retention.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 10:26:04 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "scrapy-backup",
|
|
|
|
|
"repo": "hidrive-backup",
|
|
|
|
|
"paths": [
|
|
|
|
|
"/volumes/scrapyd_data",
|
|
|
|
|
"/volumes/scrapy_code"
|
|
|
|
|
],
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 6 * * *"
|
|
|
|
|
},
|
|
|
|
|
"retention": {
|
|
|
|
|
"policyTimeBucketed": {
|
|
|
|
|
"daily": 7,
|
|
|
|
|
"weekly": 4,
|
|
|
|
|
"monthly": 3
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "n8n-backup",
|
|
|
|
|
"repo": "hidrive-backup",
|
|
|
|
|
"paths": ["/volumes/n8n_data"],
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 6 * * *"
|
|
|
|
|
},
|
|
|
|
|
"retention": {
|
|
|
|
|
"policyTimeBucketed": {
|
|
|
|
|
"daily": 7,
|
|
|
|
|
"weekly": 4,
|
|
|
|
|
"monthly": 6
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "filestash-backup",
|
|
|
|
|
"repo": "hidrive-backup",
|
|
|
|
|
"paths": ["/volumes/filestash_data"],
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 7 * * *"
|
|
|
|
|
},
|
|
|
|
|
"retention": {
|
|
|
|
|
"policyTimeBucketed": {
|
|
|
|
|
"daily": 7,
|
|
|
|
|
"weekly": 4,
|
|
|
|
|
"monthly": 3
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "linkwarden-backup",
|
|
|
|
|
"repo": "hidrive-backup",
|
|
|
|
|
"paths": [
|
|
|
|
|
"/volumes/linkwarden_data",
|
|
|
|
|
"/volumes/linkwarden_meili_data"
|
|
|
|
|
],
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 7 * * *"
|
|
|
|
|
},
|
|
|
|
|
"retention": {
|
|
|
|
|
"policyTimeBucketed": {
|
|
|
|
|
"daily": 7,
|
|
|
|
|
"weekly": 4,
|
|
|
|
|
"monthly": 6
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "letsencrypt-backup",
|
|
|
|
|
"repo": "hidrive-backup",
|
|
|
|
|
"paths": ["/volumes/letsencrypt_data"],
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 8 * * *"
|
|
|
|
|
},
|
|
|
|
|
"retention": {
|
|
|
|
|
"policyTimeBucketed": {
|
|
|
|
|
"daily": 7,
|
|
|
|
|
"weekly": 4,
|
|
|
|
|
"monthly": 12,
|
|
|
|
|
"yearly": 3
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-11-06 11:15:12 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "vaultwarden-backup",
|
|
|
|
|
"repo": "hidrive-backup",
|
|
|
|
|
"paths": ["/volumes/vaultwarden_data"],
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 8 * * *"
|
|
|
|
|
},
|
|
|
|
|
"retention": {
|
|
|
|
|
"policyTimeBucketed": {
|
|
|
|
|
"daily": 7,
|
|
|
|
|
"weekly": 4,
|
|
|
|
|
"monthly": 12,
|
|
|
|
|
"yearly": 3
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-11-06 12:24:07 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "joplin-backup",
|
|
|
|
|
"repo": "hidrive-backup",
|
|
|
|
|
"paths": ["/volumes/joplin_data"],
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 2 * * *"
|
|
|
|
|
},
|
|
|
|
|
"retention": {
|
|
|
|
|
"policyTimeBucketed": {
|
|
|
|
|
"daily": 7,
|
|
|
|
|
"weekly": 4,
|
|
|
|
|
"monthly": 6,
|
|
|
|
|
"yearly": 2
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-11-06 20:40:51 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "jellyfin-backup",
|
|
|
|
|
"repo": "hidrive-backup",
|
|
|
|
|
"paths": ["/volumes/jelly_config"],
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 9 * * *"
|
|
|
|
|
},
|
|
|
|
|
"retention": {
|
|
|
|
|
"policyTimeBucketed": {
|
|
|
|
|
"daily": 7,
|
|
|
|
|
"weekly": 4,
|
|
|
|
|
"monthly": 6,
|
|
|
|
|
"yearly": 2
|
|
|
|
|
}
|
|
|
|
|
}
|
feat: update Restic backup configuration
Updated Restic backup system to include all current services:
**Volume Mounts Added:**
- vpn_etc_wireguard (WireGuard VPN configuration)
- netdata_config (Netdata monitoring configuration)
**Backup Plans Updated:**
- Replaced gotify-backup with mattermost-backup
- Now backs up: mattermost_config, mattermost_data, mattermost_plugins
- Retention: 7 daily, 4 weekly, 6 monthly, 2 yearly
- Added tandoor-backup
- Backs up: tandoor_staticfiles, tandoor_mediafiles
- Schedule: 5 AM daily
- Retention: 7 daily, 4 weekly, 6 monthly
- Added vpn-backup
- Backs up: vpn_etc_wireguard (critical for VPN restoration)
- Schedule: 9 AM daily
- Retention: 7 daily, 4 weekly, 12 monthly, 3 yearly
- Added netdata-backup
- Backs up: netdata_config
- Schedule: 10 AM daily
- Retention: 7 daily, 4 weekly, 3 monthly
**Backup Schedule:**
- 2 AM: postgres, joplin
- 3 AM: redis
- 4 AM: directus (uploads, bundle)
- 5 AM: awesome, mattermost, tandoor
- 6 AM: scrapy, n8n
- 7 AM: filestash, linkwarden
- 8 AM: letsencrypt, vaultwarden
- 9 AM: jellyfin, vpn
- 10 AM: netdata
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 21:01:31 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "netdata-backup",
|
|
|
|
|
"repo": "hidrive-backup",
|
|
|
|
|
"paths": ["/volumes/netdata_config"],
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 10 * * *"
|
|
|
|
|
},
|
|
|
|
|
"retention": {
|
|
|
|
|
"policyTimeBucketed": {
|
|
|
|
|
"daily": 7,
|
|
|
|
|
"weekly": 4,
|
|
|
|
|
"monthly": 3
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-11-08 22:34:46 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "ai-backup",
|
|
|
|
|
"repo": "hidrive-backup",
|
|
|
|
|
"paths": [
|
|
|
|
|
"/volumes/ai_postgres_data",
|
|
|
|
|
"/volumes/ai_webui_data",
|
|
|
|
|
"/volumes/ai_crawl4ai_data"
|
|
|
|
|
],
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 3 * * *"
|
|
|
|
|
},
|
|
|
|
|
"retention": {
|
|
|
|
|
"policyTimeBucketed": {
|
|
|
|
|
"daily": 7,
|
|
|
|
|
"weekly": 4,
|
|
|
|
|
"monthly": 6,
|
|
|
|
|
"yearly": 2
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-11-09 02:12:25 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "asciinema-backup",
|
|
|
|
|
"repo": "hidrive-backup",
|
|
|
|
|
"paths": ["/volumes/asciinema_data"],
|
|
|
|
|
"schedule": {
|
|
|
|
|
"cron": "0 11 * * *"
|
|
|
|
|
},
|
|
|
|
|
"retention": {
|
|
|
|
|
"policyTimeBucketed": {
|
|
|
|
|
"daily": 7,
|
|
|
|
|
"weekly": 4,
|
|
|
|
|
"monthly": 6,
|
|
|
|
|
"yearly": 2
|
|
|
|
|
}
|
|
|
|
|
}
|
feat: add automated backup configuration for all volumes
Added comprehensive backup configuration to Backrest:
**Repository Configuration:**
- Target: /repos (mounted from /mnt/hidrive/users/valknar/Backup)
- Password: falcon-backup-2025
- Auto-initialize and auto-unlock enabled
- Weekly prune schedule (Sundays at 2 AM)
- Weekly integrity checks (Sundays at 3 AM)
**Backup Plans** (11 plans covering all volumes):
1. **postgres-backup** (2 AM daily)
- PostgreSQL database
- Retention: 7 daily, 4 weekly, 6 monthly, 2 yearly
2. **redis-backup** (3 AM daily)
- Redis cache data
- Retention: 7 daily, 4 weekly, 3 monthly
3. **directus-uploads-backup** (4 AM daily)
- Directus media files
- Retention: 7 daily, 4 weekly, 6 monthly, 2 yearly
4. **directus-bundle-backup** (4 AM daily)
- Directus extensions
- Retention: 7 daily, 4 weekly, 3 monthly
5. **awesome-backup** (5 AM daily)
- Awesome app database
- Retention: 7 daily, 4 weekly, 6 monthly
6. **gotify-backup** (5 AM daily)
- Gotify notifications
- Retention: 7 daily, 4 weekly, 3 monthly
7. **scrapy-backup** (6 AM daily)
- Scrapyd data and spider code
- Retention: 7 daily, 4 weekly, 3 monthly
8. **n8n-backup** (6 AM daily)
- n8n workflow data
- Retention: 7 daily, 4 weekly, 6 monthly
9. **filestash-backup** (7 AM daily)
- Filestash state
- Retention: 7 daily, 4 weekly, 3 monthly
10. **linkwarden-backup** (7 AM daily)
- Linkwarden bookmarks and search index
- Retention: 7 daily, 4 weekly, 6 monthly
11. **letsencrypt-backup** (8 AM daily)
- SSL certificates
- Retention: 7 daily, 4 weekly, 12 monthly, 3 yearly
**Configuration Mount:**
- config.json mounted directly at /config/config.json
- Read-write mode to allow UI updates
- Removed backrest_config volume (using file mount instead)
All backups scheduled at different times to spread I/O load.
Critical data (postgres, directus, letsencrypt) has longer retention.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 10:26:04 +01:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|