I am running Stardog7.6.4 on a Ubuntu 20.04 machine. The binaries are located in /opt/stardog/bin and STARDOG_HOME is set to /var/opt/stardog.
I am out of space on that partition, so I want to move my databases to another partition, but keep the binaries where they are. Am I correct that this would be the way to proceed?
- export all databases
- shut down the server
- Create a directory on the other partition /data/stardog
- Copy the license key to /data/stardog
- Change /etc/stardog.env.sh to contain
- Restart the server
- import the databases
Do I need any other steps?
And if something goes wrong, can I simply back out by changing STARDOG_HOME back to /var/opt/stardog? If I don't change anything in that folder, I assume the server would be able to access the original databases?
Thanks. I really need to move to the new partition but I don't want to lose my databases!