Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Backup rotation (DBBACKUP_CLEANUP_KEEP configuration) #8165

Open
1 of 2 tasks
Silex opened this issue Sep 23, 2024 · 1 comment
Open
1 of 2 tasks

[FR] Backup rotation (DBBACKUP_CLEANUP_KEEP configuration) #8165

Silex opened this issue Sep 23, 2024 · 1 comment
Labels
enhancement This is an suggested enhancement or new feature triage:not-checked Item was not checked by the core team

Comments

@Silex
Copy link

Silex commented Sep 23, 2024

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.
@Silex Silex added enhancement This is an suggested enhancement or new feature triage:not-checked Item was not checked by the core team labels Sep 23, 2024
@SchrodingersGat
Copy link
Member

The dict format is easier to specify in the config file, as you can just use yaml!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is an suggested enhancement or new feature triage:not-checked Item was not checked by the core team
Projects
None yet
Development

No branches or pull requests

2 participants