Ich habe die folgende Einrichtung auf meinem Staging-/Testserver in web_only.yml vorgenommen. Aber es scheint, dass die Backups immer noch in der neuesten Discourse-Version erstellt werden? Es sieht so aus, als würde die Umgebungsvariable ignoriert werden.
## Staging-server-spezifische Einstellungen
DISCOURSE_AUTOMATIC_BACKUPS_ENABLED: false
DISCOURSE_LOGIN_REQUIRED: true
DISCOURSE_DISABLE_EMAILS: 'yes'
DISCOURSE_S3_DISABLE_CLEANUP: true
DISCOURSE_ALLOW_RESTORE: true
RGJ
(Richard - Communiteq)
1. Dezember 2025 um 19:09
2
Die Einstellung automatic_backups_enabled wurde im August entfernt…
committed 06:56AM - 11 Aug 25 UTC
We're removing the automatic_backups_enabled toggle and depending solely on the … backup_frequency value. This PR replaces the setting and adds a migration for any forum that has automatic_backups_enabled disabled.
Verwenden Sie stattdessen backup_frequency (DISCOURSE_BACKUP_FREQUENCY: 0).
Danke für die Lösung.
Ich habe gerade auch das Wiki hier aktualisiert:
There are several tricks that can help when you are setting up a staging server.
What is a staging server?
A staging server is essentially a clone of a production site. It also resides on a server, and functions identically. It runs inside a Docker container, just as a normal Discourse site does.
It exists to give you a place to try risky things out, or to trial things that you cannot easily hide from your users. It is very useful for trialling adverts using the Discourse Advertising Plugin (A…
Es verwies noch auf die alte Methode.
1 „Gefällt mir“