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 02-03-2011, 07:35 AM
Member
 
Posts: 13
Default Backup and restore mail filters on a new ZCS

Hello,

I noticed that the REST method doesn't save the filters rules :
zmmailbox -z -m aide@mydomain.com getRestURL //?fmt=tgz > /mail/export/backup/accounts/aide.tgz

So I tried these commands :
- backup

zmmailbox -z -m aide@mydomain.com >> filters

- restore script on the new zcs

exec < filters
while read line
do
zmmailbox -z -m aide@mydomain.com addFilterRule $line
done

Restore fails because of spaces in rules name, folders...

ERROR: zclient.CLIENT_ERROR (unknown keyword: commun/sacoche")
ERROR: zclient.CLIENT_ERROR (unknown keyword: logiciels)
...
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.