Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aoirint/mstdn.aoirint.com

Mastodonの個人用インスタンス
https://github.com/aoirint/mstdn.aoirint.com

self-hosting

Last synced: about 1 month ago
JSON representation

Mastodonの個人用インスタンス

Awesome Lists containing this project

README

        

# mstdn.aoirint.com

- [CLI ドキュメント](https://docs.joinmastodon.org/admin/tootctl/)

## アカウント作成

```shell
sudo docker compose exec web bin/tootctl accounts create example_acct --email [email protected] --confirmed
```

## Backup DB

```shell
docker compose down
docker compose up -d db
docker compose exec db pg_dump -Fc -U mastodon mastodon > "backups/postgres_$(date '+%Y-%m-%d_%H-%M-%S').dump"
```

## Restore DB

```shell
docker compose down
rm -rf postgres/
docker compose up -d db
cat backups/postgres.dump | docker compose exec -T db pg_restore -U mastodon -d mastodon --single-transaction
```