WordPress Backup

WordPress Backup is an essential plugin for all WordPress blog administrators by the Blog Traffic Exchange. It performs regular backups of your upload (images) current theme, and plugin directories. Backup files are available for download and optionally emailed to a specified email. Don’t get caught without a recent backup of your theme or images or plugins.

If you get a blank screen please make sure…

  1. You are using the latest version: Plugin Zip.
  2. You are using php5 (php4 has reached end of life and is no longer supported).
  3. Modify the permissions of the bte-wb backup folder to be 755 (switch the permissions from 777 to 755 or visa versa)

You can adjust the interval between backups and the email address to which the backups are sent.

Please note that as the size of the zip files increase, it may not be possible to email the files due to limitations of email servers.

It is also essential to backup your wordpress database. There are many excellent options for wordpress database backup… Blog Traffic Exchange recommends: WP DBManager

Installation

  1. Download
  2. Unzip
  3. Upload Folder to WordPress Plugins Folder
  4. Activate Plugin — If you get a blank screen please see instructions above.
  5. Adjust Options if needed.
  6. Add an htaccess file to you backup folder (bte-wb folder). Here is what I have in mine. This is simply a filename “.htaccess” with the following contents (hat tip to Wendy).

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

Troubleshooting

  • If you get a blank screen please modify the permissions of the bte-wb backup folder to be 755 (switch the permissions from 777 to 755 or visa versa)
  • Upgrade to 1.8.0
  • If you have trouble using the automatic plugin upgrade feature, please deactivate plugin prior to upgrading.
  • If plugin causes memory error please make sure php.ini set memory to 64M in wp-admin folder.
  • If plugin options page to make sure directory locations and permissions are set correctly.
  • If you have any other problems please email me at kevin @ blogtrafficexchange dot com.

The zip process is memory intensive and will fail if there is not enough memory allocated to php. Make sure you have enough memory allocated add this line to your php.ini files in the blog root and the wp-admin folders.

memory_limit = 64M

I have it installed and tested on Bluehost.com, DreamHost.com, Midphase.com, Hostgator.com, 1&1, and GoDaddy.com across 30+ sites… The only problems I ran into were not enough php memory to email the file via the chunk_split(base64_encode(file_get_contents(....

If you run into errors with 1.8.0 or higher please email me at kevin @ blogtrafficexchange.com with as many details as you can.

If your screen goes blank or you notice other irregularities after activation delete the plugin folder via ftp. This will remove the plugin.

Options

  • Interval — The interval between backups.
  • Email — The email address to which the backups are sent.
  • Delete File — Remove File after email sent.
  • Backup Directory — The directory to store the backups. Must exist and be writable.
  • Backup URL — The url to the directory where the backups are stored.
  • Uploads Directory — Path to uploads directory.
  • Plugin Directory — Path to plugin directory.
  • Theme Directory — Path to theme directory.

Download

Donate



Recovering from Disaster

So the worst has happened, but since you use this plugin you have a backup of your database, plugins, themes, and images folder. Now what? How do you get your blog back?

  1. Make sure you are comfortable with your current host. Since you are going to go through the effort to restore your site, if you were contemplating a move to a different hosting provider now is the time to act.
  2. Download the latest copy of wordpress.
  3. Copy the worpdress files into the desired folder location on your host. (I use the domain root, but subfolders are sometime appropriate depending on your desired setup.)
  4. Copy the theme, plugin, and images backup files into the correct locations. Respectively, the defaults are wordpress_root/wp-content/themes, wordpress_root/wp-content/plugins, and wordpress_root/wp-content/uploads
  5. Restore your database to a new database using your hosts appropriate tools. I usually use cpanel and phpmyadmin, but sometimes the database is too big and I need to use bigdump. Take note of the database location, database name, database user, and database password.
  6. Edit the file wordpress_root/wp-config.php and enter the values from the previous step.
  7. Is everything working? Do your victory dance.
  8. Donate
  9. Still having problems? I am available to help. If it is something easy or something I left out of the above instructions then I will help for free. Otherwise, assuming you have valid backups I can restore your site for $400 given the proper access.
Wordpress Backup Options

Wordpress Backup Options

Change Log

  • 12/31/10 – 1.8.0 – Fixed 2 WSOD issues. 1. Do not backup if a backup is in
    progress, which limits the WSOD to the thread creating the backup. 2. If not running in safe mode. Extend the timeout of the backup thread. This will allow for large directories to be backed up.Adding closing php brace and setting link.
  • 12/29/10 – 1.7.1 – Adding closing php brace and setting link.
  • 5/17/10 – 1.6.4 – Added option to delete the file from Server.
  • 7/12/09 – 1.5 – Tested and Confirmed on WordPress 2.8.1
  • 01/07/09 – 1.4.5 – Better Reinsituted automatic backup folder creation.
  • 01/07/09 – 1.4.4 – Better Handling of file and directory permissions.
  • 01/07/09 – 1.4.3 – Fixed location of pclzip lib in wordpress hierarchy.
  • 01/07/09 – 1.4.2 – Added bakup url option exposure. If plugin/upload/theme directory doesn’t it will not be backed up.
  • 01/07/09 – 1.4 – Added the various folder paths as options and check their existence and permissions via the options panel.
  • 01/06/09 – 1.3 – Using the worpdress pclzip class from wp-admins/includes. If it doesnt exist then using the packaged version. This fixes upgrade issues noticed from 1.1 to 1.2.
  • 01/06/09 – 1.2 – Added Plugins Dir. Fixed some memory issues. Release to wordpress plugin dir.
  • 01/05/09 – 1.1 – Release to public.

Originally posted 2009-02-05 20:30:06. Republished by Blog Post Promoter

Blog Traffic Exchange Related Posts
  • toolsMust Have Blogging Tools Blogging has developed a serious place for itself in the internet community for many different purposes including personal use and business uses. As a result, it has evolved into becoming a truly essential tool for people who want to build communications, deliver up to date news and information and otherwise......
  • blog traffic exchangeFinding the Best WordPress Plugins for your Blog WordPress originally saw the light of day in 2003, and is now being used on thousands of different websites in countries all over the world. WordPress is designed to be a simple open source blogging tool that can be taken advantage of in two different ways: You can either take......
  • blogging10 Steps to Start a Blog Is this your first time starting a blog? Here is a ten step checklist for starting your own blog. 1 - Choose a subject - Determine what it is that you want to blog about. You need to have a concept before you can start writing about, so that you......
  • BlogCopyight OptionsBlog Copyright Blog Copyright is a simple wordpress plugin by the Blog Traffic Exchange. It injects a copyright notice into the blog footer. You can see it in action on this very site. The copyright notice automatically updates the year range as time goes on removing the need to ever revisit your......
  • ladderDriving Traffic to Your Blog Many blog owners spend a good portion of their time trying to figure out how to generate traffic to their blog. This is especially true when it comes to a brand new blog that is not yet really rich in meaningful and effective content. Generating visitor traffic to your blog......
Blog Traffic Exchange Related Websites
  • SEO for WordPress: Top 5 SEO PluginsSEO for WordPress: Top 5 SEO Plugins SEO for WordPress is a very important issue for bloggers. Why? Firstly, because WordPress is the serious bloggers' platform of choice. Secondly, SEO or search engine optimisation means lots of free, highly targeted traffic to your blog. For those reasons I have put together this list - my top......
  • blog traffic exchangeProfessional Blogging Roundup - Twitter Tools and More Welcome, welcome. Here's another roundup of what's going on around the blogosphere on blogging. Lots of Twitter tools and tips in this edition, be sure to check them out. Corporate Here are some Blogging Tips For Business Owners over at Best News Small Business Today. CIO Insight presents Robert Scoble......
  • blog traffic exchangeHow To Adjust Web Hosting Devoid Of Downtime I am positive that if you are visiting this page, you will be interested in change web hosting. Changing from a single internet hosting provider to a different can cause downtime if you do not have the necessary abilities and experience. Here is a step by step guide to aid......
  • shh3 Topics to Not to Write About on a Corporate Blog So many advice columns, tips and books focus on what you should talk about on your corporate blog, but few ever go into things that you should not talk about. While it is important to focus on the positive, you also need to be aware of some common mistakes that......
  • blog traffic exchangeD-Link Announced 2 new 2-Bay Network Storage Devices Two new Network Storage Devices from D-Link D-Link today announced that its ShareCenter® 2-Bay Network Storage devices, the DNS-320 and DNS-325, are now available. Building off of the successful DNS-321 and DNS-323, the new DNS-320 and DNS-325 provide centralized storage, enabling consumers to easily share documents, files and digital media......
Online Stores