mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	Add db an media backups (#3783)
* [FR] Add backup into inventrees lifecycle Fixes #3778 * Add env to testing enviros * block backup from running app commands * Add more commands * fix postgres version * Update used env * add daily task to run backups * add installer changes
This commit is contained in:
		| @@ -13,6 +13,11 @@ if [[ ! -d "$INVENTREE_MEDIA_ROOT" ]]; then | ||||
|     mkdir -p $INVENTREE_MEDIA_ROOT | ||||
| fi | ||||
|  | ||||
| if [[ ! -d "$INVENTREE_BACKUP_DIR" ]]; then | ||||
|     echo "Creating directory $INVENTREE_BACKUP_DIR" | ||||
|     mkdir -p $INVENTREE_BACKUP_DIR | ||||
| fi | ||||
|  | ||||
| # Check if "config.yaml" has been copied into the correct location | ||||
| if test -f "$INVENTREE_CONFIG_FILE"; then | ||||
|     echo "$INVENTREE_CONFIG_FILE exists - skipping" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user