[Borgbackup] "borg check" without reading every byte

Marian Beermann public at enkore.de
Thu Dec 15 14:54:13 EST 2016


On 15.12.2016 20:35, John Goerzen wrote:
> Yes, I read that, but the documentation also says this:
> 
> For the repository check, "For all objects stored in the segments, all
> metadata... and all data is read."
> 
> Although now that I reread the description of the archive check, perhaps
> there is a case where it does not have to reread all data.  I'll see if
> I can validate this.

Archives check only works with metadata.

> Second, the consistency and correctness of the
> archive metadata is verified:

Cheers, Marian

> Thanks,
> 
> John
> 
> 
> On 12/15/2016 01:06 PM, Marian Beermann wrote:
>> Hi John
>>
>> from the check help page:
>>
>>   --repository-only     only perform repository checks
>>   --archives-only       only perform archives checks
>>
>> Cheers, Marian
>>
>> On 15.12.2016 19:38, John Goerzen wrote:
>>> Hi folks,
>>>
>>> I have a question about borg check.  I'm anticipating storing a backup
>>> on a remote host to which I do not have the ability to install borg
>>> (think sshfs or webdav or so).  From the manpage description, it looks
>>> as if borg check will read every bit of data in the repo at least
>>> twice.  Is there a way for it to check the consistency of the metadata
>>> trees without checking the CRC of every segment or reading every bit of
>>> file data?
>>>
>>> (I am pondering a move from obnam, which does have this feature)
>>>
>>> Thanks,
>>>
>>> John
>>> _______________________________________________
>>> Borgbackup mailing list
>>> Borgbackup at python.org
>>> https://mail.python.org/mailman/listinfo/borgbackup
>> _______________________________________________
>> Borgbackup mailing list
>> Borgbackup at python.org
>> https://mail.python.org/mailman/listinfo/borgbackup
> 



More information about the Borgbackup mailing list