I have two drives in my server, the secondary drive mounted to permanent mount point /hdd2. I am unsure as to how to set it so that backups are stored on the second hard drive mounted at /hdd2
Reproduction Steps
Created secondary datastore which I believe points correctly to the mount point /hdd2
Edited LocalBackups plugin file in instance
Backups directory is still created within the instance
Can you show the permissions of the backup directory? And you also changed it in the LocalFileBackupPlugin.kvp of the minecraft instance? Did you already try to add the backup dir to the defaults and created a new instance?
Done that, it just creates a folder named /hdd2/Backups/ in the instance’s VDS rather than writing the backup to the second drive (which again, is mounted to the permanent mount point of /hdd2)
Your StorePath value is incorrect. The “.” at the start denotes a relative path to the current working directory. It should instead be: Storage.StorePath=/hdd2/Backups/
So long as the instance isn’t running in docker, in which case theres a small handful of extra steps.
I’m using Windows, and putting Storage.StorePath=/D:/AMPBackups/ causes my Minecraft instance to crash with this message: ADS logged stopped instance Minecraft01 - exit code -1 (CATASTROPHIC_FAILURE).