Backup size 170mb, userdata/core most of it

Hi

What is userdata/core ?
Mybackup’s are 178mb big, and most of the size is coming from that file
image

In the same directory next to this file you find directories like cache, etc, jsdondb ? Is that correct ?
Then I assume that the core file is a core dump.

Not that I can see
image

Inside core file

Well, you was right

@daled:/openhab/userdata# cat hs_err_pid697.log | grep core

Core dump will be written. Default location: /openhab/userdata/core

1 Like

This is still currently an issue (OH 4.3.X) for backups as it creates a lot of iowait and huge backup files…
Why not simply exclude core dumps from backups?

Right now, the backup is made like this: tar --exclude=/openhab/userdata/backup -c -f /openhab/userdata/backup/userdata-YYYY-MM-DDThh-mm-ss.tar /openhab/userdata

Why not do it like this? tar --exclude=/openhab/userdata/backup --exclude=/openhab/userdata/core* -c -f /openhab/userdata/backup/userdata-YYYY-MM-DDThh-mm-ss.tar /openhab/userdata