Restore a file or directory
Open File and Directory Restoration
Log in to cPanel through your client area or at
yourdomain.com/cpanel. Go to Files and click File and Directory Restoration.Find the file or directory
You have two options:
- Browse — Select Browse files and directories and navigate through your home directory to find the item you want to restore.
- Enter a path — Select Enter a path and type the path relative to your home directory (e.g.
public_html/wp-config.phporpublic_html/images).
What you can and cannot restore
| Can restore | Cannot restore |
|---|---|
| Any file or directory in your home directory | The mail directory |
| Individual files (e.g. a single PHP file) | The .cpanel directory |
Entire directories (e.g. all of public_html) | MySQL databases (use the Backup interface instead) |