Moving DB Location

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

Moving DB Location

Postby W4NNG » Tue Sep 22, 2020 3:27 am

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: 5569
Joined: Fri Mar 10, 2017 1:47 pm

Re: Moving DB Location

Postby w-u-2-o » Tue Sep 22, 2020 1:05 pm

The "datapath" command line option may do what you want.

See this thread (equally applicable to Thetis):

viewtopic.php?f=6&t=3245&p=9648&hilit=datapath#p9648
User avatar
W1AEX
Posts: 425
Joined: Sun Apr 09, 2017 6:17 pm
Location: Connecticut, USA
Contact:

Re: Moving DB Location

Postby W1AEX » Tue Sep 22, 2020 5:27 pm

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: 24
Joined: Sun Aug 09, 2020 12:15 am
Location: Alexandria VA 22306
Contact:

Re: Moving DB Location

Postby W4NNG » Tue Sep 22, 2020 7:33 pm

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

Re: Moving DB Location

Postby W4NNG » Tue Sep 22, 2020 8:24 pm

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"

Return to “Thetis”