GNU bug report logs - #40539
[PATCH] Add ZBackup

Previous Next

Package: guix-patches;

Reported by: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Date: Fri, 10 Apr 2020 13:03:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40539 in the body.
You can then email your comments to 40539 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#40539; Package guix-patches. (Fri, 10 Apr 2020 13:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 10 Apr 2020 13:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: guix-patches <at> gnu.org
Subject: [PATCH] Add ZBackup
Date: Fri, 10 Apr 2020 15:01:56 +0200
[Message part 1 (text/plain, inline)]
Hello,

The following patch adds zbackup.

Feedback welcome.

Regards,

-- 
Nicolas Goaziou
[0001-gnu-Add-zbackup.patch (text/x-diff, inline)]
From 1591f91035de7e2c036ff7a608a729b4420ffa74 Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Date: Fri, 10 Apr 2020 14:58:47 +0200
Subject: [PATCH] gnu: Add zbackup.

* gnu/packages/backup.scm (zbackup): New variable.
---
 gnu/packages/backup.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 4d24dff0a3..40dfce7094 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2018, 2019 Ricardo Wurmus <rekado <at> elephly.net>
 ;;; Copyright © 2019 Alex Vong <alexvong1995 <at> gmail.com>
 ;;; Copyright © 2019 Marius Bakke <mbakke <at> fastmail.com>
+;;; Copyright © 2020 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -976,6 +977,42 @@ precious backup space.
 @end itemize")
     (license license:bsd-2)))
 
+(define-public zbackup
+  (package
+    (name "zbackup")
+    (version "1.4.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/zbackup/zbackup.git")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "14l1kyxg7pccpax3d6qcpmdycb70kn3fxp1a59w64hqy2493hngl"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f))                    ;no test
+    (inputs
+     `(("lzo" ,lzo)
+       ("libressl" ,libressl)
+       ("protobuf" ,protobuf)
+       ("xz" ,xz)
+       ("zlib" ,zlib)))
+    (home-page "http://zbackup.org")
+    (synopsis "Versatile deduplicating backup tool")
+    (description
+     "ZBackup is a globally-deduplicating backup tool, based on the
+ideas found in Rsync.  Feed a large @file{.tar} into it, and it will
+store duplicate regions of it only once, then compress and optionally
+encrypt the result.  Feed another @file{.tar} file, and it will also
+re-use any data found in any previous backups.  This way only new
+changes are stored, and as long as the files are not very different,
+the amount of storage required is very low.  Any of the backup files
+stored previously can be read back in full at any time.  The program
+is format-agnostic, so you can feed virtually any files to it.")
+    (license license:gpl2+)))
+
 (define-public burp
   (package
     (name "burp")
-- 
2.26.0


Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Thu, 30 Apr 2020 12:06:01 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
bug acknowledged by developer. (Thu, 30 Apr 2020 12:06:02 GMT) Full text and rfc822 format available.

Message #10 received at 40539-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: help-debbugs <at> gnu.org (GNU bug Tracking System)
Cc: 40539-done <at> debbugs.gnu.org
Subject: Re: bug#40539: Acknowledgement ([PATCH] Add ZBackup)
Date: Thu, 30 Apr 2020 14:05:08 +0200
Applied. Closing.




Information forwarded to guix-patches <at> gnu.org:
bug#40539; Package guix-patches. (Thu, 30 Apr 2020 13:36:02 GMT) Full text and rfc822 format available.

Message #13 received at 40539 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 40539 <at> debbugs.gnu.org
Subject: Re: [bug#40539] [PATCH] Add ZBackup
Date: Thu, 30 Apr 2020 15:35:32 +0200
Hi Nicolas,

> The following patch adds zbackup.

This broke “guix pull” momentarily because your patch didn’t import two
modules: (guix build-system cmake) and (gnu packages protobuf).

It’s now fixed.

-- 
Ricardo




Information forwarded to guix-patches <at> gnu.org:
bug#40539; Package guix-patches. (Thu, 30 Apr 2020 13:38:01 GMT) Full text and rfc822 format available.

Message #16 received at 40539 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 40539 <at> debbugs.gnu.org
Subject: Re: [bug#40539] [PATCH] Add ZBackup
Date: Thu, 30 Apr 2020 15:37:39 +0200
Hello,

Ricardo Wurmus <rekado <at> elephly.net> writes:

> This broke “guix pull” momentarily because your patch didn’t import two
> modules: (guix build-system cmake) and (gnu packages protobuf).

Oh! Apparently, I forgot to "./pre-inst-env guix build" on this one.
Sorry about that.

> It’s now fixed.

Thank you!

Regards,

-- 
Nicolas Goaziou




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 May 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 25 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.