Linux Debian support - Flexbackup and cron

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > January 2007 > Flexbackup and cron





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Flexbackup and cron
alfonzo Kreider

2007-01-22, 1:15 am

Is there a bug in cron??

I am using Debian testing and cron 3.0pl1-97.

The cron timed Flexbackup which has been working the way is should for the
last 2 years has changed.

If you are familiar with flexbackup:

in flexbackup.conf there is a $set varable to define the directories to be
backed up.

$set{'backup'} = "/home /etc /var /usr/local";

in /etc/cron.daily is a script which runs flecxbackup and determines the
level of backup acording to the day

/usr/bin/flexbackup -set all -level $(expr \( $(date +%w) - $LVL0DAY \) %
7)


The -set all should cause flexbackup to backup ALL dir defined by $set;
"/home /etc /var /usr/local"


Only the first dir is now being backed up "/home".

I wrote a script for the Gnome launcher
sudo /etc/cron.daily/flexbackup

which runs the same script that cron should run, now ALL dir defined by
$set are backed up as the should.

Has anyone run into this?

Al


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com