How to Restore a GoAdmio Backup for One Addon Domain (Partial Restore)

One site in the account broke; the other five are fine. A full account restore would fix the patient and harm the bystanders. Here is the surgical approach on GoAdmio: restore only what belongs to the one addon domain.

What “partial” really means

A full backup is one archive of everything. Restoring one domain from it is a manual extraction: pull the domain’s files and its database from the archive, and leave the rest of the account untouched. The tools for the job are the File Manager or SSH for files, and phpMyAdmin or the SQL importer for data.

Step 1: Get the archive onto the server

Upload the backup archive somewhere outside any document root, or fetch it from your remote backup storage over SSH.

Step 2: Extract the domain’s files

  1. Unpack the archive into a temporary directory.
  2. Locate the addon domain’s document root inside the backup (addon domains live in their own folders under the account).
  3. Move the current, broken document root aside (rename it, do not delete it yet), then copy the backed-up version into place.
  4. Run Accounts & Plans » Fix Permissions so ownership and modes are right.

Step 3: Restore the database if the app needs it

Files alone fix hacks and deleted uploads, but not corrupted data. If the site uses a database, find its dump in the archive and import it over the current one via Databases » phpMyAdmin or the SQL Importer. Confirm the site’s config file points at the same database name and credentials.

Step 4: Verify, then clean up

Test the site thoroughly. Only when it is healthy, delete the temporary extraction folder and, a few days later, the renamed broken copy. Keep the backup archive.

Partial restores are fifteen minutes of care that save the working sites from collateral damage. More in the docs and at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *