Changes between Version 1 and Version 2 of SqliteToPgScript


Ignore:
Timestamp:
Sep 13, 2006, 8:29:59 AM (8 years ago)
Author:
pacopablo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SqliteToPgScript

    v1 v2  
    2222
    2323== Example ==
     24{{{
     25usage: sqlite2pg [options] [site]
    2426
     27sqlite2pg is used to migrate data from SQLite to PostgreSQL.
     28
     29options:
     30  --version             show program's version number and exit
     31  -h, --help            show this help message and exit
     32  -t <path>, --tracbase=<path>
     33                        Parent path for trac sites
     34  -e <path>, --tracenv=<path>
     35                        Path to trac environment
     36  -m <list>, --migrate=<list>
     37                        Comma separated list of tables to migrate
     38  --exclude_perms=<list>
     39                        Comma separated list of users to exclude from
     40                        permission migration
     41  -w <list>, --wikipages=<list>
     42                        Comma separated list of wiki page names to ommit from
     43                        the migration
     44  -p <uri>, --pg_uri=<uri>
     45                        DB URI for PostgreSQL database
     46  -s <uri>, --sqlite_uri=<uri>
     47                        DB URI for SQLite database
     48  --noclean             Do not clear PostgreSQL tables before transfer
     49}}}
    2550{{{
    2651./sqlite2pg -e /var/trac -p 'postgres://user:pass@localhost/db?schema=myschema'