BACK TO SITEMAP
Restoring a Backup File From a 3rd Party Application for Spyder
Summary
This article describes the process of initiating a restore operation of an existing Vista Advanced / Basic backup file (.VAP) from a 3rd party application. This can be particularly useful in cases where 3rd party control systems want the ability to force the Spyder to a known configuration, or where multiple pre-defined configurations may be required at various times.
More Information
The process of restoring a backup file involves uploading the VAP file with a specific name to a specific directory on the Spyder frame, and then restarting the Spyder server application. Both of these operations can be performed from a 3rd party control interface by using a combination of FTP and the Spyder external control protocol.
To initiate the restoration of a Spyder .VAP backup file:
- 1. Using FTP, copy the desired Vista Advanced Backup file to the exact location listed below. Note that both the path and filename of the file must match to be processed. Also, the 'LocalRestore' directory may not be present in the Spyder folder, and in such a case this folder must be manually created. The Spyder server may remove this folder after processing the backup file, and so the presence of the LocalRestore folder should be checked each time a restore process is initiated.
- ftp:///Spyder/LocalRestore/RestoreOnStartup.va
- 2. Using the Spyder external control protocol (available from the Spyder hardware manual), send a remote restart command to the Spyder server (SDN command). This command is shown below.
- If using Ethernet / IP
- UDP packet is sent to port 11116 on the Spyder server
- Syntax (<0x00> represents a 'null' byte): spyder<0x00><0x00><0x00><0x00>SDN 1
- If using Serial
- NOTE: Spyder serial port must be pre-configured from the Vista Advanced software to accept external serial commands.
- Syntax ( represents a carriage return): SDN 1
- 3. Upon receiving the SDN command, the Spyder server will perform a warm-restart. When the Spyder server re-initializes it will detect, unpack, and load the contents of the backup file uploaded in step 1. The restore process may take several seconds, depending on the amount of still images included in the backup file (if any).
Status
The procedure described in this document is current as of version 2.10.4 of the Spyder software platform, and the steps described are considered valid as of software versions 2.10.0 and later.
BACK TO SITEMAP