Results 1 to 4 of 4

Thread: zmbackup to remote smb share fails with permission error

  1. #1
    Join Date
    Aug 2007
    Location
    outside Philadelphia
    Posts
    214
    Rep Power
    8

    Default zmbackup to remote smb share fails with permission error

    Here is what I get:

    [zimbra@mail oldusers]$ zmbackup -f -a someuser@meritgames.com -z -t /mnt/smbbackup/oldusers/

    Error occurred: system failure: Unable to create directory /mnt/smbbackup/oldusers/tmp/full-20090107.195815.073/sys

    I thought it was a permissions error... still might be... but I have it worked out such that the zimbra user/account has permissions, and any newly-created directories have world-writable flag. Zmbackup is able to create the "sessions" and "tmp" directories, and sometimes even the full-* directories, but never past that. So, am guessing that zmbackup drops permissions somehow? Even so - not sure how much more 'lax' I can make this... suggestions?

    [zimbra@mail someuser]$ ls -lr
    drwxrwxrw- 3 zimbra nobody 0 Jan 7 14:58 tmp
    drwxrwxrw- 2 zimbra nobody 0 Jan 7 14:51 sessions

    [zimbra@mail someuser]$ cd tmp/

    [zimbra@mail tmp]$ ls -lr
    drwxrwxrw- 2 zimbra nobody 0 Jan 7 14:58 full-20090107.195815.073

  2. #2
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    it's possible you're getting this error because the backup script is attempting to do something filesystem based that the smb share does not support.

  3. #3
    Join Date
    Aug 2007
    Location
    outside Philadelphia
    Posts
    214
    Rep Power
    8

    Default

    Wondered about that... working from here:

    Ajcody-Backup-Restore-Issues - Zimbra :: Wiki

    he uses nfs as his example. Haven't tried that yet, it will be my next step - but I did try the --zip and --zipStore options as well, no seeming change.

    thanks

  4. #4
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    yeah i've done backups to nfs fine, but thats because nfs supports unix permissions

    you can probably test it like cd to /mnt/smbbackup/ and creat a file, then try to do a chown or a chmod on it i bet you get a permission denied error.

Similar Threads

  1. [SOLVED] Zimbra logwatch.
    By nishith in forum Administrators
    Replies: 5
    Last Post: 06-10-2009, 04:42 PM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. [SOLVED] Debian Etch 32 / 64: MTA not working
    By xflip in forum Installation
    Replies: 2
    Last Post: 01-18-2008, 03:58 AM
  4. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 10:30 PM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 12:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •