source_directories_must_exist=true incompatible with set working_directory and relative source directories #905
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'm trying to do and why
The following setup will result in an error complaining that the source directories do not exist:
working_directoryset to any directorysource_directories set to relative pathsfrom the working_directorysource_directories_must_existset totrueOnce
source_directories_must_existis set tofalseor if absolute directories are used without aworking_directory, it works again.Expected behavior
source_directories_must_existshould take into account theworking_directoryoption.borgmatic version
1.8.13
borgmatic installation method
pipx
Borg version
1.2.4
Python version
3.11.2
Operating system and version
Debian GNU/Linux 12 (bookworm)
Thanks for filing this! I can confirm that the code for the
createaction is consistent with the behavior you're seeing.Fixed in main and will be part of the next release. Thanks again for taking the time to report this!
Released in borgmatic 1.8.14!