Spaces in filenames do not need escapes #406
Labels
No Label
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 New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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 2
output 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 --version
orsudo pip show borgmatic | grep ^Version
borgmatic installation method: [e.g., Debian package, Docker container, etc.]
Borg version: [version here]
Use
sudo borg --version
Python version: [version here]
Use
python3 --version
Database version (if applicable): [version here]
Use
psql --version
ormysql --version
on 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.)