I’m running Openhab 2.5.1 and I will do a backup, using the existing command:
openhab-cli backup /mama/Filename.zip
I write in my personal folder /mama (local folder on local SSD under / ).
and the resulting zip-file has 5 GB at the end !
Wondering, is this normal?
My whole partition has 10GB, actual used 48%.
I thought only few config and settings files etc. will be backuped …
I find older zip files in /var/lib/openhab2/backups ( called “openhab2-backup-19_03_09-17_57_00.zip”), they have few MB !?
/etc/openhab2 and /var/lib/openhab2 is stored in the backup.
In case of a fullbackup the cache tree is included as well.
Check e.g. with
7z l /mama/Filename.zip
what is inside of the zip file
I check the zip-file, copied to Windows, and open the Zip file there and see:
conf/backups has 4.2GB !
But if I check on the running system, these folders are empty !
See screenshots,can a (recursive) link caused this issue ?
Extracted backup-zip (conf -folder)
Does the link exist in /etc/openhab2/ ( /etc/openhab2/backups ) ?
What is in /var/lib/openhab2/backups/ ?
To have a recursive link there also must be a link in /var/lib/openhab2/backups.
I removed the link:
backups => /var/lib/openhab2/backups//
Now the zip-file is only 16MB
Should be there a link? I can’t remeber that I create a link there …