From owner-freebsd-questions@freebsd.org Thu Jun 16 22:49:53 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D45EFA77238 for ; Thu, 16 Jun 2016 22:49:53 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-io0-f169.google.com (mail-io0-f169.google.com [209.85.223.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB7D62D37 for ; Thu, 16 Jun 2016 22:49:53 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mail-io0-f169.google.com with SMTP id f30so55198486ioj.2 for ; Thu, 16 Jun 2016 15:49:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=YF7LYPp7NBdymQJC+qOZgm1uaiqxiGnHvBVwKe4JItY=; b=Hk8l2OBsOHMwVXeVE1hb3/dXqMIsXCeC6Rgs+2Iz3QTB352pqlh2ZkpJfP1M26g++a xBtU0IdYkvDD9hlG0ZwZi+xA9Sqjj7PQj0eQhbSX5mLa0TBv1FtL0lX91QCUSgXyy6dd hNzcL0NS5lO/aTybJax5gxaaf3C69cVAisB6/lKGjLYy2ib5cBfympTZffRU3obE5qGK GrZHPFJv1CH6vKj1BBw2CIZLaOWzlphrSp2RU0yYbH6Bx6qrJDCJ4+BStF+dqkv2I0iW LcBGGLT8T6eYyfarJZzDGCbLc98XGsL8uapckHWAmI5KD7IKagTecqpqBegPWGsbAP1p 4pFg== X-Gm-Message-State: ALyK8tKSLll4eW6qMKaNVRmC2tlYdzw8wg/739BZTP2wZj/FM+m7O71VL+e1avpgratrvA== X-Received: by 10.107.39.144 with SMTP id n138mr11609508ion.145.1466117057475; Thu, 16 Jun 2016 15:44:17 -0700 (PDT) Received: from WorkBox.Home.gmail.com (63-231-155-110.mpls.qwest.net. [63.231.155.110]) by smtp.gmail.com with ESMTPSA id z134sm4794862iod.41.2016.06.16.15.44.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 Jun 2016 15:44:16 -0700 (PDT) References: User-agent: mu4e 0.9.16; emacs 24.5.1 From: Brandon J. Wandersee To: jungle Boogie Cc: Luca Ferrari , freebsd-questions Subject: Re: rsync or git backups? In-reply-to: Date: Thu, 16 Jun 2016 17:44:16 -0500 Message-ID: <86d1ngkb3z.fsf@WorkBox.Home> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2016 22:49:53 -0000 jungle Boogie writes: > On 1 June 2016 at 01:35, Luca Ferrari wrote: >> >> Any suggestion? > > > Obviously the first choice is zfs snapshots but if you're like me, > that's not a choice. > > I'd recommend something like borg backup: > https://github.com/borgbackup/borg/ > http://borgbackup.readthedocs.io/en/stable/ > > It's a python written app that will dedup your data so there's a > chance it can compress and dedup your large datasets very nicely. > > The maintainer is very active with keeping it current and 1.0.3 is > available in ports/pkg: > http://www.freshports.org/archivers/py-borgbackup/ > > As you will see in the documentation, you can make a script and call > it with cron however often/irregular you would like and have it also > prune. > > I think it's worth trying out for your use case. I'd like to add my thanks to this thread. I didn't know about Borg, but after a week of using it I have to say I'm very impressed. It should be noted that Borg currently only builds from ports on systems that have Python 3 set as the default (which is not the default on a vanilla FreeBSD install), so there is no package avaiable for it (the official Poudriere build server just ignores it). If you're running a 64-bit system and don't want to mess around with potentially rebuilding a bunch of ports with non-default settings, you can download a pre-built binary for it from the project's GitHub page: https://github.com/borgbackup/borg/releases -- :: Brandon J. Wandersee :: brandon.wandersee@gmail.com :: -------------------------------------------------- :: 'The best design is as little design as possible.' :: --- Dieter Rams ----------------------------------