Question

We have a wordpress site installed on cPanel in hostgator server. We want to remove it from our account because it is not updated from along time and we do not need it at this period. But we want to keep a backup in case we need it in the future.

Could you please tell me if it is enough to: 1\Export the DB from phpmyadmin. 2\Compress the files in cPanel and download them to my computer.

Is there any more steps to backup our wordpress?

And when we need to restore it the steps should be: 1\Upload the files to cPanel. 2\Create DB in phpmyadmin and import the DB.

Is there any more steps to restore our wordpress?

Thank you

Was it helpful?

Solution

That about covers it. The only thing you need to be careful of is if the domain changes, or you plan on re-installing everything to a different directory or subdomain.

If the URL changes in any way, that change needs to be reflected under the wp_options table under the site_url option after importing your database. Updating this value to the new URL will allow you to get back into wp-admin, and all bloginfo calls will accurately reflect the new information.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top