Closed TheNoMoreHero closed 6 months ago
There really isn't a good way to do this with the plugin. I am working on adding a feature that would help with this.
Thanks for getting back. The fact that it throws an error is still undesired though right? Or would this be fixed in your new feature?
No, it isn't an error in the code. When you skip the init, the plugin still runs a borg info command against the repo to verify there is a repo in the specified location. If there isn't a repo there, the plugin throws an error by design. I plan to add a feature allowing an existing repo's path to be changed.
I see, thanks for the information!
I am still working on the feature allowing you to move a repo.
Took a while since I was on vacation but here is the change https://github.com/OpenMediaVault-Plugin-Developers/openmediavault-borgbackup/commit/ff45f07f57d754a15fb8c3bd80ee6ef004c1cb86
I am still testing but it should be released soon.
Hi! How can I see/track if it has been released on OMV6? I recently tried it, but couldn't get it to work
It is OMV 7 only. OMV 7 has been released as well.
Ah, perfect. Last time I checked it hadn´t yet, but then I'll upgrade and try the feature. Thanks for your work!
Hi,
I would like to move my repository to a different HDD. My thought process is to create a new shared folder in the OMV GUI, and use that folder to create a new repository using the 'Skip init' toggle to import the old repository in BorgBackup. When I enable the 'Skip init' toggle, I get the following error:
Just to be clear: The repository does create when I leave the 'skip init' disabled.
Am I doing anything wrong?