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 1NMwR8-0005jh-Qz for garchives@archives.gentoo.org; Tue, 22 Dec 2009 04:33:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60861E092B; Tue, 22 Dec 2009 04:32:44 +0000 (UTC) Received: from mail-pw0-f47.google.com (mail-pw0-f47.google.com [209.85.160.47]) by pigeon.gentoo.org (Postfix) with ESMTP id 26D6BE092B for ; Tue, 22 Dec 2009 04:32:44 +0000 (UTC) Received: by pwi1 with SMTP id 1so4164983pwi.26 for ; Mon, 21 Dec 2009 20:32:43 -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 :content-transfer-encoding; bh=ci33EVs7vWKTuH3j9lWyZiK2wFafepqBdnPQZneQTJ0=; b=u2SPEy2k6dO2YwGVwD/LWdT6S+2+6wmso8qSdwUUwzp/3g+LI8S8tT5ShGLBakG8+/ lLbYCH/c8DgAQV5NMFC/BdAMU+dRmvujtasYsP/7iqVFKzhyrBAjt2RaWMjfEjcwI9bF GG4DhwHgvHVcVFFLHa4GOqiiuq/gPLRB4LA4o= 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:content-transfer-encoding; b=gg4gB0CeABVBsuhw+cHTb/gir9fqImHW+IX6WrnUoqJi2UH95KeQUiZ2ZU2x40HLh7 pdoI3WGfxJjtpU0NPXLiNUUyDG+OfGqfxVTik3Fme9Hcur5v8X77Hye7sFJwFrTxw0RL Mq3mAZZm/mSJqbK0gRAarTm7PXonoBmGYiufU= 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.114.54.12 with SMTP id c12mr5622381waa.81.1261456362956; Mon, 21 Dec 2009 20:32:42 -0800 (PST) In-Reply-To: <4B304819.40905@gmail.com> References: <4B303B5D.2060400@gmail.com> <543f3b9c0912211953id7918e3pfe6d602e1b03a53a@mail.gmail.com> <4B304819.40905@gmail.com> Date: Tue, 22 Dec 2009 02:32:42 -0200 Message-ID: <543f3b9c0912212032u24e5a6bcg6f47eaa8ac5ecbb4@mail.gmail.com> Subject: Re: [gentoo-user] Writing a bash script or thinking about it anyway. From: Francisco Ares To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 337d358f-cab9-438d-b83e-7bc3e49c6da3 X-Archives-Hash: 3bf388be56185f2e78ab88e1b6452be9 On Tue, Dec 22, 2009 at 2:16 AM, Dale wrote: > Francisco Ares wrote: >> >> I probably didn't =C2=A0get the point, but what about a simple "tar"? >> >> #! /bin/bash >> tar -cjvpf /tmp/home.tbz /home >> mv /tmp/home.tbz /some/where/else >> >> unless you're thinking on incremental back up, and more sophisticated >> things. >> >> Francisco >> >> > > Well, I want to start off making a small script. =C2=A0Maybe get a little= more > complicated later on. =C2=A0I do want to do incremental backups, at least= at > first. =C2=A0I may later on use tar and something to keep say two copies = and then > delete the older ones. > Just trying to get my feet wet here. =C2=A0Trying to be simple at first a= nd go > from there. =C2=A0If I try to cram to much in my head at one time, I get = brain > lock. > > Thanks. > > Dale > > :-) =C2=A0:-) > > Well, there are a couple of tools to make your script quite simple: http://www.linuxhowtos.org/Tips%20and%20Tricks/unison.htm http://www.linuxjournal.com/article/7712 http://www.novell.com/coolsolutions/trench/16061.html http://webtools.live2support.com/linux/rsync.php http://www.linuxquestions.org/questions/linux-general-1/sync-a-usb-flash-dr= ive-with-hd-folders-possible-522875/ http://www.linux.com/news/enterprise/storage/8200-back-up-like-an-expert-wi= th-rsync http://www.unixtutorial.org/2008/09/how-to-synchronize-directories-with-rsy= nc/ Hope this helps Francisco --=20 "If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas." - George Bernard Shaw