Page 1 of 1
Moving DB Location
Posted: Tue Sep 22, 2020 3:27 am
by W4NNG
One of Anan impressive features is that it can be networked and accessed via different computers. To make this a smoother operation. one needs to cloud sync the Thetis DB (database)
C: Drive is a fast SSD so program installed there. D: Drive is my data drive - all files in it sync via OneDrive
To sync DB's, manually redirect (export) Thetis database to the D: drive. How do I make this the default DB location?
Re: Moving DB Location
Posted: Tue Sep 22, 2020 1:05 pm
by w-u-2-o
The "datapath" command line option may do what you want.
See this thread (equally applicable to Thetis):
https://apache-labs.com/community/viewt ... path#p9648
Re: Moving DB Location
Posted: Tue Sep 22, 2020 5:27 pm
by W1AEX
As Scott said, the datapath command line works great for steering the startup command to different database.xml files or even completely different versions. I created a shortcut for Thetis version 2.6.6 so that I could run it with one click instead of Thetis version 2.7.0_a3 whenever I wanted to compare a few different behaviors between those versions. Very easy to do and it works perfectly. These are the lines used in the shortcut for the alternate version of Thetis I was playing with:
Target line: "C:\Program Files (x86)\OpenHPSDR\Thetis266\Thetis.exe" -datapath:"%appdata%\OpenHPSDR\Thetis266"
Start In line: "C:\Program Files (x86)\OpenHPSDR\Thetis266"
I'm pretty sure that Doug W5WC documented how to do this a few years back. At any rate, that's where I learned how to use this trick.
73, Rob W1AEX
Re: Moving DB Location
Posted: Tue Sep 22, 2020 7:33 pm
by W4NNG
Tnx 4 great advice
Re: Moving DB Location
Posted: Tue Sep 22, 2020 8:24 pm
by W4NNG
If you want to cloud sync your Thetis Database across multiple computers
Right Click Desktop Shortcut Icon and add DB redirect via OneDrive link
For example ,
"C:\Program Files (x86)\OpenHPSDR\Thetis\Thetis.exe" -datapath:"D:\OneDrive\HAM Radio\ANAN 7000DLE\THETISDB"