Migrating data from SQL Server to PostgreSQL

This article will show you how to use a simple database migration wizard to quickly migrate data from SQL Server to PostgreSQL! Save you tons of complicated work and time!

Requirements:

Introduction:

1. In "Choose a Data Source" dialog, choose "Microsoft SQL Server";

  • Input the SQL Server host name (you can also the instance name). e.g: localhost\sqlexpress.
  • If using TCP/IP method then input the server port (default is 0 and using pipe method), in addition, you need to provide a username(e.g: sa) and password.
  • Checking "Windows Authentication" checkbox if using Windows authentication.
  • Press "Refresh Database" button to list all databases, yeither select an existing database or enter a new database name, this toolkit will automatically create the new database during the migration process.
  • Press "Refresh Schema" button to list all schemas, you can select an existing schema or enter a new schema name, this toolkit will automatically create the new schema during the migration process, if you let it empty, the 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 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. Complete!

The program will complete the migration as quickly as possible and generate a migration report to you. All you have to do is sit and wait. If you have any questions or suggestions, please feel free to contact us.

Download Now! »

Related Links:

1. SQL Server To DB2 Migration
2. SQL Server To MySQL Migration
3. SQL Server To MariaDB Migration
4. SQL Server To Oracle Migration
5. SQL Server To MS Access Migration
6. SQL Server To MS Excel Migration
  1. DB2 To PostgreSQL Migration
2. FireBird To PostgreSQL Migration
3. Foxpro To PostgreSQL Migration
4. Informix To PostgreSQL Migration
5. MS Access To PostgreSQL Migration
6. MS 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