openhab / openhabian

openHABian - empowering the smart home, for Raspberry Pi and Debian systems
https://community.openhab.org/t/13379
ISC License
820 stars 252 forks source link

improper rsync of zram dirs ? #1713

Closed mstormi closed 6 months ago

mstormi commented 2 years ago

the sdrsync.service seems to sync active persistence data from /opt/zram/persistence.bind while that should be the active data from /var/lib/persistence

Omitting the -R options seems to make a difference, but I'm unsure of the implications and would like some expert of rsync to have a look and proposal how to call rsync best to accomplish what we want it to to keep mirror SDs in sync.

mstormi commented 6 months ago

Fixed-By: fc1bd43 (hopefully)