Restoring a backup
Updated
On this page 8 sections
Daily backups on paid plans and the trial, encrypted and kept off-site for 30 days. Download from Care the newest backup that passes its check and restore it with our step-by-step guide. This guide describes how backups work today, and it changes when they do. Restoring is done by hand in this version: you download the backup and put it back yourself, with these steps. After a restore, connect the site to Care again (step 6): a backup never holds the connector's keys, so the restored site is not connected and not backed up until you do.
What a backup holds
- database.sql: every database table whose name starts with the site's table prefix (for example wp_). Each table is dropped and created again, then filled.
- wp-content/uploads, wp-content/themes and wp-content/plugins: the files, exactly as they were.
It never holds wp-config.php (or any file with wp-config in its name), .env files, private key files, log files, other database dumps and other backup plugins' archives, anything outside those three folders, or tables from other software that share the database. Keep your own copy of wp-config.php: you need it to restore.
If Care marks a backup as partial, some files or folders on the site were left out: a link to another folder, a folder the site could not read, or a name Care cannot store (one with a backslash or a control character in it). Care shows how many on the site's page. They are not in that backup.
On a multisite network, backups are allowed from the network's main site and hold the whole network.
Care makes a backup once a day for sites on a paid plan or a trial, while the site's admin allows it, and keeps each one for 30 days. To allow it: in Care, open the site and choose Show backup key; in WordPress, open Settings > AccessDossier Care, paste it as the backup key and tick Allow backups (connector 0.2.0 or later). The backup key is a different key from the connection key and only lets Care make backups. Every backup is encrypted before it is stored.
1. Download
In Care, open the site and choose Download backup. You get one file named like care-backup-example.com-2026-11-11.tar: the site's address, then the day the backup was made. Before you restore, check that the address in the file name is the site you are restoring. Care checks the backup before the download starts (for a backup over 512 MB it checks the list first, then each part just before it is sent, and stops the download if a part fails). If the newest backup fails that check, Care says so and offers the newest one that passes instead.
If a download stops partway, do not use the file. Try once more: a slow connection can stop a large download. For a backup over 512 MB Care checks each part as it sends it, so a damaged part also stops the download. If it stops again, email hello@accessdossier.com.
Open the .tar file. On a Mac, double-click it. On Windows 10 or later, run tar -xf care-backup-example.com-2026-11-11.tar in a terminal. On Linux, run the same command. You get database.sql and a wp-content folder.
2. Make a copy of the site as it is now
Before you change anything, ask the host for a snapshot or copy the current files and database. If the restore goes wrong you can go back. The import in step 4 deletes and rebuilds every table it holds, so when you can, restore into a staging copy first and check it there.
3. Put the files back
- Connect to the site with SFTP or the host's file manager.
- Upload the backup's wp-content/uploads, wp-content/themes and wp-content/plugins folders over the site's own, replacing what is there.
- Leave wp-config.php as it is.
4. Put the database back
With WP-CLI (if your host has it), from the site's folder:
wp db import database.sqlOr in phpMyAdmin: choose the site's database, open Import, choose database.sql and click Go. Very large files may need the host's help or WP-CLI.
The table prefix in wp-config.php must match the one in the backup (the start of each table name in database.sql).
5. If the address changed
Restoring to a different address (a staging copy, a new domain)? After the import, replace the old address with the new one:
wp search-replace 'https://old.example.com' 'https://new.example.com' --all-tables6. Check the site
- The backup leaves out the connector's keys, so reconnect: in Settings > AccessDossier Care, paste the connection key (made with New key on the site's page in Care) and the backup key (Show backup key), then tick Allow backups again.
- Sign in to WordPress and open a few pages, including one with images.
- Go to Settings > Permalinks and click Save once, so links work.
- Clear any cache plugin and the host's cache.
Need help?
Email hello@accessdossier.com with the site's name. Never send us a password.