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

Cannot write to backup directory - "/" #103

Closed
donhardman opened this issue Feb 9, 2024 · 1 comment
Closed

Cannot write to backup directory - "/" #103

donhardman opened this issue Feb 9, 2024 · 1 comment
Assignees

Comments

@donhardman
Copy link
Contributor

When we restore a backup to the root directory, for example, using --backup-dir=/, and there's a file in the state directory, we can't restore it because of an error.

@donhardman donhardman self-assigned this Feb 9, 2024
@donhardman
Copy link
Contributor Author

Following an investigation, it was determined that the issue does not lie with the backup itself but rather with how we are preserving the path. Initially, I mistakenly assumed that we could include a .gitkeep file inside the state directory because we map it to the root directory. To address this, I implemented a workaround in the Demo project.

Additionally, during the investigation, I discovered files within the tmp directory that should not be included in the Docker image. Consequently, I created a pull request to address this issue: manticoresoftware/docker#73

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

1 participant