Hangs on pipes defined by supervise/runit
#442
Closed
opened 2 years ago by BastienDurel
·
3 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
What I'm trying to do and why
I'm trying to backup my /etc
In /etc, there are some services supervised by daemontools/svc/runit
Steps to reproduce (if a bug)
Have a directory to backup with some supervise bits inside. eg:
Exclude supervise/control & supervise/ok to be sure it won't interfere
Actual behavior (if a bug)
borg tries to include these files, and hangs forever
Expected behavior (if a bug)
borg should ignre these files
Environment
Note this behaviour was not present on debian 10, even with the backported version 1.5.1-1 I was using before migration
borgmatic version: 1.5.13.dev0
borgmatic installation method: Debian package
Borg version: 1.1.16
Python version: Python 3.9.2
operating system and version: Debian 11
I think what's going on here is that the exclude patterns aren't actually matching the files in question!
Using globs to match any path that ends with a particular pattern might work better:
Alternatively, you could use the whole absolute path. More details about patterns are available in the Borg docs.
Please give one of those a shot and let me know if it solves the problem for you. Thanks!
You're right, globbing works. Thanks :)
Awesome, glad to hear it!