Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Backup and Restore

Since in migration-center all the critical data and configuration is saved in the database, you only need to back up the migration-center database schema.

Oracle

Backup

To back up the migration-center schema, use Oracle Data Pump Export (expdp). Export both the objects and the data within the FMEMC schema.

Use Data Pump for new backups. Oracle no longer supports the original exp utility for general use. Dumps previously created with exp must still be restored with imp. See Oracle's original Export documentation.

  1. Create a backup folder on the Oracle database server, for example D:\MCBackup. Give the Oracle database service account access to this folder.

  1. Connect as a database administrator to the database containing FMEMC. For a multitenant installation, connect to the correct PDB. Create a directory object and grant access:

CREATE DIRECTORY MC_BACKUP_DIR AS 'D:\MCBackup';
GRANT READ, WRITE ON DIRECTORY MC_BACKUP_DIR TO FMEMC;
  1. Create a text file named mc_export.par on the machine where you run expdp:

DIRECTORY=MC_BACKUP_DIR
SCHEMAS=fmemc
CONTENT=ALL
DUMPFILE=fmemc_20260929.dmp
LOGFILE=fmemc_20260929_export.log
FLASHBACK_TIME=SYSTIMESTAMP

CONTENT=ALL exports object definitions and data. FLASHBACK_TIME gives the exported data a common consistency point. See Oracle Data Pump Export.

  1. Run the following command, replacing the placeholders in <> with the correct value:

The database administrator must provide sufficient undo space and retention for the export. Do not change the schema during the backup. See Oracle Data Pump best practices.

  1. Check the command exit status and export log. Resolve any errors before accepting the backup. Copy the dump and log from the server's backup folder to protected backup storage.

Restore

To restore the backup, follow the steps below:

  1. Prepare a compatible Oracle database or PDB. Use the same database character sets.

  2. Create the fmemc user and tablespace according to the Advanced DB installation.

  3. Copy the dump to the target database server. Create MC_BACKUP_DIR and grant access there as described above.

  4. Create mc_import.par:

  1. Run the following command, replacing the placeholders in <> with the correct value:

Data Pump creates a logical schema backup. For database-server recovery or recovery to a specific point in time, the database administrator must also configure and test RMAN backups and the required archived redo logs. See Oracle's backup and recovery guidance.

PostgreSQL

Backup

Use pgAdmin 4 to back up the complete migration-center database, including all schemas, object definitions and data.

  1. Connect to the PostgreSQL server in pgAdmin using a database administration account, such as postgres.

  2. Expand Databases, right-click the migration-center database and select Backup....

  3. On the General tab, select the backup file location, enter a filename such as migrationcenter_20261005.backup and select Custom as the format.

  4. On Data Options, include Pre-data, Data and Post-data. Leave Only data and Only schemas disabled.

  5. Click Backup. Open the Processes tab and check that the backup completed without errors.

For more information, see the pgAdmin Backup dialog.

The file is saved on the machine running pgAdmin. If pgAdmin runs in server mode, download the file through Tools > Storage Manager. See pgAdmin Storage Manager.

Restore

To restore the backup, follow the steps below:

  1. Prepare a compatible PostgreSQL server ensuring the System Requirements are fulfiled.

  2. In pgAdmin, right-click Databases and select Create > Database.... Create a new database for the restore. See the pgAdmin Database dialog.

  3. Create the FMEMC user by running the create_user.sql script according to the Postgres Advanced Installation guide, if it does not already exist on this server.

  4. In pgAdmin, connect as the database administration account. Right-click the newly prepared migration-center database and select Restore....

  5. On General, select Custom or tar and choose the backup file. Select the following options in each tab: - Data Options: Pre-data, Data, Post-data - Query Options: Clean before restore, Include IF EXISTS clause

Clean before restore replaces the installation's initial database objects and data with those in the backup. The restore uses the selected database.

  1. Click Restore. Check the process log and resolve any errors before continuing. See the pgAdmin Restore dialog.

Last updated

Was this helpful?