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......
  • 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......
  • doublesSimple Tips for a Popular Blog Blogs are, hands down, one of the easiest possible ways for you to publish your thoughts or messages on the internet. Blogs are excellent for spiking search engine enthusiasm, meaning that by writing in a blog you can easily attract plenty of traffic. But are you aware of what you......
  • traffic10 Benefits of Hosting your Own Blog If you want to create an edge over many of the other bloggers on the web, then one of the best things that you can do is host your own blog. There are a number of benefits of hosting your own blog over having some other service host your blog.......
  • 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......
Blog Traffic Exchange Related Websites
  • Simply Something Sophisicated - a Wordpress posterThese Wordpress Plugins May help Wordpress Plugins You May Need Image by teddy-rised via Flickr I have been asked many different times from new bloggers what plugins they should use. I think a big part of it comes down to personal taste.  While there are some essentials many of them are just add-on plugins......
  • blog traffic exchangeHow To Optimize Your Wordpress Blog For Better Performance If you're using shared hosting for your wordpress blog chances are your blog might poorly perform due to minimal resource allocated to each user. And once your blog started to get a good amount of traffic things can get worse, which can lead to slow page load and will increase......
  • guest author5 Reasons To Allow Guest Post In Your Blog Blogging involves lot of work and content generation is one of the hardest part in blogging. It definitely requires to dedicate time and energy, more important you must be passionate about the topic you write, so that you could continuously flood with useful content. As an individual running a blog,......
  • blog traffic exchangePremium WordPress Themes - How Are They Greater Than Cost-free Themes? I am positive that if you are visiting this page, you will be interested in genesis theme framework. WordPress has year following year develop into a lot more and a lot more well known. There are many solutions and providers that present premium assistance and solutions such as custom theme......
  • top wordpress pluginsTop WP Plugins For Your New WordPress Blog WP plugins are the lifeblood WordPress blogs. If you aim to boost traffic to your blog by way of SEO, or if you want to block spam comments, you are likely to get the correct plugin for you from the WordPress plugin repository. However, it can be intimidating to try......
Online Stores