Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-07-2009, 12:00 PM
Advanced Member
 
Posts: 213
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
Reply With Quote
  #2 (permalink)  
Old 01-07-2009, 01:18 PM
Moderator
 
Posts: 1,554
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.
Reply With Quote
  #3 (permalink)  
Old 01-07-2009, 01:53 PM
Advanced Member
 
Posts: 213
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
Reply With Quote
  #4 (permalink)  
Old 01-07-2009, 01:57 PM
Moderator
 
Posts: 1,554
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.