Announcing Duplicator WP-CLI Commands (And How They Speed Up Backups)
Announcing Duplicator WP-CLI Commands (And How They Speed Up Backups)
Backups are your site’s lifeline. They’re the difference between a minor hiccup and a major disaster.
Sure, plugins can do the job. But what if you want more control?
If you prefer handling your site’s backups, you can always do them manually. You can download the data you need without having to install another tool.
In this tutorial, we’ll show you how to back up your WordPress site manually!
As a site owner, you’ll need to safeguard your hard work against unexpected issues. This is where backups come in handy.
A website backup is a copy of all your WordPress site’s files, databases, and content. This acts as an insurance policy, protecting your valuable data from cyber attacks, server crashes, human errors, or conflicts caused by updates.
Here are the main benefits of backing up your site:
You never know what could happen to your website. It’s a good idea to regularly back up all your data before disaster strikes.
However, there are a few ways to create backups. One of the easiest solutions is to install a WordPress backup plugin.
This tool will instantly compile your site’s data into a downloadable zip file. Plus, many backup plugins include helpful features like automatic backups, cloud storage, and backup encryption.
Sometimes, you may want to back up your site manually instead. You might have too many plugins installed or simply want to be the one in charge of your data backups. If that’s the case, you can easily download a copy of your WordPress website!
Let’s show you how to back up your WordPress site manually, step-by-step!
If you want to save a backup of your site, you’ll need two parts: the files and the database.
Your WordPress files contain this valuable information:
To get started, you’ll need to download all of the files on your website. You can do this with cPanel or a File Transfer Protocol (FTP) client. Be sure to check your hosting account to see which tool you should use.
Many WordPress hosting providers offer cPanel so that you can easily edit site files, manage your server, and perform other tasks.
To back up your files with cPanel, find the Files section and hit Backup.
Under Partial Backups, download a copy of your home directory. This will save all of the files in your public_html folder.
If you have other directories on your website, you can download them too. To do this, find the option to Download a Full Account Backup.
Now you’ll have a locally stored file backup!
If you want to use an FTP client, we’d recommend FileZilla. This is a free tool that allows you to manage your site’s remote files.
First, download FileZilla. At the top of the page, add the host name, username, password, and port number for your website. These credentials will be listed in your hosting control panel.
Then, hit Quickconnect. After FileZilla connects to your host, you’ll see your site’s files in the Remote site box. Here, open the root directory called public_html.
Select all of the files in this folder, right-click, and download them. Alternatively, you can create a new directory in the Local site box and drag and drop your site’s files into it.
As we mentioned earlier, you’ll also need to manually download your database. Similar to the first step, there are two ways to do this!
One easy way to back up your database is to visit the Backups page in cPanel. Then, go to Download a MySQL Database Backup.
Click on the name of your database to start the download. If you ever need to restore your database, simply upload it under Restore a MySQL Database Backup.
PhpMyAdmin is a popular web-based database management tool that’s commonly provided by your web hosting company. It allows you to easily download your database in just a few steps.
First, log into phpMyAdmin. Then, select your database name and hit Export.
Choose SQL in the file format dropdown menu.
Lastly, click on Go. Your database will automatically be downloaded as a SQL file.
If you’re a developer or WordPress expert, you might not mind going through the hassle of manual backups. However, let’s talk about why the manual backup process might not be the best option for safeguarding your site.
As a website owner, you’ll want to focus on writing new blog posts or selling products. You might not to waste precious hours on manual backups.
Ultimately, a WordPress backup plugin can take care of the mundane tasks while you focus on what you do best – creating amazing content. A tool like Duplicator Pro can automate backups, so you never have to think about them.
Let’s face it – we’re only human! Manually backing up your WordPress site involves you taking the reins. While you might be a pro, there’s always a chance that you’ll forget a crucial step or miss an essential file.
One missed click or incorrect file path, and your backup could be utterly useless. You might not be able to restore your site after a crash, and you’ll lose all your hard work.
If you want a disaster recovery plan, you need to back up your site consistently. Manual backups happen on your schedule, which means you could forget sometimes.
Consistency is key to protecting your site. With automated backups, you can set it and forget it! Schedule regular backups, sit back, and relax, knowing your website’s safety net is always in place.
Anyone can manually back up their site with the right steps. However, there’s a much easier way that you might want to consider: backup plugins!
Duplicator Pro is the best WordPress backup plugin. This flexible tool ensures you won’t have to manually download your files and database. Instead, you can create full backups in your WordPress dashboard.
As a beginner, you can easily back up your website. Rather than searching through an FTP client for the right files, simply select the parts of your site you want to back up.
You’ll also be able to save your backup off-site in a cloud storage service. Here are all of the third-party storage options available with Duplicator:
Plus, Duplicator supports automatic backups. You can create hourly, daily, weekly, and monthly scheduled backups and start saving the right website data at the right time.
If your site ever crashes, you can restore a backup. Simply find a recent backup and hit Restore.
Unlike other backup plugins, Duplicator can handle large sites and WordPress multisite networks. It also simplifies migrations, making it easy to move to a new domain name, web host, or server without downtime.
Duplicator has a completely free version to help you with basic backups and migrations. We’d recommend upgrading to the Pro version for automatic backup options, cloud storage, and more!
You can do a manual WordPress backup by downloading copies of your site’s files and database. Your files will be accessible in cPanel or through an FTP client. To download your database, use phpMyAdmin.
To manually back up your WordPress site, access your hosting server’s control panel, navigate to the WordPress root directory, and download all its files. Export your site’s database through phpMyAdmin or a similar tool.
For restoration, compress your site’s downloaded files into a single zip archive. Then, upload the compressed file to your server and extract it. Next, create a new database and import the downloaded database file.
Finally, update the wp-config.php file with the new database details. You’ll also need to update the site URL settings via the WordPress dashboard or by running SQL queries on the database.
Backing up your WordPress site involves two main parts:
Together, these two backup files allow you to restore your WordPress site in its entirety in case of any data loss.
You can back up your entire WordPress site with Duplicator Pro. Select Full Site to save all of your plugins, themes, media files, WordPress files, and database tables. Then, download the complete backup or send it to cloud storage.
To export your WordPress site locally, build a local development environment with tools like XAMPP or MAMP. Then, use Duplicator Pro to back up your site. In the local site, import the backup and extract it. This will move a copy of your live WordPress site to a local host.
The best WordPress backup plugin is Duplicator Pro. This backup solution can compress your entire site into a single zipped archive file. Its flexible functionality can allow you to set up automatic daily backups, send backups to cloud storage, and even move your site to a new location.
Alternatives: UpdraftPlus, BackupBuddy, BlogVault, and Jetpack Backup (formerly VaultPress) can also back up your WordPress website. Backup tools like BlogVault or Jetpack offer real-time and incremental backups.
That’s it! You’ve just learned how to back up your WordPress site manually.
While you’re here, you may like these extra WordPress guides:
Do you want to save time and effort during your website maintenance? Download Duplicator Pro to easily customize backups, set up automatic backups, and even integrate cloud backup storage!
Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. We only recommend products that we believe will add value to our readers.