Spaces in filenames do not need escapes #406
Labels
No labels
blocked
breaking
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No milestone
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
borgmatic-collective/borgmatic#406
Loading…
Reference in a new issue
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
Backup a directory with a space in its name
Steps to reproduce (if a bug)
Include (sanitized) borgmatic configuration files if applicable.
Actual behavior (if a bug)
Include (sanitized)
--verbosity 2output if applicable.Expected behavior (if a bug)
This works, but I didn´t expect it to.
Other notes / implementation ideas
This is a documentation bug. I initially escaped the space (using ´\´) which gave an error. The docs say that globs and tildes are expanded, which can be misunderstood
to mean that Shell escapes are required when they aren´t. The docs should make
this clear.
Environment
borgmatic version: [version here]
Use
sudo borgmatic --versionorsudo pip show borgmatic | grep ^Versionborgmatic installation method: [e.g., Debian package, Docker container, etc.]
Borg version: [version here]
Use
sudo borg --versionPython version: [version here]
Use
python3 --versionDatabase version (if applicable): [version here]
Use
psql --versionormysql --versionon client and server.operating system and version: [OS here]
Stumbled upon this at first as well, would be nice to add a hint to the docs or an example in the generated borgmatic config.
Thank you both for mentioning this. It's good to hear about "minor" docs issues like this that are causing problems for folks. This should be clarified now in the generated configuration file in
master, and I've updated the examples as well! (Should be deployed shortly.)