All pages
Powered by GitBook
1 of 2

Loading...

Loading...

Restoring Backups

This section will cover restoring a database backup of your Monolith MySQL database.

Backup Data

This restore process assumes you have previously created a SQL dump of your Monolith database from MySQL. A SQL dump file is a plain text file that contains your database data in a SQL format.

Database Schemas

MySQL has a concept called "schemas". Schemas are the data segments within MySQL that store tables and data. You can have any number of schemas within a MySQL database. Your Monolith data is stored within a single schema within MySQL.

Schemas are the data object that we will backup and restore from backups.

Restore Steps

Recommended Tools:

  • MySQL Workbench

    • This is a free tool provided by the MySQL team to access and manage MySQL databases. It also has several useful utilities including database backup and backup import services.

  1. Open MySQL Workbench

  2. Ensure that Workbench has a connection to your Monolith database.

  3. Open your Monolith database in MySQL workbench.

  4. Select "Server >> Data Import" from the Workbench menu bar.

This process will create a new "schema" and populate it with tables and data from your Monolith database backup.

If the new schema has a different name from your original Monolith schema (database), then you may need to update your Monolith deployment configuration.

The import wizard should start at the "Import from Disk" tab - select this tab if its not selected.
  • Under "Import Options", check the radio button for "Import from Self-Contained file".

  • Use the file select browser to locate and choose your Monolith database backup, which should have a ".sql" extension.

  • (Optional) Select a default target schema or create a new one.

    1. This is optional because your SQL dump file likely already has a directive to create a new schema with the correct name.

  • Click the "Start Import" button.

  • Backups

    Monolith On-premises deployments do not include a native backup solution.

    The customer is responsible for creating and managing backups for data stored in the Monolith deployment.

    The customer should set up a backup system that creates backups of the "data" folder maintained by the Monolith server. A backup solution for the MySQL Monolith database should also be implemented. The MySQL backup process should create something similar to SQL dumps of the databases stored by Monolith in MySQL.