List:General Discussion« Previous MessageNext Message »
From:Ofer Inbar Date:May 16 2007 10:27pm
Subject:Re: dbnightly maintenance & backup script
View as plain text  
On Thu, May 10, 2007 at 03:23:31PM -0400,
Ofer Inbar <cos@stripped> wrote:
>   http://thwip.sysadmin.org/dbnightly

The version I put up there had a minor bug:

176c176
<   my ($sec,$min,$hour,$mday,$mon,$year) = localtime(time); $year+=1900;
---
>   my ($sec,$min,$hour,$mday,$mon,$year) = localtime(time); $year+=1900; $mon++;

I forgot to increment month in the code that names the full dump file,
so it got named with 0-based month numbers (that is, 200704 for May).

It's fixed.  If you got the script, get it from there or add the increment.
  -- Cos
Thread
dbnightly maintenance & backup scriptOfer Inbar10 May
  • RE: dbnightly maintenance & backup scriptDaevid Vincent11 May
  • Re: dbnightly maintenance & backup scriptOfer Inbar17 May