From: Francisco Ares <frares@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Writing a bash script or thinking about it anyway.
Date: Tue, 22 Dec 2009 02:32:42 -0200 [thread overview]
Message-ID: <543f3b9c0912212032u24e5a6bcg6f47eaa8ac5ecbb4@mail.gmail.com> (raw)
In-Reply-To: <4B304819.40905@gmail.com>
On Tue, Dec 22, 2009 at 2:16 AM, Dale <rdalek1967@gmail.com> wrote:
> Francisco Ares wrote:
>>
>> I probably didn't get 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. Maybe get a little more
> complicated later on. I do want to do incremental backups, at least at
> first. I 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. Trying to be simple at first and go
> from there. If I try to cram to much in my head at one time, I get brain
> lock.
>
> Thanks.
>
> Dale
>
> :-) :-)
>
>
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-drive-with-hd-folders-possible-522875/
http://www.linux.com/news/enterprise/storage/8200-back-up-like-an-expert-with-rsync
http://www.unixtutorial.org/2008/09/how-to-synchronize-directories-with-rsync/
Hope this helps
Francisco
--
"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
next prev parent reply other threads:[~2009-12-22 4:33 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-22 3:22 [gentoo-user] Writing a bash script or thinking about it anyway Dale
2009-12-22 3:53 ` Francisco Ares
2009-12-22 4:16 ` Dale
2009-12-22 4:32 ` Francisco Ares [this message]
2009-12-22 5:02 ` Neil Walker
2009-12-22 5:09 ` Dale
2009-12-23 1:45 ` Francisco Ares
2009-12-25 23:21 ` Dale
2009-12-22 10:34 ` Jesús Guerrero
2009-12-22 11:20 ` Christian Könitzer
2009-12-22 12:11 ` Jesús Guerrero
2009-12-22 14:21 ` Christian Könitzer
2009-12-22 14:51 ` Alan McKinnon
2009-12-22 15:36 ` Jesús Guerrero
2009-12-22 19:01 ` Stroller
2009-12-23 6:58 ` Dirk Heinrichs
2009-12-22 18:56 ` Stroller
2009-12-22 23:25 ` Willie Wong
2009-12-22 11:16 ` Stroller
2009-12-22 23:30 ` Willie Wong
2009-12-22 15:08 ` Ward Poelmans
2009-12-22 15:39 ` Neil Bothwick
2009-12-22 15:57 ` Ward Poelmans
2009-12-23 0:33 ` [gentoo-user] " »Q«
2009-12-25 23:19 ` Dale
2009-12-27 21:09 ` »Q«
2009-12-23 12:29 ` [gentoo-user] " Alex Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=543f3b9c0912212032u24e5a6bcg6f47eaa8ac5ecbb4@mail.gmail.com \
--to=frares@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox