github.com/slspeek/camlistore_namedsearch@v0.0.0-20140519202248-ed6f70f7721a/cmd/camtool/doc.go (about)

     1  /*
     2  Copyright 2013 The Camlistore Authors.
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8       http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  /*
    18  The camtool binary is a collection of commands to help with the use of
    19  a camlistore server. Notably, it can initialize a database for the
    20  indexer, and it can sync blobs between blobservers.
    21  
    22  Usage:
    23  
    24    camtool [globalopts] <mode> [commandopts] [commandargs]
    25  
    26  Modes:
    27  
    28    env: Return Camlistore environment information
    29    googinit: Init Google Drive or Google Cloud Storage.
    30    list: List blobs on a server.
    31    claims: Ask the search system to list the claims that modify a permanode.
    32    dumpconfig: Dump the low-level server config from its simple config.
    33    describe: Ask the search system to describe one or more blobs.
    34    discovery: Perform configuration discovery against a server.
    35    reindex-diskpacked: Rebuild the index of the diskpacked blob store
    36    index: Synchronize blobs for all discovered blobs storage - indexer pairs.
    37    sync: Synchronize blobs from a source to a destination.
    38    dbinit: Set up the database for the indexer.
    39    debug: Show misc meta-info from the given file.
    40  
    41  Examples:
    42  
    43    camtool sync --all
    44    camtool sync --src http://localhost:3179/bs/ --dest http://localhost:3179/index-mem/
    45  
    46    camtool dbinit -user root -password root -host localhost -dbname camliprod -wipe
    47  
    48  For mode-specific help:
    49  
    50    camtool <mode> -help
    51  
    52  Global options:
    53    -help=false: print usage
    54    -verbose=false: extra debug logging
    55    -version=false: show version
    56  */
    57  package main