Ability to override drive/path name

I use restic to back up an external USB3 drive on windows 10 to an external fileshare (and eventually Azure/AWS, but not doing that at this point).

Currently you can override the computer name, which is awesome for an external drive, however I have to ensure that the same drive letter is assigned or else it creates a new backup set.

Is there any way to override what it calls the volume, or could this be done in the future?


Hm, interesting corner case, would you mind raising this as an issue on GitHub so we can track it?

There’s no current way to modify the paths that restic uses, but if you’re willing to script restic a little, you could manually pass the last parent commit ID like this: restic backup --parent 01020304 d:\foo. That should work.