Jeremy Wall > DB-CouchDB-Schema-0.3.04_remove_blib > couch_schema_tool.pl

Download:
DB-CouchDB-Schema-0.3.04_remove_blib.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Source  

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