How to backup WordPress using File Manager and phpMyAdmin?

Most hosting servers have File Manager and phpMyAdmin that you can use to backup your WordPress website. This backup can be used to migrate your website from your previous hosting provider to your hosting account with us.

Please follow these steps:

  • Step 1: Backup Files
  • Step 2: Backup Database

 

Backup Files


Using File Manager:

  1. Log in to your old hosting control panel.

  2. Find and launch File Manager.

  3. Go to File Manager > WordPress install directory.

    On most servers, the install directory is yourdomain.com > public_html

    *Replace yourdomain.com with your actual domain name

  4. Compress (.zip) all files and directories inside the [public_html] directory.

  5. Download the .zip file using FTP or File Manager.

Note:

We can help you download a large .zip file to your new hosting account with us directly from your old hosting account. Move the .zip file into your WordPress root directory and provide us with a downloadable URL or FTP details to download the file.

 

Backup Database Using a Plugin


You can use a backup plugin or phpMyAdmin to download a database backup.

Using Plugin:

  1. Log in to your WordPress and install the UpdraftPlus WordPress Backup plugin.

  2. Go to Settings > UpdraftPlus Backups > Backup Now.

  3. Select [*] Include your database in the backup.

  4. Deselect [ ] Include your files in the backup.

  5. Click Backup Now. Wait for the backup to complete.

  6. Click Database next to the backup.

  7. Click Download to your computer.

Note:

It is a third-party plugin. MechanicWeb does not endorse its use and is not affiliated with them.

 

Backup Database Using phpMyAdmin


You do not need to backup the database using phpMyAdmin if you have already created a backup using a plugin.

Get the Database Name:

  1. Log in to your old hosting control panel.

  2. Find and launch File Manager.

  3. Go to File Manager > WordPress install directory.

    On most servers, the install directory is yourdomain.com > public_html

    *Replace yourdomain.com with your actual domain name

  4. Right-click on the wp-config.php file.

  5. Click Edit.

  6. Find the following line:

    define( 'DB_NAME', 'olddatabasename' );

    The text olddatabasename is the name of your database for this website. The name can be random.

  7. Done!

 

Download the Database:

  1. Log in to your old hosting control panel.

  2. Find and launch phpMyAdmin.

  3. Select the Database named olddatabasename from the left sidebar.

    Your database name might not be olddatabasename. Find the name using the steps above.

  4. Go to Export > Go.

  5. Wait for the export to finish.

  6. Done!

 

  • 371 Users Found This Useful
Was this answer helpful?

Related Articles

How to migrate WordPress using File Manager and phpMyAdmin?

Migrating WordPress using File Manager and phpMyAdmin is as easy as creating a backup and...

How to migrate WordPress using the migration tool?

There are several ways to migrate a WordPress website. You can easily migrate your websites using...

How to backup and restore WordPress using Softaculous WordPress Manager?

We provide multiple ways to backup and restore your WordPress website. Please follow this guide...

How to transfer sites from your old hosting to MechanicWeb or restore cPanel backups manually?

In this tutorial, you will learn how to manually transfer or restore your websites, files,...

How to split addon domains into individual cPanel accounts?

To split addon domains into individual cPanel accounts, you need to, in chronological order:...