Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Borg wil not work anymore after updating to rear 2.7-1 (github) #2880

Closed
roseswe opened this issue Oct 12, 2022 · 2 comments
Closed

Borg wil not work anymore after updating to rear 2.7-1 (github) #2880

roseswe opened this issue Oct 12, 2022 · 2 comments

Comments

@roseswe
Copy link

roseswe commented Oct 12, 2022

1.) make rpm -> rear-2.7-1.git.4914.dbc0c6f9.master.x86_64.rpm

2.) zypper in ./rear-2.7-1.git.4914.dbc0c6f9.master.x86_64.rpm

3.) rear -D -v mkbackup

:::
#++ borg list /dev/disk/by-label/REAR-000//borg_rear
Local Exception
Traceback (most recent call last):
  File "borg/archiver.py", line 4703, in main
  File "borg/archiver.py", line 4635, in run
  File "borg/archiver.py", line 162, in wrapper
  File "borg/repository.py", line 190, in __enter__
  File "borg/repository.py", line 415, in open
NotADirectoryError: [Errno 20] Not a directory: '/dev/disk/by-label/REAR-000/borg_rear'

Platform: Linux p5520 5.3.18-150300.59.93-preempt #1 SMP PREEMPT Tue Sep 6 05:05:37 UTC 2022 (7acce37) x86_64
Linux:   
Borg: 1.1.17  Python: CPython 3.7.11 msgpack: 0.5.6.+borg1
PID: 8587  CWD: /etc/rear
sys.argv: ['borg', 'list', '/dev/disk/by-label/REAR-000//borg_rear']
SSH_ORIGINAL_COMMAND: None

+ source_return_code=2

4.) fallback: rear23a-2.3.a-19.9.x86_64.rpm

5.) # rear -v mkbackup

Relax-and-Recover 2.4 / Git
::: 
@jsmeix
Copy link
Member

jsmeix commented Oct 13, 2022

I am not a Borg backup user so I cannot actually help
with Borg backup specific issues.

In general regarding issues with third-party backup tools:
Usually we at ReaR upstream do not use third-party backup tools
so usually we cannot reproduce issues with third-party backup tools.

Nevertheless we try to help as good as we can from plain looking at the code.
But to do that we need to know what ReaR scripts are actually run
and what actually happens while those ReaR scripts are run.
This is why we ask for specific information
when submitting a ReaR upstream issue, see
https://github.com/rear/rear/blob/master/.github/ISSUE_TEMPLATE.md
therein note in particular the last part about

"rear -D mkrescue/mkbackup/recover" debug log files

Furthermore see the section
"Debugging issues with Relax-and-Recover" in
https://en.opensuse.org/SDB:Disaster_Recovery

@github-actions
Copy link

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants