Control backup count (#13025)

Enable control of how many historical backup entries to keep when running invoke backup --clean
This commit is contained in:
Oliver authored and GitHub committed 2026-10-16 19:22:33 +11:00
1 parent a151d22a9c
commit c74523dcff
3 files changed
+14

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ The following configuration options are available for backup:
{{ configsetting("INVENTREE_BACKUP_SEND_EMAIL") }} If True, an email is sent to the site admin when an error occurs during a backup or restore procedure. |
{{ configsetting("INVENTREE_BACKUP_EMAIL_PREFIX") }} Prefix for the subject line of backup-related emails. |
{{ configsetting("INVENTREE_BACKUP_GPG_RECIPIENT") }} Specify GPG recipient if using encryption for backups. |
{{ configsetting("INVENTREE_BACKUP_KEEP_COUNT") }} Number of historical backup files to keep (when using the `--clean` flag). |
{{ configsetting("INVENTREE_BACKUP_DATE_FORMAT") }} Date format string used to format timestamps in backup filenames. |
{{ configsetting("INVENTREE_BACKUP_DATABASE_FILENAME_TEMPLATE") }} Template string used to generate database backup filenames.
{{ configsetting("INVENTREE_BACKUP_MEDIA_FILENAME_TEMPLATE") }} Template string used to generate media backup filenames. |