[aklug] Re: shell script and cron trouble

From: Damien Hull <damien@linuxninjas.tv>
Date: Fri Mar 13 2009 - 08:52:30 AKDT

Well, I have the free version of zimbra. It's my understanding that the com=
mercial version is the only one that lets you do "hot" or "live" backups.=
=20

There's just enough space on the /home partition for a backup or two. I'll =
have to look at log files later today. I'm hoping there's a log file with s=
ome useful info...=20
=C2=A0
----- Original Message -----
From: "Arthur Corliss" <acorliss@nevaeh-linux.org>
To: "Damien Hull" <damien@linuxninjas.tv>
Cc: aklug@aklug.org
Sent: Friday, March 13, 2009 8:45:13 AM GMT -09:00 Alaska
Subject: Re: [aklug] shell script and cron trouble

On Fri, 13 Mar 2009, Damien Hull wrote:

> The following shell script runs fine if I run it manually. If I setup a c=
ron job it ends before tar finishes. Well, that's a guess but the resulting=
 backup is too small. It's also a bad tar file. I hope someone can tell me =
why it isn't working.

As an aside: why are you doing your backups this way? =C2=A0Zimbra provides=
 daily
incremental and weekly full backups by default configuration without downin=
g
your mail services. =C2=A0And you'll avoid backing up all the spurious log
archives, etc., which no value from a disaster recovery perspective.

Zimbra is a very ugly hack of a stack, but the backups they've generated
have been reliable.

BTW: =C2=A0Are certain you have enough space for the backup? =C2=A0I notice=
d that
you're doing an uncompressed backup, so you're going at least an equivalent
amount of space. =C2=A0cron should mail you the output of any jobs producin=
g=20
them (on either STDERR or STDOUT), so I'd check for any errors reported by
your script or tar...

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0--Arthur Corliss
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0Live Free or D=
ie

--=20
Damien Hull
Linux Ninja
Open Source Assassin

http://linuxninjas.tv
http://elite.linuxninjas.tv
http://www.digital-overload.net

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Fri Mar 13 08:52:44 2009

This archive was generated by hypermail 2.1.8 : Fri Mar 13 2009 - 08:52:44 AKDT