Hi @mstormi
I have installed ZRAM since a year but I happened to suffer from some persistence data loss due to unmanaged reboots.
I have tried to setup Amanda, but for some reasons it didn’t work for me.
So I wanted to understand if it would be possible to manually sync the persistence files.
Looking into the folders, I discovered that the current files (stored in RAM) are in
Hi Markus,
in my opinion a backup should be restored only when a catasrophic failure occurs.
An unexpected reboot is not a failure, is just part of normal life. Every system auto heals itself after an unexpected reboot.
Also because restoring a backup is a time consuming operation.
So a way to periodically synchronize the persistence database is really important to avoid unpleasant data loss.
That’s why I was trying to manually synchronize the files.
Just to understand, who is working on solving this synch bug? Is there any chance I could help testing the work in progress?
RTFM, but in summary just follow the manual to install the zram-config sync option. Make sure you use the builtin install script, not openhabian-config because as of yet the sync option is not built into openhabian.
NOTE: This means that this is currently not a supported change to openHABian so if things go wrong please raise a zram-config issue not openhabian.