User Tools

Site Tools


doc:appunti:linux:sa:matrix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
doc:appunti:linux:sa:matrix [2026/09/03 12:41] – [Permessi] niccolodoc:appunti:linux:sa:matrix [2026/09/04 15:05] (current) – [Permessi] niccolo
Line 458: Line 458:
     port: 5432     port: 5432
 </file> </file>
 +
 +Sulla macchina origine si esegue il dump del database:
 +
 +<code>
 +su - postgres -c "pg_dump -Fc synapse" \
 +    > synapse-$(hostname)-$(date +%Y-%m-%d).dump
 +</code>
 +
 +Quindi sulla macchina destinazione si esegue il restore:
 +
  
 ==== Permessi ==== ==== Permessi ====
doc/appunti/linux/sa/matrix.txt · Last modified: by niccolo