BlogHow-toMultisite

How to back up and restore a WordPress multisite network with Restora Pro

A network is backed up site by site: what the main site’s backup and another site’s backup each contain, “All sites” as one set, schedules on a network, restoring one site or the whole network, WP-CLI --site, and what the free plugin does on a network.

3 min readPerforks

A WordPress network with a main site and its sites backed up one by one

A multisite network shares one database and one user table between sites that otherwise belong to different people, so “back up everything and restore everything” is rarely what anyone wants. Restora Pro backs up and restores a network site by site. The free plugin recognises a network and stops: “Multisite networks are backed up site by site with Restora Pro. The free plugin does not back up a network.”

What each backup contains

Backup ofTablesFiles
The main siteIts own tables, the network tables (blogs, blogmeta, site, sitemeta, signups, registration_log) and the whole users and usermeta tablesEverything (WordPress, plugins, themes, its uploads) except the other sites' uploads under uploads/sites/
Another siteThat site's own tables, plus only the rows of users and usermeta that belong to itOnly its uploads folder, uploads/sites/<id>/

So the main site's backup is the network itself, and every other site's backup is self-contained for that site.

Make a backup

Go to Network Admin › Restora (Restora lives in the network admin, for network administrators). The create form has a Which site? list:

  • All sites (12), one backup each, as a set: one archive per site in one set, main site first. “Separate files” per part is not offered on a network.
  • Main site · name · address.
  • Site 7 · name · address, and so on for every other site.

Archive names carry the site id, for example restora-full-s7-20261029-030000-….zip, and the list has a Site column. From the terminal, wp restora backup --site=7 or --site=all; without Pro the command answers “No site with that id on this network, or Restora Pro is not active (backing up the sites of a network needs it).”

Schedules on a network

A scheduled backup on a network is always the whole network: at the chosen time every site is backed up one after the other, in one set. Retention counts sets as usual.

Restore

  • Restore one site: press Restore on that site's backup. Only that site's tables and uploads are replaced, and its users are merged into the shared user tables, so users added to the network since the backup are kept and no other site is touched. Addresses are rewritten to that site's own address.
  • Restore the whole network: restore the set, main site first. Each site is checked and swapped in one step.

Restoring works with or without a licence: a backup made by Pro must always come back. Making backups is what needs the licence.

Move a network

Move to another server in the network admin always takes every site, one file per site, plus the installer. Upload all the files to the new server; an incomplete set is refused (“The network backup of … is not complete here (sites missing: …). Upload every file of the set, then reload.”). The installer installs the main site first and then the others, and moves every address: sites in folders follow the network to its new folder; sites on subdomains (shop.old.com) become subdomains of the new domain (shop.new.com); a site with a domain of its own keeps it. A network of subdomains has to live at the root of its domain, and every subdomain has to point at the new server (a wildcard DNS record) and be covered by the certificate. The general procedure is in moving a site.

Licence and permissions

A network counts as one site on the licence; add the network's address. Only network administrators (manage_network_options) can use Restora on a network, unless the restora_capability filter says otherwise.