OH2 Raspi3, Crash and lost config

OK I got it all up and running. My question now would be: can I have an automated complete backup and have openhab copy that to a Synology NAS whenever it becomes available? The NAS isn´t runnig all the time, just at times my mediacenter wakes it up. I would like to make openhab aware of that and have it copy the backup by itself.
Is that possible?

I don’t see openhab doing that by itself so you have to use some other mechanisms.

Heres a quite new topic about backup scripts Backup/Restore scripts for Linux and MacOS. You could make a cron job that runs these scripts and uploads .zip files to another server. Is your nas only online at daytime or could you schedule it to power up during the night and let it run for an hour? Then maybe a python script could ping your nas to be sure it’s online and then upload the backups.

I’m not much of a coder myself so i can’t serve you the final solution but throwing some ideas.

… or use Amanda or raspiBackup.

1 Like