Editor’s note: The following article is curated from the GoDaddy community. We’ve made some light edits for formatting and clarity. Looking for help with GoDaddy products or getting your business online? Join the community to get answers from other GoDaddy customers.
When you have a WordPress site, backing up is important. What’s cool is it is actually easy to do thanks to WordPress plugins and it’s structure.
Tip: Before updating WordPress or any themes or plugins or want to do a thorough backup.
There are many backup plugins and services to choose from. I use WP-DBManager and have it set to backup automatically once a week.
You can set backup plugins to backup as often as you like to your server. Even if you automate this process you want to make a point of manually downloading a copy of that backup off your server.
If your host has issues, what good is having your backups stored there? I do so every Friday. If your server crashes you then have a copy on your local computer or external hard drive.
Manually downloading critical files
You can download important files through your web hosting control panel. Another option is using FTP. What should you download?
1. Download the entire “wp-content” folder off your server. This folder is the heart of your WordPress site, containing all of the themes, plugins, and media uploads on your site.
2. From your root directory (which is usually public_html), download a copy of your .htaccess, robots.txt and wp-config.php files. These contain important configuration settings for your website.
3. Go to your backup folder and download a copy of that database file. This may be saved as a .sql or .gzip file, depending on your backup settings. The database backup contains all of your site’s content and settings that are stored in the database.
4. Last but not least, go back into your WordPress dashboard and go to Tools > Export and download your WordPress XML file. This is similar to the database backup in that it contains your content, posts, and pages.
How often you go through the above steps depends on how often you add content to your site and how cautious you want to be. The more often you add content the more often you’ll want to to backup.
Get the above in place and if you ever have to go through the grief of having to restore your site, you’ll be glad you did!
WordPress Hosting from GoDaddy includes automatic backups and one-click backup restores. Find out more about GoDaddy’s WordPress Hosting plans.
Already a WordPress Hosting customer? Sign in to work on your site.
Also published on Medium.