From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OlmtH-0000uL-RV for garchives@archives.gentoo.org; Wed, 18 Aug 2010 17:57:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7225E087A; Wed, 18 Aug 2010 17:56:46 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id BF97DE087A for ; Wed, 18 Aug 2010 17:56:46 +0000 (UTC) Received: by gyf1 with SMTP id 1so482604gyf.40 for ; Wed, 18 Aug 2010 10:56:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=SAFugJj2n/zNlbbl4AKdVELwPsJDmGS8/BFEflgUjkM=; b=hERqThPzJ1YT1no2bI5DvNBtXmj5H8nRoDQk3t8qeMY9MpYOT9mh1ZOjtiMdxGN/8S UuDetDwXybJZDTS3YJFR7PSNnlA/gxgTRy6DjQE8/hXLZcqSc0LZKJNGDXjCqvHuofoZ 8xNYGwwYh6uKI7Spxib+9GjqVL25YVTAPY22Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; b=OF7t7sdcHyBPMds+UFglQd82ZpGyp+6ZbpD7lKzBxpo1+06GRBDPoKvt+pr/qSj+8Z RvDRDpCxuncjDpClxioSzwVzcQDQqmAR5RtSzD8hZYgRPPRy4sE/owYCwIEWevHwIVcF DPlXxPzsNXQjr67YL9RovwuM2ae3iVKGBzf9o= Received: by 10.150.202.18 with SMTP id z18mr787597ybf.90.1282154206432; Wed, 18 Aug 2010 10:56:46 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Sender: fthtmn@gmail.com Received: by 10.231.200.134 with HTTP; Wed, 18 Aug 2010 10:56:26 -0700 (PDT) In-Reply-To: <1282132756.8488.23.camel@rattus> References: <20100817193426.GA6494@nibiru.local> <1282132756.8488.23.camel@rattus> From: Nganon Date: Wed, 18 Aug 2010 20:56:26 +0300 X-Google-Sender-Auth: 50QaIweL19Q8hHBOVtGidOmZI_E Message-ID: Subject: Re: [gentoo-user] How to build a time machine on Gentoo To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=000e0cd4d3800592c7048e1cca1d X-Archives-Salt: 809d9d69-7e91-411c-bf58-ad17779681df X-Archives-Hash: 626f3983b057db6282eb63addf15ea6c --000e0cd4d3800592c7048e1cca1d Content-Type: text/plain; charset=ISO-8859-1 On 18 August 2010 14:59, William Kenworthy wrote: > On Wed, 2010-08-18 at 14:09 +0300, Nganon wrote: > > > > > > On 17 August 2010 22:34, Enrico Weigelt wrote: > > For things I'd like to keep an history (eg. /etc) I'm using > > git, and > > pushing the repo to a remote server (denying non-fastfoward > > updates > > there, so an theorectical highjacker cannot destroy my > > history) > > > > > > Using git for /etc is a great idea. > > Thanks. > > > Another option is: > * app-backup/dirvish > Latest version available: 1.2.1 > Latest version installed: 1.2.1 > Size of downloaded files: 47 kB > Homepage: http://www.dirvish.org/ > Description: Dirvish is a fast, disk based, rotating network > backup system. > License: OSL-2.0 > > > Works by first creating a copy (--init) and then hard-linking subsequent > versions of files/directories back to the original original if its > identical. If a file is changed/new, it is copied instead of linked so > actual space usage quickly stabilises even with a varying number of > versions. Backup over the network (this is how I have configured mine) > uses rsync over ssh with keys and is "pull" from a cron job on the > backup server or manual on demand (i.e., server initiated). > > Version management is by a reasonably sophisticated date of version > scheme where by running "dirvish-expire" deletes out of date versions > (runs in a cron job). The smart part is that once the last hard link to > file is deleted, its gone, otherwise its kept in the remaining > versions :) > > Restore is a simple matter of identifying the version you want and > copying it back - Ive restored individual files through to complete > systems after total disk failure. > > Can do includes/excludes, whole systems or just directories such as /etc > and can be easily automated. > > Doesnt use compression, but most backup regimes (every day for a weekly > rota + a Sunday kept for 6 months) stabilise at about 2x the original > (gross) copy size, no matter how many copies with average changes > between versions. Though large scale changes such as an "emerge -e > world" will take more as it will generate new copies of most files. > > Downside is it will hammer the destination file system - reiserfs3 works > well, ext2/ext3 have been hopeless everytime I've tried - mass > corruption. The file system will need a large number of inodes (for > links) if there are an excessive number of files x versions - again > reiserfs3 scores well here. > > Highly recommended! > > BillK > > > > Thanks. It sound just it is made just for this. It even call itself 'time machine'. Obviously compression is left out by using links but it sounds kind of overwhelming to me. I don't have a reiserfs partition and cannot afford to have one at the mo.. --000e0cd4d3800592c7048e1cca1d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On 18 August 2010 14:59, William Kenwort= hy <billk@iinet.= net.au> wrote:
On Wed, 2010-08-18 at 14:09 +0300, Nganon= wrote:
>
>
> On 17 August 2010 22:34, Enrico Weigelt <weigelt@metux.de> wrote:
> =A0 =A0 =A0 =A0 For things I'd like to keep an history (eg. /etc) = I'm using
> =A0 =A0 =A0 =A0 git, and
> =A0 =A0 =A0 =A0 pushing the repo to a remote server (denying non-fastf= oward
> =A0 =A0 =A0 =A0 updates
> =A0 =A0 =A0 =A0 there, so an theorectical highjacker cannot destroy my=
> =A0 =A0 =A0 =A0 history)
>
>
> Using git for /etc is a great idea.
> Thanks.
>
Another option is:
* =A0app-backup/dirvish
=A0 =A0 =A0Latest version available: 1.2.1
=A0 =A0 =A0Latest version installed: 1.2.1
=A0 =A0 =A0Size of downloaded files: 47 kB
=A0 =A0 =A0Homepage: =A0 =A0http://www.dirvish.org/
=A0 =A0 =A0Description: Dirvish is a fast, disk based, rotating network backup system.
=A0 =A0 =A0License: =A0 =A0 OSL-2.0


Works by first creating a copy (--init) and then hard-linking subsequent versions of files/directories back to the original original if its
identical. =A0If a file is changed/new, it is copied instead of linked so actual space usage quickly stabilises even with a varying number of
versions. =A0Backup over the network (this is how I have configured mine) uses rsync over ssh with keys and is "pull" from a cron job on th= e
backup server or manual on demand (i.e., server initiated).

Version management is by a reasonably sophisticated date of version
scheme where by running "dirvish-expire" deletes out of date vers= ions
(runs in a cron job). =A0The smart part is that once the last hard link to<= br> file is deleted, its gone, otherwise its kept in the remaining
versions :)

Restore is a simple matter of identifying the version you want and
copying it back - Ive restored individual files through to complete
systems after total disk failure.

Can do includes/excludes, whole systems or just directories such as /etc and can be easily automated.

Doesnt use compression, but most backup regimes (every day for a weekly
rota + a Sunday kept for 6 months) stabilise at about 2x the original
(gross) copy size, no matter how many copies with average changes
between versions. =A0Though large scale changes such as an "emerge -e<= br> world" will take more as it will generate new copies of most files.
Downside is it will hammer the destination file system - reiserfs3 works well, ext2/ext3 have been hopeless everytime I've tried - mass
corruption. =A0The file system will need a large number of inodes (for
links) if there are an excessive number of files x versions - again
reiserfs3 scores well here.

Highly recommended!

BillK




Thanks. It sound just it is made just = for this. It even call itself 'time machine'.=A0
Obviousl= y compression is left out by using links but it sounds kind of=A0
overwhelming to me.=A0I don't have a reiserfs partition and cannot affo= rd to=A0
have one at the mo..=A0
=A0

--000e0cd4d3800592c7048e1cca1d--