I would like to see an option to allow backup to something other than the local machine. The Auto-backup feature will allow you to save locally but not to a drive on a remote machine. I would like to be able to run a script that would do something like this:
Check for a remote machine on my local network and save to a drive
Check for a remote machine through the Internet and save to a drive
And, of course, still allow me to save to my local machine.
Thanks for a great program!
Pat W9JI
Hello Pat,
auto-backup feature will save file to you local machine. Copying to remote machine or to FTP could do a script.
Create cqrlog.sh file, thaht will run CQRLOG and after it ends, you can do whatever you want with cqrlog.fdb or adif file created by autobackup.
I use this script to backup my database:
#!/bin/bash
TARFILE=`date +%Y_%m_%d_%H_%M_%S`_cqrlog.fdb.7z
echo $TARFILE
cd /home/ok2cqr/hamradio/cqrlog_linux/log_data
7z a $TARFILE cqrlog.fdb
wput $TARFILE ftp://user_name:password@ftp.ok2cqr.com/www/tmp/
rm $TARFILE
You must have wput and 7zip installed. This script creates backup with file name like 2009_11_19_21_25_14_cqrlog.fdb.7z and uploads it to my website. I use 7zip but you can also use tar.gz.
If you are going to use it, please don't forget to change path to your log_data directory.
I think, a backup of entire cqrlog.fdb file is much better than backup only ADIF file. ADIF doesn't include global long note and if you need restore QSOs, you can just unpack backuped database.
73 Petr, OK2CQR
--
http://HamQTH.com/ok2cqr
https://ok2cqr.com