On 03/21/2016 11:36 AM, Nicholas Cheng wrote:
> Dear Maintainer,
> 
> I installed borgbackup, made a backup of my ~/Documents folder and
> attempted to restore it in another folder I created in my home
> directory. BorgBackup restored a few files before finally stopping.

Hello Nicholas,

I cannot reproduce your problem right now.  Please provide the more
information, like the exact commands you used to backup and restore.

> I looked around the internet and there was little to no mention of a
> similar bug. I've tried removing ~/.cache/borg completely and
> retrying the same procedure.

I remember that it was recently [discovered][1] that under certain
circumstances, disk I/O errors can get silently ignored.  You might want
to check if you're affected by this.  [This comment][2] shows commands
used to create an archive and shows the file lengths being wrong, which
is a symptom of the ignored i/o error on read.

The fix will be included in the next upload.

To check whether your problem is a corrupt backup or during restore,
please try mounting your backup (man borgbackup, section BORG MOUNT) as
a directory and see if the files inside are all right.  If your backup
can be mounted and the files inside are correct, then you are not
affected by the above bug.

> BorgBackup still fails to extract files properly and completely. It
> outputs a few lines of errors (Errno 1 5) before outputting some
> Traceback errors before exiting.

Please post the exact error messages and the full traceback here.  It
would be best if you call borgbackup with --verbose to get a bit more
details of what exactly it was doing when it failed.  If you can, send
the terminal session as a text attachment to avoid any email formatting
or line breaking.  The "script" program from bsdutils package can help
you to create such a transcript file.


Cheers,

- Danny


[1]: https://github.com/borgbackup/borg/issues/748
[2]: https://github.com/borgbackup/borg/issues/748#issuecomment-196586665

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to