NAME

couch_schema_tool.pl - tool to help manage a couchdb schema

SYNOPSIS

    couch_schema_tool.pl --help #  this useage
     
    # dump the schema to filename
    couch_schema_tool.pl --db=name --host=hostname \
    [--port=<port>] \
    --dump --file=filename
    
    # load the schema from the filename
    couch_schema_tool.pl --db=name --host=hostname \
    [--port=<port>] \
    --load --file=filename
    
    # backup the database to this filename
    couch_schema_tool.pl --db=name --host=hostname \
    [--port=<port>] \
    --backup  --file=filename
    
    # restore the database from this filename
    couch_schema_tool.pl --db=name --host=hostname \
    [--port=<port>] \
    --restore  --file=filename
    
    # create a database 
    couch_schema_tool.pl --create --db=name --host=hostname \
    [--port=<port>]
    
    # create a database and load the schema from the filename
    couch_schema_tool.pl --create --db=name --host=hostname \
    [--port=<port>] \
    --load --file=filename