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.

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
  5. Adjust Options if needed.

Troubleshooting

  • Upgrade to 1.4.5
  • If you have a version prior to 1.4.3, 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 32M 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, 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(.... Readers have tested and confirmed 1 and 1 (Tom B.’s Rambles). Any others, be the first to tell me and get credit…

If you run into errors with 1.4.5 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.
  • 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 $200 given the proper access.
Wordpress Backup Options

Wordpress Backup Options

Change Log

  • 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
  • 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......
  • blog traffic exchangeTwitter Hashtags Twitter Hashtags are a way to add searchable tags to your posts. How? just add a hash (or pound sign) in from a word. In most twitter interfaces this results in a link to search twitter for other posts with the same tag. Using a hash is also a way......
  • 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......
  • tweetRelated Tweets Using your blog as the seed, find quality content from the Blog Traffic Exchange and tweet it automatically. Provide your followers with interesting and relevant content within the niche of your blog. Supplement your twitter account with quality content related to your blogging niche using the our powerful content search......
  • Download the Related Websites PluginRelated Websites Welcome to the power of relevant chaos. The Related Websites plugin is the latest to come from the labs of the Blog Traffic Exchange. The Related plugin has been built by a blogger for the benefit of fellow bloggers everywhere. There is no advertising present on member blogs - only......
Blog Traffic Exchange Related Websites
  • Maurice Snell On TwitterWordpress Plugin - Tweet My Blog For Twitter Users Wordpress and Twitter users will be interested to know that a new Plugin called Tweet My Blog has recently been made available for free, although users will be required to opt-in to a list in order to download their free copy. If you are using Twitter already, you will appreciate......
  • Apache toolbar iconDeveloping WordPress Plugins on Windows using WAMP, Cygwin and Aptana Studio Developing WordPress plugins is not very difficult, in theory. PHP is not a difficult programming language, WordPress is well-designed with appropriate hooks for use by plugins, and there is extensive documentation. In practice, it can be a different story. There's two main strategies for developing WordPress (and other MySQL/PHP web......
  • blog traffic exchangeUpgrading Wordpress: Troubleshooting HTTP 500 - Internal Server Error With the introduction of Wordpress 2.7 upgrade capabilities for local installations are available right out of the box without the need of 3rd party plugins or manual update process. While this is cool, can also be a tricky, not so straight forward process. If your blog is hosted by Wordpress,......
  • market-leverage-logoRotate Market Leverage Banners with the WordPress Affiliate Manager I recently learned about Market Leverage from a friend, who has done reasonably well with their affiliate program. I decided to join, and upon joining decided to put together a WordPress plugin to help manage and rotate campaign banners. And thus the Affiliate Manager plugin was born. Market Leverage offers......
  • packingTriathlon Packing Checklist Are you a new triathlete or someone that has been around the track a few times? Whether you are brand new or have been doing this for a while, you should have an appreciation for how nice it is to have all of your gear packed up and ready to......
Online Stores If you liked this article, vote for it on del.icio.us and stumbleupon.



Categories:

Backup, Blog Tips, Blogging, Plugins, WordPress



Tags:

, , , , , , , ,


58 comments ↓
#1 Lazy Man and Money on 01.05.09 at 10:55 am

This looks great. One idea with images that could be nice is the option to choose an incremental backup. I can see the image e-mail getting huge as you mentioned.

If each update gave me just the last month’s images it may be easier on the file size. If I had to restore, I’d have to go through a dozen e-mails for each year my blog has been up, but that’s not bad.

Another idea here might be a monthly “archive-all” and a daily “archive-current-month.” I’m getting picky here, though, it’s really great to have something like this available.

#2 Pinyo on 01.05.09 at 11:32 am

If you also back up the plug-ins folder, it would be a more complete back up.

#3 kevin on 01.05.09 at 3:05 pm

@Lazyman

There is something to your comment. I need to stew a bit more. Personally I am already overwhelmed with email, but if you send it to a separate email account just for the purpose of archiving then it might work. Anyone else have an opinion?

@Pinyo

Good idea. When wordpress.org let’s me into the plugin directory I will implement that feature.

#4 Tadd on 01.06.09 at 8:35 am

Awesome plug. I installed it on our corporate web site today as well as three other sites I run. I’m not going to get stuck!

#5 baron on 01.07.09 at 9:33 am

hi. Thanks for plugin

perfect.

Regards

#6 jeff on 01.28.09 at 10:52 am

How would one go about restoring the images, themes, etc, that have been backed up?

#7 Louie Alvarez on 01.28.09 at 5:04 pm

How to activate a manual backup. I installed your plugin on the 25th, now 3 days later the original zip dates haven’t been updated, hence, no backup has automatically been performed. What can I do to initiate a manual backup for instances such as this?

#8 kevin on 01.29.09 at 8:54 pm

@Jeff

these are just zips of the directory… To restore a blog you would need the db and these folders.

Install a new blog.

Over write the db

Overwrite these folders

presto.

#9 kevin on 01.29.09 at 8:56 pm

@Louie.

are there any other red warnings on the options page?

What backup interval did you set?

And to answer your question… at the moment there is no manual button. I will be rectifying this oversight shortly with a new release.

#10 Free Ads portal on 02.04.09 at 10:09 am

thank for plugin

#11 neogrey on 02.10.09 at 5:39 am

Will definitely value the option to select what I want to backup, since I don’t exactly care about uploads folder…but thank you indeed.

#12 Yashni Marad on 02.13.09 at 9:51 am

Wow! Thank you! I always wanted to write in my site something like that. Can I take part of your post to my blog?

#13 Sunny on 02.15.09 at 2:25 pm

Thanks to you and all of the developers working with wordpress.org I’ve just started my site and you’ve made it possible to progress with such ease. Thank you!

#14 faryl on 03.05.09 at 12:15 pm

Looks interesting! I just had to do a reinstall from backup and used WordPress Database Backup. That one doesn’t include themes and images, however.

I’ll check this one out!

#15 bill ross on 03.05.09 at 3:00 pm

Excellent. This would have saved me alot of time when my sites had database issues due to my host. Thanks for the introduction.

#16 EMM on 03.06.09 at 11:40 am

Before I try this, I have one question: Will this send me a copy of my theme files AND theme settings? I had an issue with a recent update of WordPress where I lost all the customized settings for my current theme… I don’t want this to happen again. Yikes! :-)

