HOWTO??? CQRlog on a road trip

4 posts / 0 new
Last post
PA2BX
PA2BX's picture
HOWTO??? CQRlog on a road trip

CQRlog is installed on my shack desktop, but I want to clone the whole setup and put it on my laptop for a road trip. After the road trip the whole setup then has to be migrated back to the shack desktop.

What is the smartest, safest and most hastle free way to do this? Please let me learn from your methods. Thank you.

Hans

oh1kh
Replication

If you are not using external mysql server just install same version to laptop. Verify that installation works and then delete ~.config/cqrlog folder from laptop (note folder is hidden as name starts with dot).
Then just copy same folder from desktop and paste it to laptop.

But consider just making a new log to laptop (if you do need need previous qsos for worked before checking).
You can copy log preferences of desktop log by opening "file/open or create new log"- dialog and select "utils/configuration/export " from there and after that do import to laptop log from same way. Then you get similar look and functions as desktop log has.

After troad trip just make adif export from laptop and adif import to desktop.

--
Saku
OH1KH

PA2BX
PA2BX's picture
Thanks for the help. I spent

Thanks for the help. I spent a few hours trying various things and it wasn't much fun.

Simply copying the ~.config/cqrlog folder didn't work: Access violation error. I tried only copying the ~.config/cqrlog/database folder, but then I got mysql errors. In the end I exported an ADIF file with all the logs from the desktop and imported it into a fresh cqrlog setup on my laptop. I also transferred the ini file and then I was good to go.

I guess after use I will reverse the steps, wiping the desktop database and importing the ADIF from the laptop. Cumbersome, but if it works that way I'll take it. Anything else that needs to be transferred besides the ADIF and ini file?

oh1kh
copying

I started to suspect and had to make a fresh test.

As I did not have another PC I simulated it by making a new user:

First log in as new user called testuser and start cqrlog (if another PC here first install cqrlog, then start it). It said you have never run program before, do you want to save log on local machine. Then DXCC and other stuff. After all answers it opened new, empty log.

At this point I closed the program and used console command "rm -rf .config/cqrlog" to wipe all away.

Then I used another command "cp -a /home/saku/.config/cqrlog /home/testuser/.config" (If it had been another PC I first had to copy it to usb stick, then from that to testuser's .config on other PC)

After that I used command "chown -R testuser.testuser /home/testuser/.config/cqrlog" to change ownership of all files I copied.
(I think your access violation come from wrong ownership of copied files)

After that I started cqrlog as testuser and there it was. My log with my settings.

As I tested with same PC the fastest way was to do all commands as root (sudo), but if you have 2 PCs you can do all as logged in user account on both PCs.

Remember that cqrlog MUST BE CLOSED while doing these!
--
Saku
OH1KH