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

Repository has no manifest. error #5955

Closed
enesdogan00 opened this issue Aug 13, 2021 · 7 comments
Closed

Repository has no manifest. error #5955

enesdogan00 opened this issue Aug 13, 2021 · 7 comments

Comments

@enesdogan00
Copy link

I was using borg to take backup of my servers and when I tried to access one of my backups I got the error of "Repository has no manifest." Is there a way to fix it? It's very important for me.

$ sudo borg list openvpn
Repository has no manifest.
@ThomasWaldmann
Copy link
Member

Well, it looks like your repository has lost some data - check whether the filesystem and disk you use is ok and working reliably.

After that, you can run borg check --repair- it will take quite a while depending on size of repo, but it can regenerate the manifest from archive data.

@ThomasWaldmann
Copy link
Member

BTW, what borg version do you use? Do you use rsync.net hosting?

@enesdogan00
Copy link
Author

Well, it looks like your repository has lost some data - check whether the filesystem and disk you use is ok and working reliably.

After that, you can run borg check --repair- it will take quite a while depending on size of repo, but it can regenerate the manifest from archive data.
It gives the error:

Type 'YES' if you understand this and want to continue: YES
Repository contains no apparent data at all, cannot continue
check/repair.

And my version is: borg 1.1.17

@ThomasWaldmann
Copy link
Member

Hmm, that sounds bad. Do a ls -lR repodir.

@enesdogan00
Copy link
Author

.:
total 64
-rw------- 1 archie wheel   209 Jul 26 19:15 config
drwx------ 3 archie wheel  4096 Jul 27 23:15 data
-rw------- 1 root   root     48 Aug 13 16:27 hints.2
-rw------- 1 root   root  41258 Aug 13 16:27 index.2
-rw------- 1 root   root    190 Aug 13 16:27 integrity.2
-rw------- 1 archie wheel    73 Jul 26 19:15 README

./data:
total 4
drwx------ 2 archie wheel 4096 Aug 13 16:27 0

./data/0:
total 4
-rw------- 1 root root 17 Aug 13 16:27 2

@ThomasWaldmann
Copy link
Member

Well, there is a repo, but there is no data of yours in there (just sum up all files below data, 17 bytes is just a borg commit tag).

Are you sure you are accessing the correct repo?

Also: permissions mixup in there - always use same user to access the repo.

@ThomasWaldmann
Copy link
Member

Any news?

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

No branches or pull requests

2 participants