[Borgbackup] [SOLVED-almost]Find repository version number
Stan Armstrong
mfseeker at gmail.com
Sat Feb 13 13:18:45 EST 2016
The current borg version number can be found by intentionally issuing a
command that will return a traceback error report. Is there a simple way
to do this?
On 12/02/16 02:05 PM, Billy Charlton wrote:
> Perhaps the borg info command should describe the default chunk
> parameters for a repository, as well as the specific chunk parameters
> for an archive. that would be better than inferring chunk parameters
> from the code version.
>
> On Fri, Feb 12, 2016 at 10:04 AM, Adrian Klaver
> <adrian.klaver at aklaver.com <mailto:adrian.klaver at aklaver.com>> wrote:
>
> 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 <mailto:Borgbackup at python.org>
> https://mail.python.org/mailman/listinfo/borgbackup
>
>
>
>
>
>
> --
> Adrian Klaver
> adrian.klaver at aklaver.com <mailto:adrian.klaver at aklaver.com>
>
> _______________________________________________
> Borgbackup mailing list
> Borgbackup at python.org <mailto:Borgbackup at python.org>
> https://mail.python.org/mailman/listinfo/borgbackup
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/borgbackup/attachments/20160213/59bcde99/attachment.html>
More information about the Borgbackup
mailing list