Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-25 Thread Dale
Francisco Ares wrote: On Tue, Dec 22, 2009 at 3:09 AM, Dale wrote: Neil Walker wrote: Dale wrote: Me again. I'm thinking about writing a bash script that backs up my /home directory. I use a simple rsync cron job to backup entire servers every hour. Does the job fo

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-23 Thread Alex Schuster
Dale writes: > Me again. I'm thinking about writing a bash script that backs up my > /home directory. I found a guide but before I read all that stuff and > muddy up the waters, is this thing current and will it work fine with > the bash Gentoo uses? Links to a even better guide would be good t

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-23 Thread Dirk Heinrichs
Am Dienstag 22 Dezember 2009 20:01:16 schrieb Stroller: > ZFS shouldn't be considered a FUSE-based filesystem. It should be > considered a Solaris filesystem, which is yet to be (??) adequately > ported to any other platforms. It just left experimental state in FreeBSD 8.0. Bye... Di

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-22 Thread Francisco Ares
On Tue, Dec 22, 2009 at 3:09 AM, Dale wrote: > Neil Walker wrote: >> >> Dale wrote: >> >>> >>> Me again.  I'm thinking about writing a bash script that backs up my >>> /home directory. >>> >> >> I use a simple rsync cron job to backup entire servers every hour. Does >> the job for me. ;) >> >> >>

Re: [gentoo-user] Writing a bash script or thinking about it anyway. [now Bash guides]

2009-12-22 Thread Bruce Hill
On Tue, Dec 22, 2009 at 06:30:15PM -0500, Willie Wong wrote: > > The Advanced Scripting Guide is brilliant. It's my gospel when Bash > > scripting, although I'll admit I haven't looked harder for anything else. > > If there is any better guide out there, I would love to hear about it. > > I agre

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-22 Thread Willie Wong
On Tue, Dec 22, 2009 at 11:16:36AM +, Penguin Lover Stroller squawked: > On 22 Dec 2009, at 03:22, Dale wrote: >> ... I found a guide but before I read all that stuff and muddy up the >> waters, is this thing current and will it work fine with the bash Gentoo >> uses? Links to a even better

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-22 Thread Willie Wong
On Tue, Dec 22, 2009 at 11:34:34AM +0100, Penguin Lover Jes??s Guerrero squawked: > The advanced bash scripting guide will be equally valid nowadays as it was > when it was first written. A few minor edges have changed in bash in the > latest times, but you are unlikely to get touched by these unl

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-22 Thread Stroller
On 22 Dec 2009, at 15:36, Jesús Guerrero wrote: ... I have no serious experience with ZFS, it kind of turns me back the fact that it's a FUSE based fs, though it's certainly possible to use it even for a root system provided that your kernel can load the module at bootup ... ZFS shouldn't

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-22 Thread Stroller
On 22 Dec 2009, at 10:34, Jesús Guerrero wrote: ... http://tldp.org/LDP/abs/html/ The advanced bash scripting guide will be equally valid nowadays as it was when it was first written. It seems well-maintained from the revision history at the top of the linked page. Stroller.

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-22 Thread Ward Poelmans
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. Th

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-22 Thread Neil Bothwick
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 w

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-22 Thread Jesús Guerrero
On Tue, 22 Dec 2009 16:51:08 +0200, Alan McKinnon wrote: > On Tuesday 22 December 2009 16:21:08 Christian Könitzer wrote: >> a question to b): >> Can you tell me a fs that supports snappshots (I'm planing to set up a >> new server so you can choose a new fs... (now I am using reiserfs)) and >> may

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-22 Thread Ward Poelmans
On Tue, Dec 22, 2009 at 04:22, Dale wrote: > Hi folks, > > Me again.  I'm thinking about writing a bash script that backs up my /home > directory.  I found a guide but before I read all that stuff and muddy up > the waters, is this thing current and will it work fine with the bash Gentoo > uses?

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-22 Thread Alan McKinnon
On Tuesday 22 December 2009 16:21:08 Christian Könitzer wrote: > a question to b): > Can you tell me a fs that supports snappshots (I'm planing to set up a > new server so you can choose a new fs... (now I am using reiserfs)) and > maybe how to use it (link)? So if you say "or LSM" does this mean I

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-22 Thread Christian Könitzer
a question to b): Can you tell me a fs that supports snappshots (I'm planing to set up a new server so you can choose a new fs... (now I am using reiserfs)) and maybe how to use it (link)? So if you say "or LSM" does this mean I can achieve this also woth LVM? How? thx... If you have some mor

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-22 Thread Jesús Guerrero
On Tue, 22 Dec 2009 12:20:46 +0100, Christian Könitzer wrote: > I agree with Jesús but recommend you to use rsync for backup purpose. > Simple google for rsync backup script. > And this link explains why: > http://www.sanitarium.net/golug/rsync_backups.html > > There are a lot backup scripts usin

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-22 Thread Christian Könitzer
I agree with Jesús but recommend you to use rsync for backup purpose. Simple google for rsync backup script. And this link explains why: http://www.sanitarium.net/golug/rsync_backups.html There are a lot backup scripts using rsync out there and most of them are written in bash so it's anyway a g

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-22 Thread Stroller
On 22 Dec 2009, at 03:22, Dale wrote: ... I found a guide but before I read all that stuff and muddy up the waters, is this thing current and will it work fine with the bash Gentoo uses? Links to a even better guide would be good too. The guide I found is here: http://tldp.org/LDP/abs/h

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-22 Thread Jesús Guerrero
On Mon, 21 Dec 2009 21:22:05 -0600, Dale wrote: > Hi folks, > > Me again. I'm thinking about writing a bash script that backs up my > /home directory. I found a guide but before I read all that stuff and > muddy up the waters, is this thing current and will it work fine with > the bash Gento

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-21 Thread Dale
Neil Walker wrote: Dale wrote: Me again. I'm thinking about writing a bash script that backs up my /home directory. I use a simple rsync cron job to backup entire servers every hour. Does the job for me. ;) Be lucky, Neil http://www.the-workathome.com But I wouldn't learn how

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-21 Thread Neil Walker
Dale wrote: > Me again. I'm thinking about writing a bash script that backs up my > /home directory. I use a simple rsync cron job to backup entire servers every hour. Does the job for me. ;) Be lucky, Neil http://www.the-workathome.com

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-21 Thread Francisco Ares
On Tue, Dec 22, 2009 at 2:16 AM, Dale 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 sophis

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-21 Thread Dale
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 sm

Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-21 Thread Francisco Ares
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 On Tue, Dec 22, 2009 at 1:22 AM, Dale wrote: > Hi folks, > > Me