#17 Landscaping NC on 03.09.09 at 5:09 am

Great post. We use this on our landscaping website that we built in wordpress. Thanks for the great tool.

#18 nitin on 03.09.09 at 11:37 pm

Hey,

are there any security reasons I must concern. As the bte directory is writable, anyone can write anything into it.

regards,

#19 mclord on 03.19.09 at 11:14 am

Excellent plugin! I would also like to be able to backup folders of choice, for example the gallery folder that NextGEN Gallery stores images in.

#20 Chung Bey Luen on 03.26.09 at 5:56 am

This is what I want. Thanks for creating this plugin.

#21 RaiulBaztepo on 03.28.09 at 2:30 pm

Hello!
Very Interesting post! Thank you for such interesting resource!
PS: Sorry for my bad english, I’v just started to learn this language ;)
See you!
Your, Raiul Baztepo

#22 Brett on 03.29.09 at 12:15 pm

Nice work Kevin. I plan to use this for my sites.

#23 James Schend on 04.15.09 at 6:12 pm

Seems to fail on a Windows server– it looks like you’re auto-generating paths, and they have the wrong slash. No matter what I do to the configuration, I can’t get this:

Backup folder does NOT exist. Please create ‘bte-wb’ folder in ‘C:\HostingSpaces\blakeyra\blakeyrat.com\wwwroot/wp-content’ folder and CHMOD it to ‘777′ or change the location of the backup folder under DB Option.

To use the correct slash for a Windows server. If it’s something I did wrong when typing in the paths, please let me know.

I understand that open source users don’t like Windows, but this is the first thing I’ve encountered in WordPress that hasn’t worked flawlessly on a Windows server, so it’s very disappointing.

#24 kevin on 04.15.09 at 7:03 pm

@james schend

sorry to disappoint. but the admin section of the plugin has all the paths which are being backed up…

Adjust those values as needed.

#25 James Schend on 04.16.09 at 5:49 pm

Kevin,

I’ve tried adjusting the paths, but the incorrect slash keeps coming back. I don’t know, maybe I’m being retarded or something, but I just can’t get it to work.

Oh well, thanks anyway.

#26 Chim Kan on 05.10.09 at 9:37 pm

Thanks for the plugin! It is working fine.

#27 Barb Snyderman on 05.20.09 at 9:01 am

Hi -

I just installed this on a client site. I filled in the email address field. I was emailed the plugins & themes zip files. The upload.zip file was not emailed. I had to download it from the Wordpress Backup under settings in the admin. Is this correct? Was the file not sent because of its size approx 71mb?

Thanks!

#28 Phil on 06.06.09 at 12:31 pm

I can’t seem to get this to work on my site. Using WP2.7.1 – every time I install the files (done it manually and automatically through WP) and then activate the plugin I get a blank screen – also shuts down the site. If I delete the plugin everything goes back to normal (thanks for that pointer, by the way…). Do you have any ideas why that might be happening? I’d love to have your plugin working on my site – it is a great idea and a great service to the WP community. Thanks again. Phil.

#29 Chris on 06.12.09 at 7:42 am

Stupidly, I just deleted all my legit comments rather than the spam comments i wished to delete.

Is there any way i can get these comments back either using Wordpress Backup or just via Wordpress that you know of?

Regards, Chris

#30 BdF on 06.13.09 at 3:13 am

Good plugin. Suggestion: add date of backup to the file names (as in Chester Lan’s WP-Backup plugin), so files dont get overwritten, so u can go back to a specific backup. Cheers from London!

#31 John on 06.13.09 at 6:56 am

I’ve just had the same problem as Phil above… I think the plugin may need looking at (or, has some other conflict with something else)… Cheers, John.

#32 Neto on 06.21.09 at 9:07 am

Hi,

I love your plugin and have used it for several months without problem with WP 2.7.1 – since upgrading to 2.8 the plugin has caused a problem with WP-SpamFree plugin.. if one is activated and I try to activate the other I get a server 500 error.. has anyone else reported this or do you know of any fix?

Thanks for any info or advice

#33 Neto on 06.22.09 at 9:49 am

The plugin worked great in WP 2.7.1, when I upgraded to 2.8 and activate the plugin I get server 500 error when I try to go to admin panel.. the blog (front end) still works.. but no admin access.. when I delete the plugin it’s OK… I think it has to do with overall memory used by 2.8 vs 2.7.1 – if I deactivate several other plugins.. wordpress backup works..

#34 Lazaro on 06.22.09 at 4:35 pm

You should add an option to also make the backup of the database automatically, eg: every 1 day … That sends to the email… They should also be optional to make backups of each directory, example, if someone does not want to make a backup of ”Plugins” but if you want to backup ”Uploads”… You should add these two new options for the next version.

It’s easy to say’’should”jaja … no?

Any way… I wanted a plugin with the options I’m looking for, I tried this and no that’s not helped me, so I recommend that … I am not the only thing I wish that … :)

#35 bestofboth on 06.29.09 at 12:55 pm

Hi, I have a question regarding backup of the “uploads” directory – how does one associate the attachments with their original contents? Does one have to reinstall wordpress on a new computer (let’s assume the first one melted) in order to make any use of this data backup? Thanks

#36 Sunny on 07.30.09 at 3:00 am

I am newbie for wordpress can you guys tell me or mail me how do i change the options of this plugin. i have checked everywhere but cant find the options. i am using wordpress 2.8.2

please help

#37 Adrian on 08.04.09 at 12:31 pm

Thank you, works fine on Ubuntu server 9.04.

#38 Mark on 08.05.09 at 8:39 am

Silly question possibly but if this plugin backs up image, plugin and theme data what about other content like text for posts and pages?

#39 Predrag Supurović on 08.12.09 at 11:59 pm

Nice plugin, but it goes to memory error pretty fast.

You should consider option to make backup in smaller chungs, for instance, to backup separately each subdirectory of choosen source (uploads, themes, plugins…). That would make more backup files but they would be smaller so memory and email attachment limitations would be less problem.

Incremental backup would aslo help a lot to solve resources issues.

Backup of database is required(also in smaller chunks, each table separately if needed). Without it, files backup does not mean a lot.

#40 Jani on 08.16.09 at 10:52 pm

I agree, memory errors (PHP Fatal error: Allowed memory size of 100663296 bytes exhausted) can be seen quite fast. It would be great to be able to send backups in smaller pieces. Otherwise this plugin is not so useful when your blog grows.

#41 dzengal on 08.18.09 at 6:13 pm

Having memory issues on ICD Soft hosting and WP 2.7.1 even after increasing memory to 64M.

#42 Catherine on 08.21.09 at 8:45 pm

Just thought I would mention….

I tried to get into my dashboard this evening only to be greeted by the BIG WHITE PAGE.

Found a great site

http://www.hightechdad.com/2009/06/10/fixing-blank-empty-or-white-wordpress-pages-after-upgrade/

suggesting that I rename my plugins folder and try to log in to determine if it was a problem with a plugin and of course it worked.

As I started to activate my plugins one at a time, when I reached your plugin, I had the BIG WHITE PAGE again and I had to start again by renaming my Plugins folder.

I when ahead and upgraded this plugin, but I still kept getting the BIG WHITE PAGE.

