Bonjour à tous et bon dimanche,
Ici, exemple sur un Jeedom Beta 4.4.17 sur Debian 11. La même problématique est observée sur un Jeedom Alpha 4.5 en Debian 12.
Lors d’une sauvegarde manuelle ou programmée toutes les nuits, aucun souci la fonction backupExclude()
est bien prise en compte.
Log
[START BACKUP]
***************Start of Jeedom backup at 2024-09-22 07:58:42***************
Send begin backup event...OK
Checking files rights...
OK
PHP Warning: The use statement with non-compound name 'log' has no effect in /var/www/html/plugins/jeemate/core/class/jeemate.class.php on line 32
Checking database...
jeedom.event
note : The storage engine for the table doesn't support check
OK
Backing up database...
OK
Cache persistence:
OK
Creating archive...
Plugin camera - Following subfolder will be excluded from the backup: data
Plugin frigate - Following subfolder will be excluded from the backup: data
Plugin jeemate - Following subfolder will be excluded from the backup: data/camera
Plugin meteofrance - Following subfolder will be excluded from the backup: data/*.json
Plugin ttscast - Following subfolder will be excluded from the backup: resources/venv
Plugin ttscast - Following subfolder will be excluded from the backup: resources/pyenv
Plugin tvremote - Following subfolder will be excluded from the backup: resources/venv
OK
Cleaning old backup...OK
Limiting backup size to 1500 Mb...
Delete: /var/www/html/core/php/../../backup/backup-LeTous-4.4.17-2024-09-22-00h27.tar.gz
OK
Backup name: /var/www/html/core/php/../../backup/backup-LeTous-4.4.17-2024-09-22-07h58.tar.gz
Checking files rights...OK
Send end backup event...OK
Backup operation duration: 39s
***************Jeedom backup end***************
[END BACKUP SUCCESS]
Par contre si sur le centre de mise à jour lorsqu’on effectue une maj globale, on coche sauvegarde avant alors cette fonction n’est pas prise en compte.
Log
[START UPDATE]
****Update from 4.4.17 (2024-09-22 07:38:24)****
Parameters : {"preUpdate":"0","backup::before":"1","core":"1","force":"0","plugins":"1","update::reapply":""}
Send begin of update event | OK
Check update | OK
Check rights | OK
[START BACKUP]
***************Start of Jeedom backup at 2024-09-22 07:38:26***************
Send begin backup event | OK
Checking files rights | OK
Checking database
jeedom.event
note : The storage engine for the table doesn't support check | OK
Backing up database | OK
Cache persistence: | OK
Creating archive | OK
Cleaning old backup | OK
Limiting backup size to 1500 Mb
Delete: /var/www/html/core/php///backup/backup-LeTous-4.4.17-2024-09-21-00h27.tar.gz | OK
Backup name: /var/www/html/core/php///backup/backup-LeTous-4.4.17-2024-09-22-07h38.tar.gz
Checking files rights | OK
Send end backup event | OK
Backup operation duration: 46s
***************Jeedom backup end***************
[END BACKUP SUCCESS]