Skip to content

Instantly share code, notes, and snippets.

Guillaume JORANDON gjorando

Block or report user

Report or block gjorando

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
nolanlawson /
Last active Jun 12, 2018
Script to back up a Mastodon instance (for non-dockerized installs)
#!/usr/bin/env bash
# Make a backup file of a Mastodon instance. The backup file is a TGZ containing
# the Postgres dump as well as the /public/system (media) files and the
# .env.production file. For loading the dump file contents, see:
# Usage: ./ my_dump_file.tgz
# Advanced usage: MASTODON_LIVE_DIRECTORY=/path/to/live ./ my_dump_file.tgz
You can’t perform that action at this time.