doc:appunti:linux:sa:matrix
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:sa:matrix [2026/09/03 12:23] – [Migrazione da virtual environment Python a container Docker] niccolo | doc:appunti:linux:sa:matrix [2026/09/04 15:05] (current) – [Permessi] niccolo | ||
|---|---|---|---|
| Line 458: | Line 458: | ||
| port: 5432 | port: 5432 | ||
| </ | </ | ||
| + | |||
| + | Sulla macchina origine si esegue il dump del database: | ||
| + | |||
| + | < | ||
| + | su - postgres -c " | ||
| + | > synapse-$(hostname)-$(date +%Y-%m-%d).dump | ||
| + | </ | ||
| + | |||
| + | Quindi sulla macchina destinazione si esegue il restore: | ||
| + | |||
| + | |||
| + | ==== Permessi ==== | ||
| + | |||
| + | Verificare che i file di configurazione siano leggibili solo dall' | ||
| + | |||
| + | < | ||
| + | cd / | ||
| + | chown 991:991 homeserver.yaml homeserver.signing.key | ||
| + | chmod 0600 homeserver.yaml homeserver.signing.key | ||
| + | </ | ||
| + | |||
| + | FIXME Anche il media_store e la directory uploads devono essere sistemate. | ||
| + | |||
| ===== Web References ===== | ===== Web References ===== | ||
doc/appunti/linux/sa/matrix.1788430981.txt.gz · Last modified: by niccolo
