Zum Hauptinhalt springen

Sichern Sie Ihre Streaming-Daten und Konfiguration

Owncast automatically backs up its database once an hour to data/backup/owncastdb.bak inside your Owncast directory. You can point the backup somewhere else by starting Owncast with --backupdir <path>. Add this file to your normal system backups to keep your configuration, users, and chat history safe.

What the automatic backup covers

The automatic backup contains only the database: your configuration, users, chat history, and access tokens. Other data lives as plain files under the data/ directory and is not included, such as custom emoji, files in data/public, GeoIP data, and installed plugins and their data.

To fully protect an instance, or to move it to another machine, back up the entire data/ directory instead. Copying data/ to a new install carries everything over.

Wiederherstellen

Restoring a database backup file brings the database back to the time the backup was created. This is useful if you want to undo a bad change or recover from database corruption.

Owncat warns you

Das Wiederherstellen ersetzt Ihre aktuelle Datenbank durch den Inhalt der Sicherung. Alles, was sich seit der Erstellung der Sicherung geändert hat, geht verloren. Wenn Sie die aktuellen Daten möglicherweise benötigen, kopieren Sie sie an einen sicheren Ort, bevor Sie die Wiederherstellung durchführen.

  1. Stoppen Sie die Ausführung von Owncast.
  2. Führen Sie aus Ihrem Owncast-Verzeichnis ./owncast --restoreDatabase <backupfile> aus.
  3. Starten Sie Owncast wie gewohnt neu. Es wird die wiederhergestellten Daten verwenden.

Improve this page

See something missing or incorrect? Edit the English version of this page or help improve translations.

Contributors to this documentation