Recovering of deleted devices

Moderator: leecollings

Post Reply
Sunday
Posts: 16
Joined: Tuesday 20 June 2023 17:30
Target OS: Windows
Domoticz version: 2024.7
Location: France
Contact:

Recovering of deleted devices

Post by Sunday »

I lost several temperature sensor that contained several years of history.

Is there a tool that allows you to easily recover a device that was deleted by mistake, or why not its data from the backup file, without going through a dB editor ?
azonneveld
Posts: 153
Joined: Wednesday 02 October 2019 7:37
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands
Contact:

Re: Recovering of deleted devices

Post by azonneveld »

If auto-backup is enabled, use a backup from an hour ago.
rpi4 - zigbee2mqtt - roborock - espeasy - rfxcom - homewizard p1 - otgw - homebridge - surveillance station - egardia - goodwe - open weather map - wol - BBQ detection - rsync backup
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Recovering of deleted devices

Post by gizmocuz »

Or when you updated Domoticz, you should have a backup in your backups folder.
Both ways, yes, you need to perform some database actions
Quality outlives Quantity!
Sunday
Posts: 16
Joined: Tuesday 20 June 2023 17:30
Target OS: Windows
Domoticz version: 2024.7
Location: France
Contact:

Re: Recovering of deleted devices

Post by Sunday »

Thanks for your useful tips.
Unfortunately, I loss the device few days ago. So, I can't recover a complete database. That why I was looking for a tool to recover a single device from an old backup file, without having to tinker the database, at the risk to crash my the current database.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest