Migrating data from Microsoft SQL Server to PostgreSQL

Requirements:

  • ESF Database Migration Toolkit DL.
  • Microsoft Windows XP or higher.
  • Microsoft SQL Server 6.5 or higher.
  • PostgreSQL 7.x or higher.

Introduction:

1. In "Choose a Data Source" dialog, choose "Microsoft SQL Server (Standard)" or "Microsoft SQL Server (OS Authentication)";

  • Input the SQL Server host name (or instance name when using OS Authentication).
  • If using "Standard" method then input the server port (default is 1433, or 1284 for SQL Server 2005 Express), plus, you must offer an username and password.
  • Press "Refresh Database" button to list all databases, then choose an existing database.
  • Press "Refresh Schema" button to list all schemas, then choose an existing schema (default is "dbo").
  • SQL Server

2. In "Choose a Destination" dialog, choose "PostgreSQL";

  • Input the server name (default: localhost) and port (default: 5432).
  • Input the username (default is "postgres") and its password.
  • Select the target database character set (default is "UTF8"), it is very important if the data containts Non-Ascii characters e.g. German, French, Japanese.
  • Press "Refresh Database" button to list all databases, you can choose an existing database or enter a new database name, this toolkit automatically create the new database during the migration process.
  • Input/select the target PostgreSQL schema name (default is "public"), or press "Refresh Schema" button to list all schemas.
    PostgreSQL

3. In "Select source Tables(s) & View(s)" dialog

  • Select the tables/views which will be migrated.
    Select Tables&Views
  • Click "..." to set the table options or remap the table structure.
    Transform
  • You can set the data transfer method (Overwrite Table/Empty Data/Append Data/Skip Table) or filter the data before transferring.
  • Choose "Field Mapping" option, you can redefine the fields in the destination table, e.g.: field name, data type, default value, comment and also.

4. In "Execution" Dialog;

  • Click "Submit" to begin the migration, this toolkit will help you quickly migrate data from Microsoft SQL Server to PostgreSQL without intervention.
    Execute
  • Click "Browse Log" to visit the full migration log.
  • Click "Save as job" to save the migration settings to a job file, so you can "Load Job" to quickly reload the migration job in the future or run the migration job via command-prompt. Run "esfdbcv --help" in command-prompt to get the full command parameters.

5. Finished!

If you have any questions or suggestions, please contact us. Thank you for your time!

Download Now! »

Related Links:

1. Microsoft SQL Server To IBM DB2 Migration
2. Microsoft SQL Server To MySQL Migration
3. Microsoft SQL Server To MariaDB Migration
4. Microsoft SQL Server To Oracle Migration
5. Microsoft SQL Server To Microsoft Access Migration
6. Microsoft SQL Server To Microsoft Excel Migration
  1. IBM DB2 To PostgreSQL Migration
2. FireBird To PostgreSQL Migration
3. Foxpro To PostgreSQL Migration
4. Informix To PostgreSQL Migration
5. Microsoft Access To PostgreSQL Migration
6. Microsoft Excel To PostgreSQL Migration
7. MariaDB To PostgreSQL Migration
8. MySQL To PostgreSQL Migration
9. Oracle To PostgreSQL Migration
10. SQLite To PostgreSQL Migration
11. InterSystems Cache To PostgreSQL Migration