-
Notifications
You must be signed in to change notification settings - Fork 81
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
Unable to restore an archive using v1.4.1 #58
Comments
Greetings, try to build zbackup with debug enabled ( |
With current git tip, I can't read the repository. |
v1.4.1 doesn't seem to have debug functionality. Sorry, if I seem a bit lost. |
Sorry for being misleading. For 1.4.1 you could follow those steps to get a debug build:
I'll much appreciate if you could provide stderr output from both debug versions (current master and 1.4.1). |
I still see the error with current tip 89d6171 |
Full Error Log:
|
Have you removed info_extended before running restore? |
Oops, sorry. Forgot about that. |
I didn't manage to build a Debug version of 1.4.1. I changed CMakeLists.txt
However, I still don't get any additional output for the failure just the same
|
Have you completed following steps:
? If yes then you should remove cmake cache and complete those steps again. |
I did. I'm currently testing git tip again. Looking good... |
Hmm. There is no debug output when the error occurs.
|
Ok, I'll prepare version with extended debug logging based on 1.4.1 tree. |
As I see it, you are helping me. So thanks for that ;-) |
BTW what OS you are using? |
Arch Linux |
As far as I am concerned, you don't have to base your special debugging build on 1.4.1 (as I still have trouble enabling debugging output in that version) you could equally base it on current HEAD. |
I don't understand. |
Just the fact that I can't restore my 1.3 repo using git HEAD. |
(Same Error as 1.4.1) |
I just did a fresh backup with 1.4.1. The creation didn't have any problems. However, when testing the repo with zbackup restore, I had the same error. This means, I'm unable to restore any backup using v1.4.1. I adjusted the bug description accordingly. |
Ok, please follow those steps with any version your experiencing problems:
Please note that no private data will be leaked (because of -s0 flag of strace). You could additionally check zbackup.strace manually. |
zbackup.stdout contains the dump of my backup data. That's 2.2 GiB worth of data. Even if I compress it, it still clocks in at 471 MiB. Also it contains the dump of my backup which I am reluctant to put somewhere publicly accessible. From inspecting the strace output, it seems as if we're leaking file descriptors. Which is why the open call fails. |
Oh, yep, I don't need zbackup.stdout, sorry :) |
Ugh, maybe it's a bad idea to give restore 6 GiB of cache? That way it runs out of file descriptors. With less cache, it runs trhough the restore without problems. But why did v1.3 deal more gracefully with an extra big cache? And what is a reasonable amount of restore cache? |
It seems that the bundle files only get closed once the bundle falls out of the cache, instead of when it's done being read into the cache. |
I've found some other issues that should be fixed before cache handling. 2015-02-17 23:59 GMT+03:00 hazzl notifications@github.com:
Kind regards, |
@hazzl what is the output of: ulimit -n |
|
This bug was introduced in 0a61cc8, I'll fix it asap. |
Hi There,
I have an backup archive created with v1.3 which consistently fails to resotre with v1.4.1 at the same point in the archive. The error message is:
However, when I look for the specified file, it clearly exists (and has the same permissions as all others). When restoring with v1.3 everything works like expected. Any hints on how to debug this issue?
The text was updated successfully, but these errors were encountered: