User manual
Sensorsoft Alert User Manual
Backup files on Alert appliance to a remote host
There are several circumstances where you may want to backup files on your Alert appliance to a remote
host. We provide example methods below for doing this using scp and tftp. The scp (secure copy)
command lines assume you have a Unix or Linux host that has a ssh/sftp server installed and running. The
tftp (trivial ftp) command lines assume you have a Windows or Unix/Linux host that has a tftp
1
server
installed and running. After executing the scp commands it will prompt you for the password of the remote
user. The command lines shown are executed from your Alert appliance root login.
Backup flash settings (script) file to a remote host
If your script file becomes corrupt it will mean all of your user settings are lost. Therefore taking the time
to back up the script file will allow for a speedy recover instead of the lengthy process of having to renter
all your settings.
After you have saved your Alert appliance settings using the saveconf command you can backup for safe
keeping the script file. The commands below can be used to periodically backup the script file.
CAUTION – Do not run the following commands if you are having problems
accessing the web interface of the Alert appliance. Otherwise you could create
a corrupt script backup file or overwrite a known good script backup file.
# saveconf
# scp /proc/flash/script username@remotehost:/home/username/alertbackup/script.backup
or
# saveconf
# tftp -l /proc/flash/script -r script.backup -p tftp_server
Backup log files to a remote host
Since the Alert log files are lost at every reboot you can periodically save these files to a remote host
should you require this information for archival purposes.
# scp /logs/*.log username@unixhost:/home/username/alertbackup/
The tftp method below requires each log file to be transferred separately. You can automate this by
including them in a Linux shell script:
# tftp -l /logs/_Port01_Var1.log -r _Port01_Var1.log -p tftp_server
1
A free open-source TFTP server for Windows is available for download at http://tftpd32.jounin.net/
47