Home
Wood Heating
Choices
Data
System Design
Controller
Control Logic
Software Design
Electrical Schematic
Simple system w/ storage
Domestic Hot Water
Heat Storage
Solar Hot Water
Introduction
System Components
User Guide
Programming Guide
Failsafe Design
Sample Application
LM35 Sensor Assembly
Pinout Info
Poor Man's VS Circ
Journal
Plastic Pipe Collector
Thermistors
Forum Solar-TodayWood-TodayBurn Planner
<Prev Table Of Contents Next>

Backup and Restore

As with any data on a computer, it's prudent to back up the rules and configuration data from the NFCS. All configuration and rule data is stored in text files that can be copied and saved either internally or on another computer. There are three ways to back up data, and two ways to restore from backup.

Fast and Simple

Backup

In the NFCS web interface, go to the 'System' tab. To back up all configuration and rule settings, Put a name in the 'Backup' field and click the 'Backup' button. Names must not contain spaces, punctuation, or special characters with the exception of '-' and '_'. A descriptive name is good, perhaps including a date. Backed up configurations appear as choices in the 'Restore' section.

All configurations saved in this way are saved to internal storage in the NFCS. This means that if there was a catastrophic failure of the CPU card, the configuration and backups could be lost.

Restore

To restore, simply click the 'Restore' button next to the saved configuration that you want to restore. NOTE: it may be necessary to cycle power on the NFCS after a Restore operation.

Note that restoring a saved configuration wipes out all current settings.

As delivered, the NFCS has three saved configurations:

  1. empty - As described, it's a completely empty configuration with no defined elements and no rules.
  2. full-test - This configuration is used before delivery to test the NFCS. All physical inputs and outputs have elements defined, and there are rules that exercise the system. This configuration is not likely to be of any use to end users.
  3. led-sample - This configuration is the 'as-delivered' setup. It has simple rules to illuminate the front panel LEDs based on the position of the user-defined front panel switch.

Web Based Backup

It's possible to individually back up each configuration file to any computer that has access to the NFCS. In the NFCS web interface, go to the 'System' tab. All the configuration files are shown as clickable links. Right-click on each and save as a file on your computer.

Using FTP for Backup and Restore

The NFCS is an FTP server, so FTP can be used to copy files to and from the NFCS. You can use any FTP client to do this, but there is a simple command-line FTP client that's included with Windows.

Before starting the backup process, create a directory on your computer for the NFCS files. In this example, there's a directory in 'My Documents' named 'nfcs'.

Bring up a command prompt window. One way is to click 'Start', then choose 'Run...', and in the popup type 'cmd'.

In the command prompt window type the following commands:

cd "My Documents\nfcs
(or the path to whatever directory you choose)

ftp 192.168.1.8
(substitute the address of your NFCS here)

When prompted, enter nfcs for user name. Enter the password for your system, which can be found inside the front cover.

At the ftp prompt, type

cd /www/apache/htdocs

You can copy individual files from the NFCS to your computer by typing

get filename
where filname is the name of the individual file that you want to copy.

You can copy all configuration files by typing

mget *.csv

You can copy files from your computer to the nfcs by typing

put filename

And finally, you can copy all configuration files (assuming that you have them on your computer) by typing

mput *.csv

You can also back up, delete, or replace any configurations that were saved to internal storage. These are simply files in the /www/apache/htdocs/backups directory. They are tar files that have been compressed with gzip. If you are familiar with this approach, you can unpack and study the backups anywhere. Otherwise, simply store the files themsleves as desired and copy them back to the NFCS if needed.

Executables

In addition to the configuration files, the NFCS application makes use of several executable programs. These are stored in /www/apache/cgi-bin/ and /www/apache/cgi-bin/utils/. These files do not need to be backed up as thre are copies retained on the server at nofossil.org. However, software upgrades might involve using FTP to replace some of these files.

<Prev Table Of Contents Next>