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

[MET-108] Don't scan all directories in the install when backing up #123

Merged
merged 3 commits into from
Mar 4, 2021

Conversation

jackbentley
Copy link

This updates the code that handles the replace_directories config option to not scan the entire install directory. The user may not have permission to access some of the directories which causes the task to fatal error.

Additionally, this PR will enforce that the config values are directories starting at the installation root. i.e. /var or /var/config are at /patch/dir/var and /patch/dir/var/config respectively.

This PR also removes the undocumented ability to specify a pattern for the config option.

Jack Bentley added 2 commits February 16, 2021 18:49
Enforces that replace_directories be directories starting in the root of the install directory
@jackbentley jackbentley changed the title Don't scan all directories in the install when backing up [MET-108] Don't scan all directories in the install when backing up Feb 17, 2021
@dgudgeon dgudgeon merged commit e5c9b14 into master Mar 4, 2021
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

Successfully merging this pull request may close these issues.

2 participants