Restoring a backup is essential if your site has been compromised or encountered a major issue. Here’s how to restore a WordPress backup:
- Using cPanel Backup:
- If you’ve created backups in cPanel:
- Log in to cPanel and go to Files > Backup.
- Under Restore a Home Directory Backup, click Choose File and select the backup file.
- Click Upload to restore the backup.
- If you’ve created backups in cPanel:
- Using a Plugin (e.g., UpdraftPlus):
- If you’ve used a backup plugin like UpdraftPlus:
- Go to WordPress Dashboard > Settings > UpdraftPlus.
- Click the Restore button next to the backup you want to restore.
- Select the components to restore (files, database, plugins, etc.).
- Click Restore and wait for the process to complete.
- If you’ve used a backup plugin like UpdraftPlus:
- Manual Backup Restoration:
- To manually restore your website:
- Use FTP to upload the backup files to your public_html directory.
- Import your database backup using phpMyAdmin. Select your database, click Import, and choose the .sql backup file.
- Once uploaded, your site will be restored.
- To manually restore your website: