From 0ec483892143c7c62b30f1a3993fe58a7962f708 Mon Sep 17 00:00:00 2001 From: MCMic Date: Tue, 7 Mar 2023 10:27:25 +0100 Subject: [PATCH 1/2] Add prune_objects to admin tasks --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 02227f7..e3a1293 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,12 @@ You can make users **moderators**. They will then be able to **delete any post** **--admin** option will **make the user moderator** and **--no-admin** will **take away the moderator privileges** from the user. +### Database prune + +To avoid bigger backups than necessary, you can prune from the database objects which are more than 90 days old: + +    $ ( cd /var/www/pleroma/live && sudo -u pleroma MIX_ENV=prod ./bin/pleroma_ctl database prune_objects ) + ## Documentation and resources * Official app website: From cd2b11c7ae69d4272de071f4a2af7d3136db6777 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 7 Mar 2023 19:50:39 +0000 Subject: [PATCH 2/2] Auto-update README --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index e3a1293..02227f7 100644 --- a/README.md +++ b/README.md @@ -68,12 +68,6 @@ You can make users **moderators**. They will then be able to **delete any post** **--admin** option will **make the user moderator** and **--no-admin** will **take away the moderator privileges** from the user. -### Database prune - -To avoid bigger backups than necessary, you can prune from the database objects which are more than 90 days old: - -    $ ( cd /var/www/pleroma/live && sudo -u pleroma MIX_ENV=prod ./bin/pleroma_ctl database prune_objects ) - ## Documentation and resources * Official app website: