Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Package Request] Borg Backup #2351

Closed
ghost opened this issue May 29, 2016 · 22 comments
Closed

[Package Request] Borg Backup #2351

ghost opened this issue May 29, 2016 · 22 comments
Labels
request request for new package

Comments

@ghost
Copy link

ghost commented May 29, 2016

Description: BorgBackup (short: Borg) is a deduplicating backup program. Optionally, it supports compression and authenticated encryption.
Website: http://borgbackup.readthedocs.io
Documentation: http://borgbackup.readthedocs.io/en/stable/usage.html
Build/Installation documentation: http://borgbackup.readthedocs.io/en/stable/installation.html
Source Code: https://github.com/borgbackup/borg
License: https://borgbackup.readthedocs.io/en/stable/authors.html#license

@artelse
Copy link

artelse commented May 29, 2016

I just installed Borg onto debian-chroot and no problems compiling/installing. I am only having problems mounting volumes as posted in previous issue.

@ghost
Copy link
Author

ghost commented May 29, 2016

True, that's possible. But I think more people could use Borg if it was possible to install as a package.

The past months Borg Backup has grown to one of the best dedup backup programs I've know, and would love a 'native' solution.

@kBite
Copy link

kBite commented Apr 20, 2018

@yuroller I'm very interested in this package. I have a DS218play and would like to help. Would you please list all open tasks here?

@yuroller
Copy link
Contributor

If you are able to build packages for you ds unit, borgbackup should build and (hopefully) run correctly.
Some time ago I successfully built borgbackup for all supported architectures by spksrc project, but I was able to test just on my ds212+ 6.0.2.
You can find build instructions on wiki.
Borgbackup depends on python3 packages, so you need both.
Ask if you need help.

@ymartin59
Copy link
Contributor

Do not bother to build it yourself. I am publishing that package

@noplanman
Copy link

noplanman commented Apr 21, 2018

@yuroller Have you published your builds somewhere? Building with docker takes foreeeever...
@ymartin59 Are you publishing others too? Where are they listed?

@noplanman
Copy link

noplanman commented Apr 22, 2018

🎉 Looks like Borg is now officially on the repo, great!

But it still needs a manual build/install of Python3, as the version on the repo is outdated.
Will that be updated soon as well?

@ymartin59 Is there a way to contribute builds to the project?

@ymartin59
Copy link
Contributor

@noplanman What is your DSM architecture?

@noplanman
Copy link

noplanman commented Apr 22, 2018

@ymartin59 qoriq and armada370 are the ones I have.

I've built Python3 for both of them and installed Borg successfully, so all good 😃

@noplanman
Copy link

noplanman commented Apr 23, 2018

@ymartin59 I just noticed that the Python3 package on the SynoCommunity packages page is at 3.5.2-5, but the constraint for Borg is set at 3.5.2-6.
As I still only see 3.4.1-4 in my DSM package center, I can't test to see if it works.

Also, I'd like to point to this comment, regarding the Python3 version constraint:
borgbackup/borg#719 (comment)

@mannp
Copy link

mannp commented Apr 24, 2018

@ymartin59 many thanks for creating these borg dsm packages, I have been trying to get borg going for some time on my dsm's without much success, so thanks!

Hoping the python version gets bumped at some stage to give them at try 😀

@ymartin59
Copy link
Contributor

I have published fixes with dependency to Python 3. Should be better.

@noplanman
Copy link

Awesome, thanks @ymartin59 😃

So as soon as all Python3 builds are available on the SynoCommunity repo, this can probably be closed off here.

@ymartin59
Copy link
Contributor

From my point of view, all builds are already available... new borg package version can run with previous Python 3 revision.

@noplanman
Copy link

noplanman commented Apr 26, 2018

I still only see 3.4.1-4 in both my DS package centers.

They also aren't listed as available yet on the site, but I obviously don't know how that gets updated / rolled out (armada370 and qoriq):
https://synocommunity.com/package/python3

Just using my own builds for now.

@mannp
Copy link

mannp commented Apr 26, 2018

@noplanman seems its v3.5.2-6 now 😀

@noplanman
Copy link

@mannp Yes! Not for all architectures yet though, but probably very soon 😇

@ymartin59 On a side note:
It would be great if the spk builds could be downloaded directly from the SynoCommunity site. That way, it would be easily possible to install them via command line, which doesn't work at the moment (or I haven't figured it out yet).

@mannp
Copy link

mannp commented Apr 26, 2018

@noplanman yes I checked here -> https://synocommunity.com/package/python3 but you are right, my qoriq is still on the previous version.

As you say, I'm sure it'll arrive soon :)

@ymartin59
Copy link
Contributor

ymartin59 commented Apr 26, 2018

@mannp please update borgbackup (1.1.5-2) from Package Center, it should run with previous python3 version (3.5.2-5) you already have available for qoriq

@mannp
Copy link

mannp commented Apr 26, 2018

@ymartin59 ok I see, but I only have versions 3.4.1-4 from synocommunity and 3.5.1-0108 from synology available.

Edit: So I tried with 3.5.1 and it complains, so perhaps the versions have not arrived on the qoriq yet? (plus 88f6282)

Python3 is currently built for these arch's: rtd1296 apollolake avoton braswell broadwell broadwellnk bromolow cedarview denverton grantley kvmx64 x86 x86_64

@kBite
Copy link

kBite commented May 1, 2018

Because this package bundles borgmatic this may be the right place to ask: might someone bother to update bundled borgmatic from version 1.0.3 to latest (1.1.15).

I was able to successfully build borgbackup_rtd1296-6.1_1.1.5-2.spk with Docker, so bumping borgmatic seems uncomplicated:

diff --git a/spk/borgbackup/src/requirements.txt b/spk/borgbackup/src/requirements.txt
index 93406ef..2136059 100644
--- a/spk/borgbackup/src/requirements.txt
+++ b/spk/borgbackup/src/requirements.txt
@@ -3,4 +3,4 @@
 #msgpack-python==0.4.8
 
 # Downloaded dependencies
-borgmatic==1.0.3
+borgmatic==1.1.15

@ymartin59
Copy link
Contributor

borgbackup 1.1.5 has been published

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request request for new package
Projects
None yet
Development

No branches or pull requests

7 participants