Add config for Pleroma.Backup

This commit is contained in:
Egor Kislitsyn 2020-09-04 18:30:39 +04:00
commit 3ad7492f9d
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
5 changed files with 31 additions and 2 deletions

View file

@ -3712,5 +3712,25 @@ config :pleroma, :config_description, [
]
}
]
},
%{
group: :pleroma,
key: Pleroma.Backup,
type: :group,
description: "Account Backup",
children: [
%{
key: :purge_after_days,
type: :integer,
description: "Remove backup achives after N days",
suggestions: [30]
},
%{
key: :limit_days,
type: :integer,
description: "Limit user to export not more often than once per N days",
suggestions: [7]
}
]
}
]