On --create: Exclude files references locally created tmp file on remote server (and fail) #400
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#400
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
It seem to create (by default at least) a random /tmp/ file containing the exclusions.
But
--create
fails due toCommand 'borg create --exclude-from /tmp/tmp0t5fv_6k --compression zstd,12 --one-file-system --debug --show-rc --stats x@x:x::{hostname}-{now:%Y-%m-%dT%H:%M:%S.%f} /' returned non-zero exit status 2.
since on the remote the file does not exist and borg takes this is fatal:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpmp6929xl'
borgmatic version: 1.5.13.dev0
borgmatic installation method: Debian package
Borg version: borg 1.1.15 local, 1.1.9 remote.
Python version: Python 3.9.1+ local, Python 3.7.3 remote
operating system and version: Both debian, local sid, remote buster
Exclude files references locally created tmp file on remote server (and fail)to On --create: Exclude files references locally created tmp file on remote server (and fail)stupid error messages. 'init' was failed originally. :-S sry.