joshuacox / mkdomoticz

Make a persistent domoticz container PDQ
GNU General Public License v3.0
16 stars 28 forks source link

Backup files are not outside the container #23

Open fdr76 opened 3 years ago

fdr76 commented 3 years ago

I run the latest stable version and have configured 2 mapped volumes:

\config (actual database) \log

Domoticz make every hour an automatic backup (Configure via: Setup - Settings - System - Enable automatic backup) In the log file I see the backup procedure is starting but the backup files are not outside the container in the folder \config.

2020-12-23 13:00:01.372  Status: Starting automatic database backup procedure...
2020-12-23 13:00:03.428  Status: Ending automatic database backup procedure...

The backup file is created in the folder: ./src/domoticz/backups/hourly/backup-hour-13-Domoticz.db in the container.

Is it possible to make a folder mapping outside the container for the backups?