how to read/write domoticz backup-files to external sd

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
BartSr
Posts: 395
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

how to read/write domoticz backup-files to external sd

Post by BartSr »

Hi,

I like to fully setup domoticz from scratch on a new sd-card but after that I'd like to restore all my old stuff like scripts, floorplans, settings aso.
Is there somehwere a how-to doc for this?
Currently I can' t copy the backupfiles as I don't know how to mount an external sd-card to the raspberry-pi I'm using.

Any suggestion?
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: how to read/write domoticz backup-files to external sd

Post by waaren »

BartSr wrote: Tuesday 01 December 2020 19:47 Currently I can' t copy the backupfiles as I don't know how to mount an external sd-card to the raspberry-pi I'm using.
I managed to recover some files to my windows system with
this tool
in the past.
Once you have them on your Windows desktop you can use WinSCP or a similar program to transfer them to your new Raspberry system.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
kimot
Posts: 105
Joined: Saturday 25 November 2017 17:18
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8153
Location: Czech Rep.
Contact:

Re: how to read/write domoticz backup-files to external sd

Post by kimot »

1) backup database from Domoticz web page
3) Shutdown your RPI
4) remove its SD card and in another computer copy /home/domoticz folder
5) install new system and Domoticz
6) copy specific files to /home /domoticz new instaled ( scripts, images, floorplans - new versions do some of this by backup database, so no needed maybe )
7) restore database
RPi2 Domoticz v 4.10717
10 x Sonoff Basic - ESPeasy
1 x Wemos D1 - ESPeasy
1 x Shelly Plus Plug S
1 x Sonoff S26 - ESPeasy
1 x Shelly 1
1 x MySensors HC-SR04
1 x MySenosrs wifi gateway
1 x RFLink
4x Cam IPC-T240H
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: how to read/write domoticz backup-files to external sd

Post by erem »

>>Currently I can' t copy the backupfiles as I don't know how to mount an external sd-card to the raspberry-pi I'm using.

can you clarify how you created the backup SD card?

There are multiple ways to pull the info from that card.
as waaren indicated, the diskinternals s/w for windows is one.
you can also create another copy of the sdd card using the raspberry accessories menu option sd card copier. if you do this, enable the tick box new partition UUIDs, that way you can use the SD card in an USB adapter and mount it under the new version to copy the scripts and DB .
Regards,

Rob
Post Reply

Who is online

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