{formlabel label="Source database type" for="db_src"}
{forminput}
{if $dbservers}
{html_options name='db_src' options=$dbservers id=db_src selected=$db_src}
{else}
{formfeedback warning='You currently have no database installed that works here. If you feel this is wrong, please contact the Bitweaver Team.'}
{/if}
{formhelp note="The type of database you intend to use."}
{formfeedback warning="If the database you wish to use is not listed above, the version of PHP on this server does not have support for that database installed or compiled in."}
{/forminput}
{formlabel label="Source host" for="host_src"}
{forminput}
{formhelp note="Hostname or IP for your MySQL database, example:
Use 'localhost' if your database is on the same machine as your server.
If you use Oracle, insert your TNS name here
If you use SQLite, insert the path and filename to your database file
If you are not sure what to put in here, try using localhost."}
{/forminput}
{formlabel label="Source database name" for="name_src"}
{forminput}
{if ( $fbpath )}
{formhelp note="The name of the database where Bitweaver will create tables. You can
create a Firebird alias for the Bitweaver database in aliases.conf and then use that
aliase as the database name, or provide a full path and file name to create
the database in an existing directory."}
{else}
{formhelp note="The name of the database where Bitweaver will create tables. You can
create the database using mysqladmin, or PHPMyAdmin or ask your
hosting service to create a MySQL database.
Normally Bitweaver tables won't conflict with other product names."}
{/if}
{/forminput}
{if ( $fbpath )}
{formhelp note="Do not use prefix with Firebird, as the field and table names are already up to 30 characters."}
{/if}
{formlabel label="Source Database Prefix" for="prefix_src"}
{forminput}
{formhelp note="This prefix will be prepended to the begining of every table name to allow multiple
independent install to share a single database. All Bitweaver tables begin with 'bit_' or 'users_',
so you rarely need to enter a prefix. If you are NOT running MySQL (i.e. Postgres, Oracle, etc.)
you can end the prefix string with a '.' (period) to use a schema in systems that support it.
MySQL does NOT support schemas."}
{/forminput}
{if ( $fbpath )}
{formlabel label="Firebird Installation Path" for="fbpath"}
{forminput}
{formhelp note="If you have modified your Firebird installation from the default please enter the correct
path to the base firebird directory. This is used to find isql in order to create the initial blank
database and should be maintained in the correct format for your OS."}
{/forminput}
{formlabel label="Destination Database type" for="db_dst"}
{forminput}
{if $dbservers}
{html_options name='db_dst' options=$dbservers id=db_dst selected=$gBitDbType}
{else}
{formfeedback warning='You currently have no Database installed that works here. If you feel this is wrong, please contact the Bitweaver Team.'}
{/if}
{formhelp note="The type of database you intend to use."}
{formfeedback warning="If the database you wish to use is not listed above, the version of PHP on this server does not have support for that database installed or compiled in."}
{/forminput}
{formlabel label="Destination Host" for="host_dst"}
{forminput}
{formhelp note="Hostname or IP for your MySQL database, example:
Use 'localhost' if your database is on the same machine as your server.
If you use Oracle, insert your TNS Name here
If you use SQLite, insert the path and filename to your database file
If you are not sure what to put in here, try using localhost."}
{/forminput}
{formlabel label="Destination database name" for="name_dst"}
{forminput}
{if ( $fbpath )}
{formhelp note="The name of the database where Bitweaver will create tables. You can
create a Firebird alias for the Bitweaver database in aliases.conf and then use that
aliase as the database name, or provide a full path and file name to create
the database in an existing directory."}
{else}
{formhelp note="The name of the database where Bitweaver will create tables. You can
create the database using mysqladmin, or PHPMyAdmin or ask your
hosting service to create a MySQL database.
Normally Bitweaver tables won't conflict with other product names."}
{/if}
{/forminput}
{if ( $fbpath )}
{formhelp note="Do not use prefix with Firebird, as the field and table names are already up to 30 characters."}
{/if}
{formlabel label="Destination Database Prefix" for="prefix_dst"}
{forminput}
{formhelp note="This prefix will be prepended to the begining of every table name to allow multiple
independent install to share a single database. All Bitweaver tables begin with 'bit_' or 'users_',
so you rarely need to enter a prefix. If you are NOT running MySQL (i.e. Postgres, Oracle, etc.)
you can end the prefix string with a '.' (period) to use a schema in systems that support it.
MySQL does NOT support schemas."}
{/forminput}
{if ( $fbpath )}
{formlabel label="Firebird installation path" for="fbpath"}
{forminput}
{formhelp note="If you have modified your Firebird installation from the default please enter the correct
path to the base firebird directory. This is used to find isql in order to create the initial blank
database and should be maintained in the correct format for your OS."}
{/forminput}
{/if}
{formlabel label="Site Base URL" for="baseurl"}
{forminput}
{formhelp note="This is the path from the server root to your Bitweaver location, i.e., if you access Bitweaver as http://MyServer.com/applications/new/wiki/index.php you should enter /applications/new/"}
{/forminput}
{forminput label="checkbox"}
Automatically submit bugs
{formhelp note="Checking this box will automatically submit fatal database errors to the Bitweaver team. If you are running a live site, we recommend you check this box, as it will also avoid horrible error messages from appearing in such cases."}
{/forminput}
{formlabel label="Tables to be skipped" for="skip_tables"}
{forminput}
{formhelp note="Please select all talbes that are not supposed to be migrated at all. You can pick some tables
here, if you prefer to migrate specific tables separately at a later timepoint. Use Ctrl+click to select
more than one, or Ctrl+A to select all tables."}
{/forminput}
{forminput label="checkbox"}
DROP tables
{formhelp note="Checking this box DROP's tables before new data is migrated"}
{/forminput}
{forminput label="checkbox"}
Convert Blobs
{formhelp note="Checking this box converts blobs from a MySQL type blob to a PgSQL encoded blob."}
{/forminput}