I'm pretty sure I'm missing something obvious, but I just can't see it.
On new install of SME 7.5.1, I get errors when trying to backup to an attached USB disk:
# /sbin/e-smith/do_backupwk
: or while mounting /media/usbbackup
in /etc/fstab or /etc/mtabbbackup
Backup terminated: backup failed - status: 7424
From the messages log after manually triggering the backup:
Feb 20 14:13:25 rocosme2 /sbin/e-smith/do_backupwk[30851]: /home/e-smith/db/backups: OLD 1298229205=(undefined)
Feb 20 14:13:25 rocosme2 /sbin/e-smith/do_backupwk[30851]: /home/e-smith/db/backups: NEW 1298229205=backup_record
Feb 20 14:13:25 rocosme2 /sbin/e-smith/do_backupwk[30851]: /home/e-smith/db/backups: OLD 1298229205=backup_record
Feb 20 14:13:25 rocosme2 /sbin/e-smith/do_backupwk[30851]: /home/e-smith/db/backups: NEW 1298229205=backup_record|StartEpochTime|1298229205
Feb 20 14:13:25 rocosme2 /sbin/e-smith/do_backupwk[30851]: /home/e-smith/db/backups: OLD 1298229205=backup_record|StartEpochTime|1298229205
Feb 20 14:13:25 rocosme2 /sbin/e-smith/do_backupwk[30851]: /home/e-smith/db/backups: NEW 1298229205=backup_record|BackupType|workstation|StartEpochTime|1298229205
Feb 20 14:13:25 rocosme2 esmith::event[30852]: Processing event: pre-backup
Feb 20 14:13:25 rocosme2 esmith::event[30852]: Running event handler: /etc/e-smith/events/actions/generic_template_expand
Feb 20 14:13:25 rocosme2 esmith::event[30852]: expanding /etc/dar/DailyBackup.dcf
Feb 20 14:13:25 rocosme2 esmith::event[30852]: generic_template_expand=action|Event|pre-backup|Action|generic_template_expand|Start|1298229205 636029|End|1298229205 721098|Elapsed|0.085069
Feb 20 14:13:25 rocosme2 esmith::event[30852]: Running event handler: /etc/e-smith/events/pre-backup/S10mysql-delete-dumped-tables
Feb 20 14:13:25 rocosme2 esmith::event[30852]: S10mysql-delete-dumped-tables=action|Event|pre-backup|Action|S10mysql-delete-dumped-tables|Start|1298229205 721262|End|1298229205 722816|Elapsed|0.001554
Feb 20 14:13:25 rocosme2 esmith::event[30852]: Running event handler: /etc/e-smith/events/pre-backup/S20mysql-dump-tables
Feb 20 14:13:25 rocosme2 esmith::event[30852]: S20mysql-dump-tables=action|Event|pre-backup|Action|S20mysql-dump-tables|Start|1298229205 722924|End|1298229205 784222|Elapsed|0.061298
Feb 20 14:13:25 rocosme2 esmith::event[30852]: Running event handler: /etc/e-smith/events/pre-backup/S50rewind-tape
Feb 20 14:13:25 rocosme2 esmith::event[30852]: S50rewind-tape=action|Event|pre-backup|Action|S50rewind-tape|Start|1298229205 784437|End|1298229205 827627|Elapsed|0.04319
Feb 20 14:13:26 rocosme2 /sbin/e-smith/do_backupwk[30851]: /home/e-smith/db/backups: OLD 1298229205=backup_record|BackupType|workstation|StartEpochTime|1298229205
Feb 20 14:13:26 rocosme2 /sbin/e-smith/do_backupwk[30851]: /home/e-smith/db/backups: NEW 1298229205=backup_record|BackupType|workstation|EndEpochTime|1298229206|StartEpochTime|1298229205
Feb 20 14:13:26 rocosme2 /sbin/e-smith/do_backupwk[30851]: /home/e-smith/db/backups: OLD 1298229205=backup_record|BackupType|workstation|EndEpochTime|1298229206|StartEpochTime|1298229205
Feb 20 14:13:26 rocosme2 /sbin/e-smith/do_backupwk[30851]: /home/e-smith/db/backups: NEW 1298229205=backup_record|BackupType|workstation|EndEpochTime|1298229206|Result|backup:7424|StartEpochTime|1298229205
I formatted the disk with a label, and added an entry to fstab according to the wiki docs (tried both of these below):
#LABEL=rocosme2bk /media/usbbackup ext3 defaults
LABEL=rocosme2bk /media/usbbackup ext3 pamconsole,exec,noauto,managed 0 0
From the web page showing the backup config:
Backup is Enabled.
Backup is made on local USB disk
Destination backup share folder is media/usbbackup
Number of rotating backup sets is 2
Number of daily backups contained in each set is 7
Compression level (0-9) of backup is 6
Daily backup occurs at 1:00
Each daily backup session is cleanly timed out after 8 hours.
Full backup sessions (new backup set) are allowed everyday
I tried with the usb disk already mounted, and without.
I also tried selecting a "Backup share" from the combo box on the web page (which sometimes also showed 'rocosme2bk', and 'rocosme2bk1', in addition to 'usbbackup').
If I log into the "Admin" console shell, and run a USB backup there, it works and creates an smeserver.tgz in the root of the USB disk.
Any suggestions?