I’d like to do a scheduled backup of my OH1 installation on an RPi3 (with Raspian) using cron and dd. IMG file will be stored on a NAS (or USB stick, doesn’t matter). Does someone has knowledge in this? How do I have to handle the running openhab environment? Do I have to stop the openhab service? If so, is a “systemctl stop openhab” sufficient (and after the backup a systemctl start openhab) or do I have to stop also other OH-related services?
I’d prefer to not stop anything during the backup, but I don’t know if this leads to a proper image of my sd card, which is usable in case of a sd card failure.