recover with the /go/recover Command

/go/recover brings back a deleted hosting account from its latest snapshot. It: The restore itself, including recreating the account, subdomains, mailboxes, and databases, is done by snapshot. See Restoring an account. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

/go/recover example.com

Arguments

Argument Required Default Notes
<domain> Yes — The deleted account’s domain, written in full and in lowercase. It is not normalized.

The command has no options.

Examples

# Recover a deleted account
/go/recover example.com

# Check the result
ls /home/example.com
/go/snapshot example.com list

# Follow-up: set a known password
/go/password example.com 'N3wS3cureP4ss'

# Restore a specific date instead of the latest snapshot
/go/snapshot example.com restore 2026-11-18

Output

Outcome What you get
Account is active (/home/<domain>/www exists) Can't recover an active account. Nothing else happens.
Restore succeeded The output of snapshot, then Account <domain> has been restored.
Restore failed Only the error output of snapshot, for example Archive latest does not exist. No further message.

The command always exits with code 0, including after a failure. The success message appears only if /home/<domain>/www exists after the restore. That makes success on MinIO servers invisible, because their snapshots hold /s3/<domain> instead.

The restored account gets a new random password, because the account is recreated from its saved settings by create. The login details are in the output and are emailed to the account’s email address. Set a known password with password.

Logging

Every run is appended to /var/log/go/recover.log.

See the full reference at /go/recover and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

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