I don’t know if anyone else has had this problem, but I would like to hear from you if you know how I can fix it and continue to use your plugin

Thanks Catherine

#43 Dennis Foreman on 08.28.09 at 7:27 pm

Do you suppose that BTE could write a word or two about RESTORING one of the backups?

Just an arrow or pointer or 10 seconds about how to actually recover from one of the events we’re backing up for?

I would find it useful and I suspect other swould as well.

Dennis

#44 kevin on 08.31.09 at 5:23 pm

@Dennis

Good Idea I added a section to the main post.

#45 Steve on 09.03.09 at 11:26 am

This looks like a must have plug in.
One thing that would be cool- the ability to specify times between backups. Weekly is good, but for some sites, a monthly backup would be preferred, since it’s not updated that much, so it’d be less stress on the server doing something not really needed.

But thanks, this looks cool.

#46 kevin on 09.03.09 at 11:58 am

@Steve

The time between backups is configurable.

#47 纹身 on 09.06.09 at 11:30 pm

this page is very Important
thank you with wordpress plugins

#48 chodorowicz on 09.14.09 at 7:37 am

I have a strange problem with this plugin – the uploads and themes folders are backed up properly, but the plugins folder not – of around 15 plugins that I have installed only 7 are included in the zip – I use the latest version of both Wordpress Backup and Wordpress itself

#49 Robert Simpson on 09.20.09 at 11:56 am

Hi Kevin,

I’m experiencing a strange effect while your plugin is active. Basically it seems to mess with the CSS of the admin page titles, it appears to have added either padding or margin to the top of them. Any ideas?

I haven’t noticed any other strange bugs like that but if I do I’ll post it here.

Cheers,
Robert

#50 Bill on 10.23.09 at 5:52 am

I’m getting the “big white page” just like Catherine. It’s only after I install this plugin. It could be conflicting with other plugins, of course, but I’ve tried all ways to install this thing, always with the same outcome!

Weird thing is, I have another blog on this same host with all the same plugins and theme…oh well.

#51 hostpapa on 10.29.09 at 2:39 am

just add another useful plugin for wp! work perfectly on my site. u did a great job though. thanks a bunch.
i stumble this!

#52 David Bone on 11.04.09 at 9:02 pm

I’m stumped after finding this plugin very reliable…

The site was moved and afterwards on the settings page, it doesn’t recognize any of the settings (giving me red warnings for all). I’ve deleted and re-installed but not sure what else to do to get it working again. Any suggestions?

Thank You for your dedication!
db

#53 Dennis Foreman on 11.17.09 at 3:03 pm

A minor problem caused me to restore a “theme” backup to this site http://wellnesscarechiro.com. I should say attempt to restore as it was not possible to do so.

The zipped backup file, one of a series I download every week, bore no resemblance to the theme folder it originated from on the website. It would appear that the plugin is flawed regarding creating the theme backup file (only).

All of my WP sites now use this form of backup. I’ve checked three of the twenty-one and all exhibit the same problem – the theme backup file is incorrect in a major way.

This is a serious situation for me. What is your response regarding the plugin?

Dennis Foreman

#54 Bob Davis on 11.23.09 at 7:07 am

I have used this plugin with no problems before. But on one web site it locks up the web site and shuts it down until I delete this plugin using cpanel. It has something to do with the site having about 100 meg in images, and backing that up takes all the processor power shutting the web site down. I cannot get back in to change the configuration without reinstalling and activating it, but then the web site goes down again!

#55 Steven Vachon on 12.11.09 at 1:36 pm

Hi. I’ve posted a bug on the WordPress plugin page. Please look into it. Thanks for the hard work thus far :)

#56 WordPressZen on 12.22.09 at 9:46 am

I have been utilizing this great plugin on many sites with great results….until I did the 2.9 upgrade. I will post details on the WordPress Plugin Page…

#57 Ari Salomon on 12.25.09 at 10:37 pm

i have the same problem as bob davis. everything was fine and after loading a bunch of big video files the site locked up. renaming the Wordpress Backup directory deactivated it and everything was fine.

so having a more sophisticated way to deal with big files or lots of files would be great. maybe as simple as skipping large files? or maybe/also some kind of incremental backups ?

thanks for an excellent plugin… it’s appreciated…

#58 nikeasyanzi on 01.14.10 at 12:19 am

i have a problem that i uninstall this plugin one day,but it still mail a backup to my mailbox. Moreover,even i turn down my wordpress , it’s still remains the same situation .
what should i do to solve the problem?
it’s appreciated

Leave a Comment