Skip to content

RRduino: Backup and Restore a node

manu-fwi edited this page Nov 27, 2020 · 1 revision

Like all good practices, you should always back up your work. The same can be done for the configuration on each node.

  • If you have a node that has a hardware failure and need to replace it.
  • Load a previous configuration that worked better.

Backup a Node's Configuration

Start Configuration Tool

Change to the config tool directory

cd RR-duino/jmri-RR-duino
python3 ./pico-rr-duino-setup.py

Loading previous Configuration.

Before we back up, always remember to load any previous setup from the node into the tool.

  • Enter your Serial connection details and Connect.
  • Enter the Address for the node.
  • Tab to 'Check device' and press Enter. The Status field should return OK.
  • Tab to 'Load EEPROM' and press Enter to get the latest settings.

Enter the Backup Screen

Tab down to the 'Backup node to file' button and press Enter to go to the backup screen. Backup Button

Backup the Node

In the backup screen, enter the following information in the fields.

  • 'Backup file': The name of the file to save the configuration into. NOTE: you can save multiple nodes into the same file, just choose the same file name when backing up each node. Just remember to load each new node from EEPROM before backup.
  • 'Node name': A unique name for the node in this backup file.

Once entered, tab to the 'Write to File' and press Enter to save the node's configuration to that file.

Backup

Restore a Node's Configuration

Start Configuration Tool

Change to the config tool directory

cd RR-duino/jmri-RR-duino
python3 ./pico-rr-duino-setup.py

Loading previous Configuration.

Before we restore, ensure you can connect to node.

  • Enter your Serial connection details and Connect.
  • Enter the Address of the node you will restore to.
  • Tab to 'Check device' and press Enter. The Status field should return OK.

Enter the Restore Screen

Tab down to the 'Restore node from file' button and press Enter to go to the restore screen. Restore Button

Load Configuration from File

In the restore screen, enter the following information in the fields.

  • 'Restore file': The name of the file your backup is in.

Once entered, tab to the 'Load restore file' and press Enter to load the nodes.

Restore

Once the nodes are loaded into the restore tool, a list of nodes should appear. Tab to the node list and hilite the node to restore, then tab to the 'Restore selected node' button and press Enter.

Restore the Node

Now that the configuration of the node is loaded into the tool, return back to the main screen by pressing ESC key, tab to the 'Store to EEPROM' button and press the Enter key to save the configuration back into the node that you had selected.