Migrating data from SQL Azure to PostgreSQL

This guide walks you through migrating data from SQL Azure to PostgreSQL in a few simple steps using ESF Database Migration Toolkit. Simplify complex migration tasks and save valuable time with our streamlined approach.

Prerequisite:

  • Software Required:

    📦 ESF Database Migration Toolkit 64-bit
    Windows 64-bit application
    Version: 12.2.11
    Release Date: 2025-08-23
    MD5: 937035c014b2bb81ca2d7725af094aa6
    📦 ESF Database Migration Toolkit 32-bit
    Windows 32-bit application
    Version: 12.2.11
    Release Date: 2025-08-23
    MD5: bf6b639a2a703faf6b3c5139c5943e75
  • System Supported:

    • Windows 7 or higher.
    • SQL Azure.
    • PostgreSQL 7.x or higher.

Step by Step Wizard:

  1. Configure SQL Azure Connection

    • Prerequisite:
      • Enable "Allow access to Azure services" in Azure SQL server settings
      • Add your client IP under Firewalls and virtual networks
    • In the "Choose a Data Source" dialog:
      • Select "SQL Azure"
    • Enter connection details:
      • Server name: e.g., esf.database.windows.net
      • Port: 1433 (default)
      • Authentication: Enter credentials
    • Load database options:
      • Click the Refresh Database button
      • Select target database from list
    • Load schema options:
      • Click the Refresh Schema button
      • Choose desired schema
    SQL Azure connection dialog showing server configuration and refresh controls
    Fig. 1: SQL Azure data source configuration
  2. Configure PostgreSQL Destination

    • In the "Choose a Destination" dialog:
      • Select "PostgreSQL"
    • Enter server connection details:
      • Server name: localhost (default)
      • Port: 5432 (default)
    • Provide authentication credentials:
      • Username: postgres (default)
      • Associated password
    • Configure character encoding:
      • Select database character set (default: UTF8)
      • Required for non-ASCII characters (e.g., German, French, Japanese)
    • Database selection/creation:
      • Select existing database or enter new database name
      • Click the Refresh button to list available databases
      • New databases are automatically created during migration
    • Schema configuration:
      • Enter or select target schema name (default: public)
      • Click the Refresh Schema button to list available schemas
    "Choose a Destination" dialog showing PostgreSQL configuration options including server settings, character set selection, and schema controls
    Fig. 2: PostgreSQL destination configuration
  3. In "Select Source Table(s) & View(s)" Dialog

    • Select migration objects: Choose tables or views to include in the migration.
      Select Tables & Views
      Fig. 3: Select tables and views
    • Modify table structure: Click the ellipsis (...) button to access table options and schema adjustments.
      Transform
      Fig. 4: Do transform
    • Configure field mapping: In the Field Mapping options:
      • Customize destination fields (name, data type, default value, comments)
      • Select data transfer method:
        • Overwrite Table (replace existing data)
        • Empty Data (truncate before insert)
        • Append Data (add to existing data)
        • Skip Table (exclude from transfer)
      • Apply data filters before transfer
  4. Execution Dialog

    • Start migration: Click "Submit" to initiate automated data transfer from SQL Azure to PostgreSQL.
      Execute
      Fig. 5: Execute migration
    • Monitor progress: Click "Browse Log" for real-time migration tracking, including issue resolution details.
    • Save configuration: Click "Save as job" to store settings for:
      • Quick reloads of migration jobs
      • Command-line execution (use: dmtc.exe --help for parameter options)
  5. Finished!

    After migration completes, the toolkit generates a comprehensive report for verifying migration accuracy. You can monitor progress as the automated process runs efficiently. For any questions or feedback, contact us – our team is ready to assist.

Download Now »

Related Links:

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