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 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 modify the permissions of the bte-wb backup folder to be 755 (switch the permissions from 777 to 755 or visa versa)
  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.

    <Files ~ ".*\..*">order allow,deny
    deny from all
    </Files>

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.6.4
  • If you have a version prior to 1.6.4, please deactivate plugin prior to upgrading.
  • 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.6.4 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

  • 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
  • blog traffic exchangeReview of WordPress Plugin Development One of the most well known publishers around the globe right now is Packet Publishing, and thy specialize in the development of CMS web applications and open source technologies as well. CMS stands for content management system, and WordPress is an example of what a CMS is capable of. Packet......
  • wp1Installing a WordPress Blog If you want to install WordPress on your own server, the first step is to download the necessary files from the website at WordPress.org download. Next, you will use an FTP program to upload the files to your host site. If you use Cpanel, you can use Fantastico in order......
  • gbdHow to Relocate your Wordpress Blog to a New Domain Name Making the decision to move my blog from http://www.courseladder.com to http://www.golfballdriver.com was a big one, and a good one, and it taught me a lot about learning how to relocate your Wordpress blog to a new domain name under the same hosting provider. Course Ladder suited me for a while,......
  • linkPermalink Structure without Dates The structure behind WordPress is generous enough to allow for built in SEO advantages which come with building pages that static web page building and other blogging software cannot afford you. By using WordPress, you already have an advantage over bloggers, but only as long as you are willing to......
  • blog traffic exchangeClick to Call Adding click to call (click2call) capability to your blog will enable users to call you directly from your website. Clients, buyers, or shoppers no longer need to leave your website or even their computer to initiate a phone call. There are settings to control the looks and feel of the......
Blog Traffic Exchange Related Websites
  • http://Restore Wordpress Database How to Restore your Wordpress Database The easy and secure way, using phpMyAdmin. A good backup copy of your database can be Restored simply, even if your current database has been corrupted! Required for phpMyAdmin Restore of Wordpress database Hosting Control Panel access, like cPanel or Plesk, including username and......
  • wordpressWhat You Need From a WordPress Hosting Company Wordpress has taken over the world of websites and blogs, creating a simple and easy way for individuals get information out into the world of the Internet. The system gives users an incredibly easy platform to create the blogs, information, and news sites that they need to be successful. The......
  • wordPressWordPress fans: Plugins you can live with! With so many plugins popping up left and right for WordPress nowadays, it is a jungle out there!   You like a plugin, download it,  install it and activate it only to end up with a mesh of My SQL lingo on your blog front page and every post! You......
  • Top 50 Tools For The WordPress AdminTop 50 Tools For The WordPress Admin [/caption] Running your Wordpress blog can feel like a full-time job sometimes. We’ve compiled an A-Z list of more than 50 plugins to help you streamline everything you need to do out back. As with any plugins list, don’t install them all at once! 404 Notifier – Gives you a......
  • 25usefulwpplugins25 Useful WordPress Plugins that I Personally Use A lot of sites I see advocate WordPress plugins, but do not actually use the plugins they claim as "essential" or "needed". Here's a list of 25 WordPress plugins I personally use. After The Deadline Adds a contextual spell, style, and grammar checker to WordPress. Write better and spend......
Online Stores