[docs] Add optional instructions for replicating SQLite for disaster recovery (#2981)

* Add optional instructions for replicating SQLite for disaster recovery

* Remove references to MacOS from replicating-sqlite.md

Resolve comment on review

* Add mention for replicating SQLite in database_maintenance.md

Adds a reference to the replicating sqlite page under database maintenance
This commit is contained in:
Martijn de Boer
2024-06-13 15:09:51 +02:00
committed by GitHub
parent 9d9013db4c
commit 38cd889f7b
4 changed files with 110 additions and 0 deletions

View File

@@ -46,6 +46,10 @@ The basic steps are:
2. While connected to your GoToSocial database file in the `sqlite3` shell, run `VACUUM;` (this may take quite a few minutes).
3. Start GoToSocial.
### Replication
It's a common practice to set up safeguards for your database like replication. SQLite can be replicated using external software. The basic steps are described on the [Replicating SQLite](../advanced/replicating-sqlite.md) page.
## Postgres
TODO: Maintenance recommendations for Postgres.