alles geht aber noch aufräumen
This commit is contained in:
15
README.md
15
README.md
@@ -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.
|
||||
Reference in New Issue
Block a user