Poddery - Diaspora, Matrix and XMPP: Difference between revisions

Add backup steps
Line 476: Line 476:
====Prosody====
====Prosody====
The following were backed up for  prosody:
The following were backed up for  prosody:
- Dump of the database using `mysqldump`
- `/var/lib/prosody` for media files
- `/etc/prosody` for config files


For taking the dump, the following was run from the backup-server
* Dump of the database using `mysqldump`
`ssh user@poddery-server 'mysqldump -u prosody --password="$(cat <path/to/password-file>)" prosody | gzip' > backups/prosody-backup-2024-10-27.sql.gz`
* `/var/lib/prosody` for media files
* `/etc/prosody` for config files
 
For taking the dump, the following was run from the backup-server<syntaxhighlight lang="bash">
ssh user@poddery-server 'mysqldump -u prosody --password="$(cat <path/to/password-file>)" prosody | gzip' > backups/prosody-backup-2024-10-27.sql.gz
</syntaxhighlight>


= Troubleshooting =
= Troubleshooting =