Announcing Duplicator WP-CLI Commands (And How They Speed Up Backups)
Announcing Duplicator WP-CLI Commands (And How They Speed Up Backups)
Every sub-site on your Multisite is connected. So if one ever goes down, the others might too.
Backups are your lifeline. They’re the failsafe that can restore your WordPress Multisite network when things go wrong.
But backing up a Multisite isn’t like backing up a single WordPress installation. It’s more complex, so many traditional backup methods fail.
In this tutorial, we’ll show you how to back up WordPress Multisite! You’ll be ready to protect your entire network at all times.
If you manage multiple WordPress websites, you might want to consider setting up a Multisite network. Essentially, this will allow you to control different WordPress installations from a single dashboard.
In a Multisite, there will be one main site with many subsites in its network. These will be either subdomains or subdirectories.
Like with any website, it’s important to back up a Multisite network. Since all of your sites are connected, a cyber attack will affect every subsite. To boost your security, create frequent backups.
A backup is a saved copy of your WordPress database and files. Having a backup will ensure that you can restore your network after any devastating errors, hacks, data loss, or other problems.
Usually, the easiest way to back up a WordPress site is to install a backup plugin. Unfortunately, not every plugin is compatible with network setups.
Many WordPress backup plugins aren’t built to handle Multisite networks. Rather than just backing up a single site, it’ll have to save data from multiple subsites. You can add as many subsites as you want, so this means there may be hundreds or even thousands of websites to back up.
It can be challenging to back up a Multisite, but it’s not impossible. By finding the right plugin, you can easily create backups for your entire network. This will ensure that every subsite’s data is secure.
For a Multisite backup, you don’t have to manually download each subsite’s database and core files. Let’s walk you through an easier way to back up your network!
As we mentioned earlier, not every plugin is capable of handling Multisite networks. Fortunately, Duplicator is a powerful backup solution that is perfect for this task. With Duplicator, you’ll be able to migrate, clone, and back up a WordPress Multisite.
To get started, you’ll need to choose a subscription for Duplicator Pro. Although there is a free version of the plugin, Duplicator Pro adds support for Multisite.
After your purchase, be sure to copy your license key. Then, open your network administrator dashboard. Here, go to Plugins » Add New and upload Duplicator.
Now head over to the Installed Plugins page. Underneath Duplicator Pro, hit Network Activate.
Lastly, visit Duplicator Pro » Settings » General. Be sure to paste the license key that you copied earlier.
After this, Duplicator Pro will be fully set up!
For the next step, you’ll save all of your network’s data into a single zip file. This can easily be saved as a backup or migrated to a different location.
To create a backup, navigate to Duplicator Pro » Backups » Add New.
At the top of the page, name the backup. You can use dynamic tags like your domain, site title, the current month, year, and more.
By default, Duplicator will save backups on your local server. However, you can use any of the following storage locations.
One part of the backup is the archive file. This contains all of the files and database tables for your WordPress network.
If you want to exclude an individual site from the backup, click on the Multisite tab.
To remove a subsite’s data from the build, move it into the Excluded Sub-Sites box. Don’t make any changes if you want to completely back up your entire Multisite network.
After you hit Next, Duplicator will scan your Multisite network. Review any notices before building your backup.
To save your backup, go to the Backups page and hit Download » Both Files.
This will save both the archive and installer files to your computer. If you can’t access your dashboard, you can upload these manually to cPanel or a File Transfer Protocol (FTP) client.
One easy way to restore a saved backup is to set a disaster recovery point. Put simply, this will tell Duplicator that you want to restore your website to a certain point.
Unlike other WordPress backup plugins, Duplicator Pro gives you a recovery URL. You can use this even if your website is down, ensuring you can get your site up and running after an unexpected error.
To set disaster recovery, you’ll need a complete backup that’s stored locally. If it is, you can click on the disaster recovery icon.
Then, continue setting disaster recovery.
After this, either copy the recovery link or download the launcher. Whenever something goes wrong on your WordPress website, paste the link into a browser window. Alternatively, open the launcher file.
To restore your Multisite, simply follow the step-by-step recovery wizard. This allows you to access an error-free version of your network again!
We’d recommend backing up your network regularly to prevent any unexpected errors or hacks.
Although you could create manual backups every time you need one, this can waste your time as a network admin. Often, a better solution is setting up an automatic backup schedule.
Having automated backups gives you a hands-off security solution for your network. You can sit back and allow a backup plugin like Duplicator to handle your backups on a pre-set schedule.
To automate your backups, find Duplicator Pro » Schedule Backups » Add New.
Name your new backup schedule. Next, feel free to select a Backup Template or create a new one. This simply customizes what data is saved in the backup.
Now you can choose where your backups will be stored. Next to Storage, you’ll see all of the storage locations you’ve already enabled.
Once you select a storage location, you can set a time for your schedule. First, choose between hourly, daily, weekly, or monthly automatic backups.
Lastly, select a custom Start Time. This will start the backup process whenever you’d like.
At the bottom of the page, check the box next to Enable this schedule. Then, save it.
Now Duplicator will automatically create new backups on its own! You won’t have to worry about losing any data from your network.
A backup plugin like Duplicator offers the most convenient way to back up your multisite. However, you have a few other options.
Most web hosting providers automatically back up WordPress sites. Check with your web host to see if they provide this service.
Keep in mind that web host backups are stored on your server. This can limit your storage space and even slow down your network. Plus, you might lose backups after any downtime or server errors.
For those who prefer a hands-on approach, you can manually back up your multisite. You’ll need to download your entire WordPress directory via FTP or a file manager. To back up your database, export it using phpMyAdmin.
No matter which method you choose, remember to create backups regularly. This secures your network and gives you peace of mind!
The best way to back up WordPress Multisite is to install a backup plugin like Duplicator Pro. This tool allows you to create full backups of your network. You can even migrate subsites out of your network as standalone new sites.
Alternative: UpdraftPlus is another plugin that can back up or migrate WordPress Multisites. However, you’ll only be able to back up one subsite at a time. Plus, you can’t restore your network all at once.
You can move a single WordPress site into a Multisite network by creating a Duplicator backup on the original site and downloading the generated archive file. Then, open your Multisite network and go to the Import page. Drag and drop the single site’s archive file into the import box and follow the step-by-step wizard to complete the installation.
For more details, check out our guide on how to migrate WordPress multisite!
You can back up your WordPress site manually by downloading your root directory with an FTP client or cPanel. Using phpMyAdmin, export your database. Save both of these files in a safe location so that they can be reuploaded to your server in the case of an emergency.
To export a WordPress multisite, start by installing Duplicator Pro. Then, create a backup and include all of your sub-sites.
Finish building the backup and download it. This will fully export your multisite as a zipped archive file. If you need to migrate your multisite, simply upload this file and the installer to a new server.
You’ll now have everything you need to back up your Multisite!
While you’re here, I think you’ll like these extra WordPress tips and tricks:
Are you looking for a backup plugin that can handle Multisite networks? Download Duplicator Pro to easily create manual and scheduled network backups!
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.