New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Files Removed from webdav path when removing volume #6
Comments
You mean if you do a |
Yes thats exactly what happens. I have a backup of the volume but it takes some time to restore the volume. Yesterday i tested it again with docker volume rm -f . If i look on the webdav endpoint in the web interface i can see de folder being emptyed slowly. Also the docker rm -f syntax times out most likely because it takes to much time to delete files. I found there are 2 volumes with a diffrent name but the same path could this be an issue ? |
🤔 wired. So the plugin does only an |
Well for time being i let these existing volumes remain it doesnt seem to affect newly created volumes only the volumes that already exist with the same id this way i can work around the problem and i am planning to remove all the volumes with the same and only recreate the ones i need i hope the solve the problem this way. |
well, I don't think the deleting part when unmounted is happening from the plugin itself. |
For anyone who has this issue. We recently had a similar issue of data loss with the
a way to reproduce:
|
One fix could be to replace os.RemoveAll by os.Remove (inspiration taken from https://github.com/ucphhpc/docker-volume-sshfs) |
When i delete a volume from docker, the files on webdav server are also deleted.
Is it possible to remove a volume without deleting the content of the webdav folder ?
The text was updated successfully, but these errors were encountered: