ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Technology»
  • Internet & the Web»
  • Web Page & Web Site Development

How to Backup Wordpress Content and Format - Made Easy

Updated on August 15, 2012
AskJoanne profile image

Joanne Marcinek is a woman with a mission. Her passion is to help people get the relevant information they need on the Internet.

Choosing a Backup Method for Wordpress

Backing up Wordpress is a very important task to know how to do. Updates for Wordpress come out very frequently and each update has the potential to cause problems with your setup, plugins or other parts of your website or blog. Unfortunately my initial research indicates that there is not one single automated backup and restore program that can do it all with one step. I found an article online at (http://www.carefulcash.com/the-3-best-backup-solutions-for-a-wordpress-blog/) that reviews several backup programs for Wordpress.

I tried using the Xcloner, which overall was fairly easy, but did require some technical knowledge of your site setup at the hosting account and the ability to create a special directory. Once I did that, the backup process was very easy, however, I had a great deal of trouble figuring out the restore procedure. It seems that Xcloner is mostly used for moving a blog from one website location to another, which was not what I wanted to be able to do.

There are premium (read "paid") services that you can use for Wordpress backups, but being frugal person, I am always looking for a free way to get done what I need done.

The Careful Cash article indicates that using two different backup programs, while a little bit of a hassle, is actually the easiest solution for backing up both your website content and your format/setup. Backing up both areas are important because while saving your site content (your page content and your blog posts) you also need to be able to backup the formatting and style options you’ve created for your site. If you chose one of the available templates and do not customize it all, updating will be easy and straightforward. However, in most cases your website will have been modified from the original template and will need to be restored in the case that any site upgrades affect your template setup.

Source

Installing a WordPress Database Backup Plugin

The first plugin we're going to install is WP-DB-Backup, which is used for backing up the Content of the blog/website. Go to Plugins > Add New and search for WP-DB-Backup. Install the new plugin and then activate it.

Once the plugin is installed and activated, you can access it by going to Tools > Backup. The top of the screen shows you the parts of the blog/website that will be backed up, the second section gives you options to download the backup, have it emailed to you or have it saved to a directory on your site server. You can also schedule a backup to be completed daily, weekly or monthly and emailed to you.

Installing a Wordpress Site Backup Plugin

As mentioned earlier, the WP-DB-Backup plugin backs up only the CONTENT of the site and not the site setup and structure. This next plugin will backup the site structure and setup in case you ever need to restore those settings.

Follow the same procedure for installing a new plugin, Plugins > Add New and search for Wordpress Backup Plugin (the one recommended is by Blog Traffic Exchange.) This backup plugin is accessed via Settings > Wordpress Backup and does require certain site directories and files to be in place.

Wordpress Backup Options
Wordpress Backup Options

Wordpress Backup by Blog Traffic Exchange Settings

According to the initial settings screen, I have nearly all the appropriate directories already in place, the only item requiring attention is the addition of an .htaccess file in the backup directory they recommend: /var/www/html/wordpress/wp-content/bte-wb.

The link for more information on the .htaccess file brings you to a page on the Blog Traffic Exchange site with additional information on what needs to be in the .htaccess file.

Installing the plugin creates the backup directory on your site for you, all you need to do is add an .htaccess file with the code below to that directory. This can be done using the control panel at your site's hosting account.

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} .*bte-wb/.*
RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$ [NC]
RewriteRule . - [R=403,L]
Options All -Indexes
Wordpress Backup Options
Wordpress Backup Options

Once you've uploaded the .htaccess file as written, all the settings are in place for your backup. This plugin backups everything auto-magically and can be set to backup hourly, daily or weekly. At the top of the Backup settings page are the links that allow you do download your backups. The default settings have the backups created and saved at your hosting account, but for safety purposes, you should download these backups periodically to your computer hard drive or even to disk.

How to Backup Wordpress - Conclusion

So, now we have in place two plugins to handle the entire backup process for your Wordpress site. One to handle all your content, the other that backs up your uploaded images, your theme (and any modifications you've made to it) and your plugins.

Unfortunately I discovered that the restore procedures are not quite as easy and straightforward as the backup procedures (they require a bit more technical know-how), but I will create subsequent "How to" Hubs for how to restore your backups should disaster strike.

Comments

    0 of 8192 characters used
    Post Comment

    No comments yet.

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: "https://hubpages.com/privacy-policy#gdpr"

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)