• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ways to replace NetPi with/copy Config to new NetPi
#1
Hi,
 
is there a possibility to make a recovery from the whole NetPi with all configurations, docker containers etc? What would be the best way to restore the NetPi to a previous configuration or how can a configuration be copied from one NetPi to another?
  Reply
#2
The easiest possibility is to make an SD card hard copy. This requires to opne netPI with its 4 screws, removing the SD card temporarily and makeing a copy with a tool like Win32DiskImager. The OS running on netPI does not include any backup/restore capability of the whole SD card ... so the hard copy is the only possibility I see.

One addiitiional remark: I feel the OS part is in my eyes not really worth it to make a backup from since ALL informations/knowledge are in the application container, or? So if you use the Docker Web UI of netPI and use the "save" container option of a stopped container then the whole container as it is is saved to a file exported over your web browser session that you can store outside netPI. Later you can deploy and run this container image again and you will have a 100% copy of it running as before. In case you have multiple containers you have to save them one after the other.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#3
If you want to use your made SD card image with a second (backup) netPI ... then this is not so easy since each SD card contains a key file in the folder /nvd/ that fits exactly to the netPI it was in during production time. So once you made an SD card image copy of the original netPI then you have to replace this file in the image first with the one found on the second backup netPI. After replacing the file the SD card copy can be used with the second netPI.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Trouble resetting NetPI a.w.d.m. 7 3,172 February-9th-2022, 10:02 AM
Last Post: a.w.d.m.
  cannot execute file: Exec format error - NETPI tuliosouza 1 1,743 January-13th-2022, 01:17 PM
Last Post: Armin@netPI
  NetPI WiFi through Internet DSongra 1 1,946 September-7th-2021, 07:54 AM
Last Post: Armin@netPI
  NetPI wifi access to WPA2-Enterprise MikeP 4 4,257 September-3rd-2021, 02:56 PM
Last Post: MikeP
  netPI opc ua server pull image error wswitula 3 3,110 August-27th-2021, 10:47 AM
Last Post: wswitula
  OPC UA server with NetPi RTE DSongra 9 4,212 July-27th-2021, 12:01 PM
Last Post: Armin@netPI
  Node-RED 'projects' possible on netPI? JG_KIT 2 2,305 July-20th-2021, 01:11 PM
Last Post: JG_KIT
  Remot VPN connection from netPI to company network JG_KIT 6 2,907 July-8th-2021, 02:55 PM
Last Post: JG_KIT
  Accessing netPI web UI with REST API Armin@netPI 14 7,739 June-30th-2021, 05:06 AM
Last Post: Armin@netPI
  netPI RTE 3: access from several comm. masters tad 3 4,025 June-3rd-2021, 12:03 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)