mirror of
https://github.com/YunoHost-Apps/pleroma_ynh.git
synced 2024-09-03 20:15:59 +02:00
Add prune_objects to admin tasks
This commit is contained in:
parent
02293cd370
commit
0ec4838921
1 changed files with 6 additions and 0 deletions
|
@ -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: <https://pleroma.social/>
|
||||
|
|
Loading…
Add table
Reference in a new issue