On Mon, 23 Sep 2002, J.P. Pasnak wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> !,
>
> drakbackup is configured to backup /etc, /var/www and /var/lib/mysql
> daily, and ftp it to another box. If I manually run the backup, it
> works. Below is the output from cron:
>
As a workaround, you can change the cron.daily entry from:
/usr/sbin/drakbackup --daemon
to:
/usr/sbin/drakbackup --default
Or apply the following patch (I'm putting it in CVS now):
[root@larry sbin]# gendiff . .bad
--- ./drakbackup.bad 2002-09-23 09:28:23.000000000 -0400
+++ ./drakbackup 2002-09-23 09:29:20.000000000 -0400
@@ -1197,7 +1197,7 @@
-d $save_path and @dir_content = all($save_path);
grep (/^backup\_base\_sys/, @dir_content) and $base_sys_exist = 1;
- if (($where_hd && !$daemon) || ($daemon && ($daemon_media eq 'hd'))) {
+ if (($where_hd && !$daemon) || ($daemon)) {
$interactive and progress($pbar, 0.5, _("Backup system files..."));
if ($backup_sys) {
if ($backup_sys_versions) {
I had reworked some things when adding the "catalog" and apparently did
not recheck that daemon mode still worked. My apologies.
Stew Benedict
--
MandrakeSoft
PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
IRC: irc.openproject.net #cooker-ppc