unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40539] [PATCH] Add ZBackup
@ 2020-04-10 13:01 Nicolas Goaziou
       [not found] ` <handler.40539.B.158652372722825.ack@debbugs.gnu.org>
  2020-04-30 13:35 ` [bug#40539] [PATCH] Add ZBackup Ricardo Wurmus
  0 siblings, 2 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2020-04-10 13:01 UTC (permalink / raw)
  To: 40539

[-- Attachment #1: Type: text/plain, Size: 92 bytes --]

Hello,

The following patch adds zbackup.

Feedback welcome.

Regards,

-- 
Nicolas Goaziou

[-- Attachment #2: Add zbackup --]
[-- Type: text/x-diff, Size: 2452 bytes --]

From 1591f91035de7e2c036ff7a608a729b4420ffa74 Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail@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@elephly.net>
 ;;; Copyright © 2019 Alex Vong <alexvong1995@gmail.com>
 ;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2020 Nicolas Goaziou <mail@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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#40539: Acknowledgement ([PATCH] Add ZBackup)
       [not found] ` <handler.40539.B.158652372722825.ack@debbugs.gnu.org>
@ 2020-04-30 12:05   ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2020-04-30 12:05 UTC (permalink / raw)
  To: GNU bug Tracking System; +Cc: 40539-done

Applied. Closing.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#40539] [PATCH] Add ZBackup
  2020-04-10 13:01 [bug#40539] [PATCH] Add ZBackup Nicolas Goaziou
       [not found] ` <handler.40539.B.158652372722825.ack@debbugs.gnu.org>
@ 2020-04-30 13:35 ` Ricardo Wurmus
  2020-04-30 13:37   ` Nicolas Goaziou
  1 sibling, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2020-04-30 13:35 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 40539


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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#40539] [PATCH] Add ZBackup
  2020-04-30 13:35 ` [bug#40539] [PATCH] Add ZBackup Ricardo Wurmus
@ 2020-04-30 13:37   ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2020-04-30 13:37 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 40539

Hello,

Ricardo Wurmus <rekado@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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-30 13:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-10 13:01 [bug#40539] [PATCH] Add ZBackup Nicolas Goaziou
     [not found] ` <handler.40539.B.158652372722825.ack@debbugs.gnu.org>
2020-04-30 12:05   ` bug#40539: Acknowledgement ([PATCH] Add ZBackup) Nicolas Goaziou
2020-04-30 13:35 ` [bug#40539] [PATCH] Add ZBackup Ricardo Wurmus
2020-04-30 13:37   ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).