From 3fba232c407aa0f9ecf3cf91fc29c23b2608b9d0 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 25 Feb 2024 01:03:06 +0100 Subject: [PATCH] 'tootctl self-destruct --dry-run' to prevent accidental run --- doc/ADMIN.md | 4 +++- doc/ADMIN_fr.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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 diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md index 46849c7..c879081 100644 --- a/doc/ADMIN_fr.md +++ b/doc/ADMIN_fr.md @@ -60,9 +60,11 @@ Sinon, vos données resteront dans le cache de la fédération pour toujours. ```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 ``` +Retirez la partie `--dry-run` uniquement lorsque vous avez la certitude que que vous voulez vraiment supprimer votre instance Mastodon. + Consulter [la documentation officielle](https://docs.joinmastodon.org/admin/tootctl/#self-destruct) pour plus de détails. ## Bugs connus