alles geht aber noch aufräumen

This commit is contained in:
2026-02-12 17:38:03 +01:00
parent 58856844ce
commit e8c41d1f64
6 changed files with 78 additions and 8 deletions

View File

@@ -20,6 +20,17 @@ After first `docker compose up`, install the **Redis Object Cache** plugin in WP
The `wp-config.php` already has the `WP_REDIS_HOST` and `WP_REDIS_PORT` constants set.
## Cron
## Backups
Backup script in Cron einbinden nicht vergessen
Backups laufen automatisch im `backup` Container (Standard: täglich um 2:00 Uhr).
Konfigurierbar über `.env`:
- `BACKUP_SCHEDULE` Cron-Ausdruck (Standard: `0 2 * * *`)
- `BACKUP_RETENTION_DAYS` Alte Backups löschen nach X Tagen (Standard: `7`)
Backups landen in `./backups/`. Manuelles Backup auslösen:
```
docker compose exec backup /usr/local/bin/backup.sh
```
Das alte `backup.sh` auf dem Host funktioniert weiterhin für manuelle Backups.