Moving DB Location

Post Reply
User avatar
W4NNG
Posts: 27
Joined: Sun Aug 09, 2020 12:15 am
Location: Alexandria VA 22306
Contact:

Moving DB Location

Post 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?
User avatar
w-u-2-o
Posts: 5961
Joined: Fri Mar 10, 2017 1:47 pm

Re: Moving DB Location

Post 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
User avatar
W1AEX
Posts: 436
Joined: Sun Apr 09, 2017 6:17 pm
Location: Connecticut, USA
Contact:

Re: Moving DB Location

Post 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
"One thing I am certain of is that there is too much certainty in the world."
User avatar
W4NNG
Posts: 27
Joined: Sun Aug 09, 2020 12:15 am
Location: Alexandria VA 22306
Contact:

Re: Moving DB Location

Post by W4NNG »

Tnx 4 great advice
User avatar
W4NNG
Posts: 27
Joined: Sun Aug 09, 2020 12:15 am
Location: Alexandria VA 22306
Contact:

Re: Moving DB Location

Post 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"
Post Reply

Return to “Thetis”