Skip to content
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

How to do extracts with read-write source volumes? #253

Open
witten opened this issue Aug 16, 2023 · 2 comments
Open

How to do extracts with read-write source volumes? #253

witten opened this issue Aug 16, 2023 · 2 comments

Comments

@witten
Copy link
Collaborator

witten commented Aug 16, 2023

As I recently discovered when extracting from backup on a reinstalled system: Read-only source volumes (as currently documented) prevent docker-borgmatic from extracting any backup files to their original locations!

Which raises the question, what's the extract story with docker-borgmatic? Is the user intended to restart the container with read-write source volume mounts whenever they need to do an extract? Or maybe source volumes should be documented as read-write by default, at the cost of some decreased security? I'm of course open to suggestions.. There doesn't seem like a clear-cut answer here.

This might just be a documentation issue. There is the existing section about restoring backups, but it seems FUSE oriented. Maybe that's the intended way to restore backups rather than with extract?

@notflip
Copy link

notflip commented Oct 3, 2023

I'm also having issues extracting using docker..

Test Local on BorgBase: Error running actions for repository
Command 'borg extract ssh://USER@URL.repo.borgbase.com/./repo::6e50ee4e5df9-2023-10-03-071544' returned non-zero exit status 1.
Test Local on BorgBase: Retrying... attempt 1/5
Test Local on BorgBase: Sleeping 5s before next retry
Test Local on BorgBase: Error running actions for repository
Command 'borg extract ssh://USER@URL.repo.borgbase.com/./repo::6e50ee4e5df9-2023-10-03-071544' returned non-zero exit status 1.
Test Local on BorgBase: Retrying... attempt 2/5
Test Local on BorgBase: Sleeping 10s before next retry

@witten
Copy link
Collaborator Author

witten commented Oct 3, 2023

You might try upping your verbosity --verbosity 2 and/or disabling retries in configuration to see what might be going on there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants