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 1NN77j-0003sd-Sv for garchives@archives.gentoo.org; Tue, 22 Dec 2009 15:58:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8594E09FF; Tue, 22 Dec 2009 15:57:39 +0000 (UTC) Received: from mail-px0-f195.google.com (mail-px0-f195.google.com [209.85.216.195]) by pigeon.gentoo.org (Postfix) with ESMTP id 85653E09FF for ; Tue, 22 Dec 2009 15:57:39 +0000 (UTC) Received: by pxi33 with SMTP id 33so4242874pxi.10 for ; Tue, 22 Dec 2009 07:57:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=6qBdzsm1PBA2NdjbtfZHCB2QGAIH6zIpFMJ+vvZYhS4=; b=P7PuYaLoERqabRKYrjZgcSXI0VdYrdYD6O0+rJCPm5l7mQb0S8UG9tybzr2iVQxB7l Ltw70qJ05ic5v74gUpCfSNRkhB3gEBst/GVs08/Fcjzd8tvo7b+pAwTdJTYSTTsqvKU4 mgq8S2FZMmv4nncnkQRSMSmJEIP0z67jMZZEo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=UaTat6iT9hQw/Sm0ZfK8OGmL/tiYq86SrrDabXrZ6Wn8HYQpNu9A+wnzKTYHNFhEwV CKDSqco3dGD2grzUKagwBuE4fwbLo9hCpzLYm+kV7q0v1DUu5Gx4iqUY4M+oMrzjd+/a tYkfH3KbcUKEO7Y3p0VuDCSbjjxoqBS0GqIKY= 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 Received: by 10.141.13.5 with SMTP id q5mr6233365rvi.223.1261497459112; Tue, 22 Dec 2009 07:57:39 -0800 (PST) In-Reply-To: <20091222153949.5c4865d2@digimed.co.uk> References: <4B303B5D.2060400@gmail.com> <20091222153949.5c4865d2@digimed.co.uk> Date: Tue, 22 Dec 2009 16:57:39 +0100 Message-ID: Subject: Re: [gentoo-user] Writing a bash script or thinking about it anyway. From: Ward Poelmans To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 98a273a2-99e1-4e02-8a2f-39aca00d6f87 X-Archives-Hash: 804a0b33dbcda8561aeb25313df7475a On Tue, Dec 22, 2009 at 16:39, Neil Bothwick wrote: > On Tue, 22 Dec 2009 16:08:18 +0100, Ward Poelmans wrote: > >> You should take a look at rsnapshot ( http://rsnapshot.org/ ). I use >> it and it works perfectly. But it's written in perl and not bash, i'm >> afraid. > > That misses the point. This isn't really about making backups, it's about > learning to write shell scripts. Backing up is just the project that Dale > has chosen for this first effort, at least that's how I read it. Sorry, i've read the original message a bit too fast. But it's still worth to take a look at how rsnapshot works if you want to write anything yourself. I think that the combination of rsync and hardlinks is quite effective and fast. Ward