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
  • 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......
  • OPP OptionsOld Post Promoter "You down with OPP, yeah you know me!" The OPP, or Old Post Promoter, is a plugin designed for Wordpress by the Blog Traffic Exchange. The primary function of the plugin is its capability to promote older blog posts by reviving them and returning them to the front page and......
  • 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......
  • 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......
  • 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.......
Blog Traffic Exchange Related Websites
  • 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 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......
  • 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 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......
  • 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......
Online Stores