source_directories_must_exist=true incompatible with set working_directory and relative source directories #905
Loading…
x
Reference in New Issue
Block a user
No description provided.
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_directory
set to any directorysource_directories set to relative paths
from the working_directorysource_directories_must_exist
set totrue
Once
source_directories_must_exist
is set tofalse
or if absolute directories are used without aworking_directory
, it works again.Expected behavior
source_directories_must_exist
should take into account theworking_directory
option.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
create
action 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!