i have installed my new raspberry because my old sd card was gone. but i had from day before a working backup. have installed it through the normal guide. after login via putty i have uploaded my backup zip to the /var/lib/openhab/backups and restored through sudo openhabian-config.
all is here but the chart data (old temperatures and so) not. only from the day i have restored i can see the chart data (in thise case since yesterday):
what kind of backup did you create ? An openhab-cli like backup that stores backups in /var/lib/openhab/backup ?
This kind of backup - as far as I know - does not contain data that is required for persistence services.
The backup script does not know where your persisted data is being stored ( keep in mind it can be on the OH server as well as on other systems ) and thus cannot create a backup for these.
Using openhabian you can create a clone or a backup of your SD card that one will include the persisted data in case it is stored on the SD card.
Thank you @Wolfgang_S for your information. But where i can save the data through a script?
or how is hould find the data for the charts on the old sd (when possible to recover)?
is there a possibility to get the old data (because in old system all was there) from recovery company? where this data should be saved in database? maybe i can restor through a desaster recovery.thank you so much
i can recover these paths:
\usr\share\openhab
\var\lib\openhab\
one more thing: from my backup i have attached a screenshot. should this not be the data? how i can recover that?
check if the rrd4j folder is there on your “new” system. If yes, then previous point should fix everything. If not, then you might need to copy manually from your latest backup with the db inside the folder with rrd4j db, on the new system