From 3fba232c407aa0f9ecf3cf91fc29c23b2608b9d0 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 25 Feb 2024 01:03:06 +0100 Subject: 'tootctl self-destruct --dry-run' to prevent accidental run --- doc/ADMIN.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/ADMIN.md') diff --git a/doc/ADMIN.md b/doc/ADMIN.md index 6ad1ab4..dfce904 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -60,9 +60,11 @@ Otherwise your data will remain in federation cache for ever. ```bash screen -sudo cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl self-destruct +sudo cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl self-destruct --dry-run ``` +Remove the `--dry-run` part only when you're absolutely certain that you really want to delete your Mastodon instance. + Check [the official documentation](https://docs.joinmastodon.org/admin/tootctl/#self-destruct) for more details. ## Known Bugs -- cgit v1.2.3-70-g09d2