returned non-zero exit status 2 #667
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#667
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
run remote backup that has previously worked and it fails
Steps to reproduce (if a bug)
borgmatic prune create -v 1 --files --stats > /mnt/logs/backup-"
date +"%F+%T"
".logActual behavior (if a bug)
Include (sanitized)
--verbosity 2
output if applicable.Expected behavior (if a bug)
Other notes / implementation ideas
Environment
borgmatic version: 1.7.9, server. none on the remote
Use
sudo borgmatic --version
orsudo pip show borgmatic | grep ^Version
borgmatic installation method: Docker container
Borg version: 1.2.3, server. 1.1.16 on the remote.
Use
sudo borg --version
Python version: 3.11.2, server. 3.9.2 remote
Use
python3 --version
Database version (if applicable): [version here]
Use
psql --version
ormysql --version
on client and server.operating system and version: Unraid and dietpi 8.15.2
Not really sure where to start to troubleshoot, so any help is appreciated.
When I type sudo apt-get install --only-upgrade borgbackup on the remote server I get this message
borgbackup is already the newest version (1.1.16-3)
Thanks for the detailed ticket. This error message is coming from Borg, and I believe indicates an error with Borg reading/writing the repository. I think the place to start is a
borgmatic check
. Then, if necessary, you can move toborgmatic check --repair
. You might also want to do some hardware checks on either your client machine or the machine with the Borg repository or both. Hope this helps!Side note: borgmatic has a
--log-file
option that you may be interested in.I'm closing this for now, but feel free to reopen with any followup comments.