[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Re: Scheduled Backup Error



Johan-Kristian Wold wrote:
> >For the sake of completeness, here's my scheduled backup job file:
> ><snip>
> >/usr/admserv/cgi-bin/.cobalt/backup/backup.cgi -b complete -t complete -p
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> The error is probably in this file. I might be wrong, but .cgi sounds
> like it's meant to be used from the web interface, and not to be run
> as a cron job.
>
> Johan-Kr

Thanks for the response.

This cgi script is simply a perl script that can be run just as readily from
the
shell as it can from cron or a web page.  In this instance, the file is
added
to /etc/cron.daily automatically when you schedule a backup with the Cobalt
GUI, and that's how the backup works.

When the backup runs, either from cron or manually, I get the Unexpected EOF
error cited about 90 seconds into the process.

Steve