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

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 10-30-2008, 06:40 PM
Loyal Member
 
Posts: 87
Default How to specify current volume by cli ?

Hello ,all.
Normally, I can choose the store volume or index volume in admin ui. But now for some reasons i cannot access the admin ui , so I want to know can i specify the current volume by cli or else ?
thanks !
__________________
Ask Forever...
Reply With Quote
  #2 (permalink)  
Old 11-10-2008, 04:11 PM
Moderator
 
Posts: 75
Default

The 'zmvolume' command will do that for you:
Code:

$ zmvolume --help
usage: zmvolume {-a | -d | -l | -e | -dc | -sc } <options>
 -a,--add                           Adds a volume.
 -c,--compress <arg>                Compress blobs; "true" or "false"
 -ct,--compressionThreshold <arg>   Compression threshold; default 4KB
 -d,--delete                        Deletes a volume.
 -dc,--displayCurrent               Displays the current volumes.
 -e,--edit                          Edits a volume.
 -h,--help                          Displays this help message.
 -id,--id <arg>                     Volume ID
 -l,--list                          Lists volumes.
 -n,--name <arg>                    volume name
 -p,--path <arg>                    Root path
 -s,--server <arg>                  Mail server hostname. Default is
                                    localhost.
 -sc,--setCurrent                   Sets the current volume.
 -t,--type <arg>                    Volume type (primaryMessage,
                                    secondaryMessage, or index)
 -ts,--turnOffSecondary             Turns off the current secondary
                                    message volume
 -Y,--authtokenfile <arg>           use auth token string(has to be in
                                    JSON format) from command line
 -y,--authtoken <arg>               use auth token string(has to be in
                                    JSON format) from command line
__________________
Steve Hillman
IT Architect
Simon Fraser University

Last edited by hillman; 11-10-2008 at 04:13 PM..
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.