Results 1 to 2 of 2

Thread: How to specify current volume by cli ?

  1. #1
    marisu is offline Loyal Member
    Join Date
    Aug 2008
    Posts
    87
    Rep Power
    6

    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...

  2. #2
    hillman's Avatar
    hillman is offline Moderator
    Join Date
    May 2007
    Location
    Vancouver, Canada
    Posts
    75
    Rep Power
    8

    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
    Last edited by hillman; 11-10-2008 at 05:13 PM.
    Steve Hillman
    IT Architect
    Simon Fraser University

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 10-29-2008, 08:33 PM
  2. Running short on space on primary volume
    By mclain in forum Administrators
    Replies: 0
    Last Post: 08-20-2008, 10:43 AM
  3. Alternate Index, Store and DB Location?
    By marrotte in forum Administrators
    Replies: 5
    Last Post: 08-16-2008, 05:32 PM
  4. Delete index question about docs
    By bowergo in forum Administrators
    Replies: 0
    Last Post: 08-09-2007, 06:42 AM
  5. Current Active(logged in) users
    By menonumesh in forum Administrators
    Replies: 2
    Last Post: 05-17-2007, 04:18 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
  •