[Borgbackup] Find repository version number

Adrian Klaver adrian.klaver at aklaver.com
Fri Feb 12 13:04:54 EST 2016


On 02/12/2016 09:39 AM, Stan Armstrong wrote:
> Yes, but the config version (=1 for both a 0.30 and a 1.0.0rc
> repository) gives no help with the problem.
>
> Since there was a change in the default chunk size between program
> versions, knowing the version of a repository makes a difference in
> judging whether or not to replace a 0.30 repository with an entirely
> new, larger chunk size 1.0.0rc repository.

If I follow the Changelog correctly:

https://github.com/borgbackup/borg/blob/1.0.0rc1/docs/changes.rst

what you want to do is going to be complicated if you are already using 
1.0.0rc against an existing repo. Basically a repo can have multiple 
chunk size archives within it and that can result from the program 
version change or user changes to --chunker-params. So knowing what 
version created a repo is not necessarily an indication of the 
chunkiness of the archives within.

>
> I expected the borg info -v command to give me the program version. It
> doesn't. I thought perhaps the README file in the repository directory
> might have the program version. It doesn't.
>
> On 12/02/16 11:40 AM, Adrian Klaver wrote:
>> On 02/12/2016 07:26 AM, Stan Armstrong wrote:
>>> I am running 1.0.0rc. I have several repositories on two different
>>> machines. How do I find the version that created a specific repository?
>>
>> Do not know how you find the program version, but if you look in the
>> config file in each repo it will show you the repo version.
>>
>>>
>>> _______________________________________________
>>> Borgbackup mailing list
>>> Borgbackup at python.org
>>> https://mail.python.org/mailman/listinfo/borgbackup
>>
>>
>


-- 
Adrian Klaver
adrian.klaver at aklaver.com


More information about the Borgbackup mailing list