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
nolanlawson / mastodon_backup.sh
Last active Jun 12, 2018
Script to back up a Mastodon instance (for non-dockerized installs)
View mastodon_backup.sh
#!/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:
# https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Migration-guide.md
#
# Usage: ./mastodon_backup.sh my_dump_file.tgz
#
# Advanced usage: MASTODON_LIVE_DIRECTORY=/path/to/live ./mastodon_backup.sh my_dump_file.tgz
You can’t perform that action at this time.