How to generate a dump of the database and download it in Plesk? (Video)

To generate a dump (backup) of your database and download it in Plesk. This process is helpful for backing up your database, migrating it, or keeping it as a precaution before making changes.

You can follow these steps:

Step 1: Log in to Plesk

  1. Open your Plesk control panel by navigating to https://your-domain.com:8443 (replace your-domain.com with your actual domain or server IP address).
  2. Enter your admin username and password to log in.

Step 2: Access the Database Management Section

  1. From the Plesk dashboard, go to the "Websites & Domains" tab.
  2. Under the domain for which you want to generate the database dump, click on "Databases". This will open the Database Management page.

Step 3: Choose the Database to Back Up

  1. You’ll see a list of databases associated with the selected domain.
  2. Find the database you want to back up and click on the "Export Dump" link (or Export button, depending on your Plesk version).

Step 4: Configure the Database Dump Settings

  1. Once you click on Export Dump, a dialog will appear asking you to configure the export options:
    • Select the format: Usually, the default option will be SQL format, which is perfect for MySQL or PostgreSQL databases.
    • You can choose additional options like structure (only database schema), data (only database data), or both.
  2. Choose the location:
    • You will typically be given an option to download the dump directly to your computer or store it as a file on the server. If you choose the download option, Plesk will generate the dump file and provide a link to download it directly.

Step 5: Download the Database Dump

  1. After the dump has been generated, Plesk will provide a link to download the dump file.
  2. Click the download link to start downloading the database dump to your local computer. The file will usually have a .sql extension.

Step 6: (Optional) Verify the Dump

  1. After downloading, you can verify the contents of the dump file by opening it in a text editor or an SQL viewer. This is to ensure that the backup contains the expected tables, data, and structure.

Alternative Method: Using phpMyAdmin (for MySQL databases)

If you prefer using phpMyAdmin to generate a database dump:

  1. From the Databases page in Plesk, click on phpMyAdmin next to the database you want to back up.
  2. In phpMyAdmin, select the database on the left sidebar.
  3. Click on the Export tab at the top.
  4. Choose the Quick or Custom export method. For a full backup, select Custom, and ensure that all tables and data are selected.
  5. Choose the SQL format for the export.
  6. Click Go to generate the dump file.
  7. The file will automatically download to your computer.

By following these steps, you can easily generate a dump of your database and download it in Plesk. This process allows you to back up your database, migrate it, or store it safely for future use. Always ensure you have up-to-date backups, especially before making significant changes to your site or application.

 
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to create a database in Plesk? (Video)

Creating a database in Plesk is straightforward and can be done using the Plesk control panel....

How to delete a database in Plesk? (Video)

To delete a database in Plesk. Be aware that deleting a database will permanently remove all...

How to create a database username in Plesk? (Video)

Creating a database username in Plesk is a straightforward process. The database...

How to remove a database username in Plesk? (Video)

  To remove a database username in Plesk, you need to delete the user...