Changeset 1325

Show
Ignore:
Timestamp:
04/06/07 13:31:31
Author:
johnsa
Message:

fixed up windows dump/restore bat file

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/dumprestore/shellscr/resources/dumpres.bat

    r1286 r1325  
    4444 
    4545:usage 
    46   ECHO Usage: 
    47   ECHO  dump <filename> 
    48   ECHO     Dump the database in xml format suitable for restore. 
    49   ECHO 
    50   ECHO  restore <filename> 
    51   ECHO     Restore the database from an xml formatted dump. 
    52   ECHO 
    53   ECHO  backup <directory> <prefix>} 
    54   ECHO     Dump the database in xml format suitable for restore. 
    55   ECHO     Files will have a name built from the prefix and the current date/time. 
    56   ECHO 
    57   ECHO  initdb [--indexroot=<lucene-index-root> 
    58   ECHO     Populate the database using the provided initial data. 
    59   ECHO 
    60   ECHO  drop [--haltonerror] 
    61   ECHO     Create a file in the current directory with sql drop statements 
    62   ECHO 
    63   ECHO  drop-export [--haltonerror] 
    64   ECHO     Drop tables in the database. Note this may not work if the schema 
    65   ECHO     was changed. 
    66   ECHO 
    67   ECHO  schema [--haltonerror] 
    68   ECHO     Create a schema from the xml schema. Placed in a file in the current directory 
    69   ECHO 
    70   ECHO  schema-export [--haltonerror] 
    71   ECHO     Create a schema from the xml schema. 
    72   ECHO     Also create the database tables, indexes etc. 
    73   ECHO 
     46  ECHO   Usage: 
     47  ECHO. 
     48  ECHO     schema-export [--haltonerror] 
     49  ECHO        Create a schema from the xml schema. 
     50  ECHO        Also create the database tables, indexes etc. 
     51  ECHO. 
     52  ECHO     initdb [--indexroot={lucene-index-root}] 
     53  ECHO        Populate the database using the provided initial data. 
     54  ECHO. 
     55  ECHO     dump {filename} 
     56  ECHO        Dump the database in xml format suitable for restore. 
     57  ECHO. 
     58  ECHO     restore {filename} 
     59  ECHO        Restore the database from an xml formatted dump. 
     60  ECHO. 
     61  ECHO     backup {directory} {prefix} 
     62  ECHO        Dump the database in xml format suitable for restore. 
     63  ECHO        Files will have a name built from the prefix and the current date/time. 
     64  ECHO. 
     65  ECHO     drop [--haltonerror] 
     66  ECHO        Create a file in the current directory with sql drop statements 
     67  ECHO. 
     68  ECHO     drop-export [--haltonerror] 
     69  ECHO        Drop tables in the database. Note this may not work if the schema 
     70  ECHO        was changed. 
     71  ECHO. 
     72  ECHO     schema [--haltonerror] 
     73  ECHO        Create a schema from the xml schema. Placed in a file in the  
     74  ECHO        current directory 
     75  ECHO. 
     76 
    7477  GOTO end 
    7578