How to create a WordPress backup.

By Angus Published 2 November 2021 Updated 27 January 2026 4 min read

Backing up WordPress Locally

When it comes to creating WordPress backups there are many options available – these methods are functionally similar and involve creating a backup of the 3 main components of a WordPress install.

  • The WordPress installation directory. This includes WordPress core files alongside your chosen WordPress theme, plugins and any uploads.
  • Your WordPress database, containing your posts, users and other stored data.
  • Contained within the installation directory – Your WordPress configuration file (wp-config.php) which links your WordPress installation to WordPress.

Creating regular backups is essential after you install WordPress, and should be part of your ongoing site maintenance. Before you start, make sure you’re familiar with using the File Manager or an FTP client.

Manual WordPress Backup

File Transfer

  • To manually back up your WordPress site you will first need your FTP access details. If you don’t know your FTP details you can get them from your welcome email.
  • You can use these details to establish an FTP connection to the server letting you download the website contents.
Welcome email with FTP details highlighted
FTP Details
  • Create a folder on your desktop. This will be used to store the backup files. By storing the backup locally, you’re operating within our general terms.
Backup folder on windows desktop
Your backup folder
  • After you have established an FTP connection, select all the files within the directory of your site.
    If you have a multi-site cPanel, ensure you have the correct directory (default is public_html).
  • After selecting all the relevant files, drag them into the folder on your desktop. This may take a while, depending on the size of your site.
WordPress files selected in FTP
WordPress files in FTP client
  • Sometimes a duplicate file warning will appear. This even happens if the files transferred are correct. This error appears because duplicates at the destination need to be overwritten. Ensuring the displayed content is correct.
  • To do this under action, select overwrite and then tick both always use this action & apply to current queue only. Click OK to proceed, it will clear the entire queue with this selection.
Filezilla showing overwrite warning
Filezilla overwrite warning
  • Once the download completes, open the folder and navigate to the wp-config.php file, this file provides you with information on the adjoined database. Including DB_NAME, table_prefix and user credentials. Without these details, WordPress won’t be able to access the database and your site won’t work.
wordpress wp-config file important sections need for wordpress backup
The WordPress (wp-config) file

Access phpMyAdmin

The phpMyAdmin application is the same for both cPanel and Plesk. However, accessing it is different for each control panel, if you don’t know how to access phpMyAdmin the following should help.

cPanel

  • First off, login to your cPanel control panel.
  • In cPanel, under the databases’ section, click phpMyAdmin. This will load the phpMyAdmin dashboard.
cPanel databases section
cPanel Databases section

Plesk 

  • Login to your Plesk control panel. 
Plesk login shortcut
Unlimited Plesk Login
  • From your domain overview (main area) in Plesk. In the feature’s sidebar on the right, click Databases. This takes you to the Plesk database tool, from here you can perform some basic actions and access phpMyAdmin.
Plesk databases
Plesk features sidebar
  • Sometimes you might have more than one database listed. Check the database name against the one in your wp-config.php file, and click on the phpMyAdmin icon for that database.
Plesk databases tool
Plesk databases tool
  • From the phpMyAdmin dashboard area, follow on from the above phpMyAdmin guide.

Export your database

phpMyAdmin

  • Firstly, from the phpMyAdmin dashboard. Make sure the correct database name is showing, use the wp-config.php file to help.
  • Afterwards, click on that database to select it.
phpMyAdmin dashboard
Dashboard
  • With the correct database selected, click on Export in the top navbar.
  • After entering the Export tool, click Go.
phpMyAdmin Export tool
Export tool
  • A file explorer or pop-up notification should appear. From here, you need to choose the location to save the exported database to. Find your backup folder and save it inside to make it easier.

Importance of backing up 

WordPress is powerful software featuring both back & front end functionality through a CMS (content management system) it is currently the most popular CMS

Creating regular WordPress backups is an important part of running a WordPress site, whether you’re just installing WordPress on cPanel but is especially true if you’re operating a business through a WordPress website. It’s critical to keep downtime to a minimum otherwise, it could have serious implications on customer’s satisfaction.

Because of its popularity, WordPress also comes under lots of pressure from bad actors such as hackers, spammers, scammers, etc. To protect WordPress users, the WordPress foundation releases regular updates, patching known security issues.

For more information about WordPress best practices and maintenance, check our WordPress FAQs.

Running a WordPress site?

Get fast, secure and reliable WordPress Hosting with optimised for performance with AccelerateWP.

Get WordPress Hosting

Need multiple accounts?

Create fully isolated individual accounts for your clients and manage them all from one dashboard.

Get Reseller Hosting