Differences
This shows you the differences between two versions of the page.
| |
| mastodon [2024/12/17 20:04] – created khorvath | mastodon [2024/12/17 20:10] (current) – khorvath |
|---|
| ''tootctl media remove-orphans'' Remove media not linked to any posts | ''tootctl media remove-orphans'' Remove media not linked to any posts |
| |
| | ==== Slow Startup ==== |
| |
| | Docker/Podman instances can be very slow to start up. This seems to be possibly linked to the overlay2 driver and the entrypoint trying to chown contents in the public folder. More investigation needed. |
| | |
| | ==== Backups ==== |
| | |
| | An example of how to backup a containerized instance. |
| | |
| | ''podman exec ${DB_CONTAINER} pg_dumpall -U mastodon | gzip > /temp/mastodon/postgres.sql.gz'' Dump the database to a file |
| | |
| | ''tar -czf /temp/mastodon/accounts.tar.gz ${VOLUME}/pubsys/accounts'' Backup media attachments |
| | |
| | ''tar -czf /temp/mastodon/${CURDATE}.tar.gz /temp/mastodon/*'' Compress everything to a file |