Bulk Create for Archive Accounts

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
cswihart
Posts: 17
Joined: Fri Sep 12, 2014 10:34 pm

Bulk Create for Archive Accounts

Postby cswihart » Tue Oct 09, 2007 10:28 am

Sorry if this has already been asked, but I did a search of the wiki, docs, forums, ect.. and have been unable to find an answer to my question. I currently have a separate Zimbra server setup as an archive mail store for my existing ZCS server. I'm in the process of migrating all our users from our old mail system into Zimbra. I was able to bulk provision all of our users using the "zmprov
Thank you for your help.
Chris


klinet
Posts: 19
Joined: Fri Sep 12, 2014 10:38 pm

Bulk Create for Archive Accounts

Postby klinet » Thu Jan 24, 2008 5:00 pm

This post is a little bit old but it is what I'm looking for. I'd like to run zmarchiveconfig enable
Any ideas?
Thanks
blazeking
Outstanding Member
Outstanding Member
Posts: 218
Joined: Fri Sep 12, 2014 11:30 pm

Bulk Create for Archive Accounts

Postby blazeking » Tue Sep 23, 2008 12:32 pm

Double thread necromancy!
I have several hundred users in the system. Is there a way to enable archiving in bulk?
mmorse
Ambassador
Ambassador
Posts: 6036
Joined: Fri Sep 12, 2014 10:24 pm

Bulk Create for Archive Accounts

Postby mmorse » Fri Sep 26, 2008 4:04 pm

zmprov gaa > /tmp/accounts.txt

Then something like:



for i in `cat /tmp/accounts.txt`

do

zmarchiveconfig –s archive.example.com enable $i archive-cos archive

sleep 3

done


Ajcody-Notes-Archive-Discovery-Mailstore-Setup - Zimbra :: Wiki

Bulk Provisioning - Zimbra :: Wiki

Return to “Administrators”

Who is online

Users browsing this forum: lancedavis and 7 guests