Koozali.org: home of the SME Server

[SOLVED]Backup to Workstation setup

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
[SOLVED]Backup to Workstation setup
« on: January 27, 2009, 06:22:22 AM »
I decided to try some of the other backup methods that are now in 7.4.  I can't seem to get the backup to workstation to work for me, so for those of you that have it working, let me know where I have errored.

Here is my setup
root@dev ~]# config show backupwk
backupwk=service
    BackupTime=22:45
    Compression=6
    CompressionProg=gzip
    DaysInSet=1
    FullDay=7
    IncOnlyTimeout=no
    Login=backup
    Password=xxxxxxx
    Program=dar
    SetsMax=1
    SmbHost=10.10.10.125
    SmbShare=backup
    Timeout=8
    VFSType=cifs
    status=enabled

Here is the error I get when running /sbin/e-smith/do_backupwk
[root@dev ~]# /sbin/e-smith/do_backupwk
Error while mounting 10.10.10.125:backup :
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Backup terminated: backup failed - status: 7424

Yeah, I know it states a permission issue, but when I run the commands manually per this link, http://wiki.contribs.org/Backup_with_dar

umount /mnt/smb
/bin/mount -t cifs //10.10.10.125/backup /mnt/smb -o username=backup,password=xxxxxxx

Everything mounts correctly and I can write to my cifs share.  Didn't find any particular setup instructions and the text via server-manager doesn't say anything that needs to be done specific other than filling out the boxes.

And no, I'm not opening a bug until I can determine that it's not me that has errored.  My share on my XP pc is created correctly and the userid I have chosen to use appears to be correct as evidence of manually mounting the share does work.
Thanks,

John
« Last Edit: January 30, 2009, 04:01:15 AM by mrjhb3 »
......

Offline dgs

  • **
  • 63
  • +0/-0
Re: Backup to Workstation setup
« Reply #1 on: January 27, 2009, 08:12:35 AM »
Does your password contain any non alpha characters?

http://bugs.contribs.org/show_bug.cgi?id=4850


Offline jester

  • *
  • 496
  • +1/-0
Re: Backup to Workstation setup
« Reply #2 on: January 27, 2009, 09:18:18 AM »
I'm having different problems (Bug 4923) but while googeling for this problem i'm sure i've read about several "Permission Denied" cases. Also with the same recommendation i got to 'solve' it:

Code: [Select]
modprobe cifs
echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled

HTH.

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: Backup to Workstation setup
« Reply #3 on: January 29, 2009, 11:40:37 AM »
Not being able to spot what the issue was, I went ahead and re-loaded my test server and re-enabled backup to workstation and all is now good.  I didn't have to use any of the suggestions, but thanks for trying to help.

John
« Last Edit: January 30, 2009, 04:01:40 AM by mrjhb3 »
......