Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: weblance on May 29, 2011, 10:58:21 AM

Title: Having trouble with backup to usb disk
Post by: weblance on May 29, 2011, 10:58:21 AM
Hi

I've set up backup to usb disk with standard SME dar. Trouble is that there is problems mounting the usb disk, so i'm not getting any backup. I get two emails to my admin account:

admin-backup@mydomain.com:
Quote
==================================
DAILY BACKUP TO WORKSTATION REPORT
==================================
Backup started at Sun May 29 10:00:02 2011
Backup of mysql databases has been done
Mounting backup shared directory localhost/media/backup

*** No backup allowed or error during backup ***
Error while mounting /media/backup
:
mount: can't find /media/backup
in /etc/fstab or /etc/mtab

And from Cron Daemon:
Quote
Error while mounting /media/backup
:
mount: can't find /media/backup
in /etc/fstab or /etc/mtab
Backup terminated: backup failed - status: 7424

I followed this guide to prepare the usb disk: http://wiki.contribs.org/USBDisks

I've also added the mount into fstab. I don't have any trouble mounting and unmounting the disk maually.

What am i doing wrong?
Title: Re: Having trouble with backup to usb disk
Post by: cactus on May 29, 2011, 04:49:31 PM

Code: [Select]
*** No backup allowed or error during backup ***
Error while mounting /media/backup
:
mount: can't find /media/backup
in /etc/fstab or /etc/mtab

What am i doing wrong?
You have run into a known bug for which a fix waiting to be released (see http://bugs.contribs.org/show_bug.cgi?id=6512).

The easy way out for now is to either use another browser to reconfigure your backup or manually set the proper path for the backup using the command line:

Code: [Select]
db configuration backupwk setprop SmbShare "media/backup"