As for many times i screwed my entire system again last week.
Although i had Domoticz backup is still needed to create a new rasbian image and install all packages again and set all conf also.
9 times out of 10 i forget what i had installed or amended to the system.
There for i came up the idea to take a second sd-card to which i weekly rsync my entire system via cron.
So that in case i scew up again i only need to swap cards and i'm back online in 30 seconds.
Only thing remaining is setting back my daily domoticz backup.
The first time this scripts is running it will do a full rsync.
The next time it only rsyncs files which are amended or new.
Saves me a lot of time and not afraid of screwing up things again
Wiki:
https://www.domoticz.com/wiki/Rsync_ras ... ash_script
Rsync script link:
https://bitbucket.org/Siewert308SW/domo ... ew-default