Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552470 - [ebuild request] app-backup/borg-0.23.0 - Deduplicating backup program
Summary: [ebuild request] app-backup/borg-0.23.0 - Deduplicating backup program
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-18 15:34 UTC by Michael Gn. Gajda
Modified: 2016-03-21 11:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
borg-9999.ebuild (borg-9999.ebuild,585 bytes, text/plain)
2015-08-02 23:39 UTC, Michael Gn. Gajda
Details
Latest release 0..24.0 (borgbackup-0.24.0.ebuild,705 bytes, text/plain)
2015-08-18 15:30 UTC, Petric Frank
Details
borgbackup-0.25.0.ebuild (borgbackup-0.25.0.ebuild,722 bytes, text/plain)
2015-09-09 19:07 UTC, Petric Frank
Details
borgbackup-0.28.2.ebuild (borgbackup-0.28.2.ebuild,612 bytes, text/plain)
2015-11-18 19:24 UTC, Michael Gn. Gajda
Details
borgbackup-0.29.0.ebuild (borgbackup-0.29.0.ebuild,612 bytes, text/plain)
2015-12-17 02:15 UTC, Michael Gn. Gajda
Details
borgbackup-0.30.0.ebuild (borgbackup-0.30.0.ebuild,574 bytes, text/plain)
2016-01-25 02:05 UTC, Michael Gn. Gajda
Details
borgbackup-0.30.1.ebuild (borgbackup-0.30.1.ebuild,574 bytes, text/plain)
2016-02-13 14:02 UTC, Michael Gn. Gajda
Details
borgbackup-1.0.0.ebuild (borgbackup-1.0.0.ebuild,560 bytes, text/plain)
2016-03-12 23:58 UTC, Michael Gn. Gajda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Gn. Gajda 2015-06-18 15:34:28 UTC
borg is a fork of 'attic'. 'attic' was (claimed) to be added to the tree a few days ago, but sadly I do not see it on my portage tree. I thought I could take a look at the ebuild and re-use it, as borg is very similar to attic.


GitHub: https://github.com/borgbackup/borg
Website: https://borgbackup.github.io/

Based on attic (version 0.16), which was claimed to be added with #510674
Reasons for the fork: https://github.com/jborg/attic/issues/217

Current Version: 0.23.0

Reproducible: Always
Comment 1 Michael Gn. Gajda 2015-08-02 23:39:15 UTC
Created attachment 408170 [details]
borg-9999.ebuild

Initial ebuild kindly provided by Justin Lecher (jlec).
Comment 2 Petric Frank 2015-08-18 15:30:23 UTC
Created attachment 409370 [details]
Latest release 0..24.0

Version 0.24.0 released. New ebuild attached.

Works for me.
Comment 3 Petric Frank 2015-09-09 19:07:48 UTC
Created attachment 411456 [details]
borgbackup-0.25.0.ebuild

Latest release 0.25.0
Comment 4 Michael Gn. Gajda 2015-11-18 19:24:04 UTC
Created attachment 417314 [details]
borgbackup-0.28.2.ebuild

Using setuptools_scm instead of setuptools. Latest version as of today, builds and works for me.
Comment 5 Michael Gn. Gajda 2015-11-18 19:25:15 UTC
Forgot to mention: Petric helped me on that one (actually sitting right next to the borg main-dev xD)
Comment 6 Michael Gn. Gajda 2015-12-17 02:15:21 UTC
Created attachment 419428 [details]
borgbackup-0.29.0.ebuild

Latest version as of 2015-12-17.

Noteworthy upstream changes: Improved locking and logging. Changelog: https://github.com/borgbackup/borg/blob/0.29.0/docs/changes.rst

EBUILD identical to 0.28.2. Built on amd64 incl. fuse-support without problems.
Comment 7 Lionel Bouton 2016-01-07 21:09:47 UTC
Ebuild 0.29.0 confirmed working on amd64
Comment 8 Michael Gn. Gajda 2016-01-25 02:05:08 UTC
Created attachment 423842 [details]
borgbackup-0.30.0.ebuild

Version 0.30 added. eBuild is mostly unchanged. Fixed a few ebuild format issues reported by repoman.

Latest version as of 2016-01-25.

Upstream changelog:
https://github.com/borgbackup/borg/blob/0.30.0/docs/changes.rst

I am planning to proxy-maintain this package soonish (need my GPG stuff sorted out first).
Comment 9 Michael Gn. Gajda 2016-02-13 14:02:43 UTC
Created attachment 425400 [details]
borgbackup-0.30.1.ebuild

Version 0.30.1 added. eBuild unchanged.

Latest version as of 2016-02-13.

Upstream is planning to drop support for <=python-3.3 for any version after 0.30.x. So this will be one of the last version supporting python-3.2 and 3.3.
Comment 10 Michael Gn. Gajda 2016-03-12 23:58:08 UTC
Created attachment 428090 [details]
borgbackup-1.0.0.ebuild

Version 1.0.0 added. eBuild had <=python-3.3 compability removed.
Latest version as of 2016-03-12.

The pre-1.0.0 versions did not work with the latest >llfuse-0.41 releases. This was a minor bug in the old eBuild files. Generally, a bunch of things changed and it is a good idea to use borgbackup 1.0.0 (which still can read old backups), so I deprecated the old eBuilds.

### WARNING: This is a major release! ###

- Support for Python 3.3 and lower was dropped
- A few deprecated commandline-parameters had been finally dropped
- There are new default chunking parameters. This does *not* break anything, old backups still work. But if you used the default chunking parameter, the new parameters will cause deduplication to fail for the next backup which might temporary increase your repository until the old chunks are pruned.
- Newly created repositories use encryption by default

See https://github.com/borgbackup/borg/blob/1.0.0/docs/changes.rst for details.


TL;DR for existing installations: Check if you use deprecated commandline options and if you used default chunking parameter, make sure to have enough free space on your backup repository.
Comment 11 Michael Gn. Gajda 2016-03-21 09:59:04 UTC
Anthony G. Basile took over maintaining the package (with a slightly different but cleaner eBuild). So borg is now officially part of the portage tree, yay! :)

https://packages.gentoo.org/packages/app-backup/borgbackup

I will mark my eBuild as obsolete and close this bug. Happy Backupping! :-)
Comment 12 Anthony Basile gentoo-dev 2016-03-21 11:10:25 UTC
(In reply to Michael Gajda from comment #11)
> Anthony G. Basile took over maintaining the package (with a slightly
> different but cleaner eBuild). So borg is now officially part of the portage
> tree, yay! :)
> 
> https://packages.gentoo.org/packages/app-backup/borgbackup
> 
> I will mark my eBuild as obsolete and close this bug. Happy Backupping! :-)


i didn't know about this bug.  feel free to ping me when new versions are released.