2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 13:35:40 +00:00

Configuration options for dbbackup (#4190)

* Configuration options for dbbackup

Ref: https://github.com/inventree/InvenTree/discussions/4179

* DBBACKUP_SEND_EMAIL is always False

* Cleanup settings file

* Make backup step optional during update

* Change update operation to perform backup by default
This commit is contained in:
Oliver
2023-01-10 07:54:25 +11:00
committed by GitHub
parent ee2290da28
commit 385ed8277d
3 changed files with 44 additions and 13 deletions

View File

@ -142,8 +142,11 @@ cors:
# STATIC_ROOT is the local filesystem location for storing static files
#static_root: '/home/inventree/data/static'
# BACKUP_DIR is the local filesystem location for storing backups
### Backup configuration options ###
# INVENTREE_BACKUP_DIR is the local filesystem location for storing backups
backup_storage: django.core.files.storage.FileSystemStorage
#backup_dir: '/home/inventree/data/backup'
#backup_options:
# Background worker options
background: