Skip to content

[FR] Backup rotation (DBBACKUP_CLEANUP_KEEP configuration) #8165

Open

Description

Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find a similar feature request

Problem statement

Hello,

I'm trying to configure DBBACKUP_CLEANUP_KEEP (https://django-dbbackup.readthedocs.io/en/2.5.0/configuration.html) so it remembers 6 months of backups before deleting the old backups.

I enabled daily backups in the interface by following https://docs.inventree.org/en/latest/start/backup, but I could not find how to tweak DBBACKUP_CLEANUP_KEEP

I guess I should modify INVENTREE_BACKUP_OPTIONS but I can't figure how to use the dict format.

Suggested solution

Show an example in the doc.

Describe alternatives you've considered

Using cron & logrotate.

Examples of other systems

No response

Do you want to develop this?

  • I want to develop this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementThis is an suggested enhancement or new featuretriage:not-checkedItem was not checked by the core team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions