Updraft – WP Backup/Restore

Updraft – WP Backup/Restore is a WordPress plugin aimed at simplifying backups (and restoration) for your blog. Just set up a backup schedule, tell Updraft where to send the backups and you’re ready to go. You can back up to Rackspace Cloud Files, Amazon S3, FTP, or even email!

Updraft requires WordPress 3.0 or better.

Features

  • Supports several cloud services including Rackspace Cloud Files and Amazon S3
  • Scheduled and one click backups
  • Choose how many backups to retain
  • One click restore1

Screencast

View the screencast for a quick setup tutorial!

Download

Visit the WordPress plugin repository page or search for Updraft within your own blog’s plugin search!

Known Issues (as of v0.5)

  • On heavily trafficked blogs multiple backups can occur due to the way WP-Cron works. This does not cause data loss.
  • No way to restore DB without using a separate tool at this time.
  • Automatic backup restoration is only available via Cloud Files, S3, FTP, and local. Email and downloaded backup restoration must be performed manually.
  • Output for progress/errors is extremely inconsistent/ugly at this time. It’s all there, just needs to be unified.

Version History:

v0.6 – 7/27/2010
- Added blog name to backup names.
- Fixed a short tag and private declaration that caused issues activating the plugin for some users.

v0.5 – 6/17/2010
- First public release!
- Fixed up WP_Filesystem calls for restoration and deletion of -old directories.

v0.4- 5/23/2010
-Resumed work now that 3.0 is almost out. 3.0 required due to some bugs present in 2.9 around the WP_Filesystem chmod.

v0.3 – 2/5/2010
-Rewrote restore functionality to use WP_Filesystem classes. (still needs work)

v0.2 – 1/14/2010
-Partial restore functionality (DB restore not yet functional)
-Improved UI
-Improved error handling

v0.1 – 1/2/2010
-Initial versioning. Seeded 1/12/2010 to testers.

  1. DB not restored at this time
Leave a comment

28 Comments.

  1. Hello!
    Great plugin!

    Did you consider incorporating backup with Dropbox?

    Thanks !

  2. Has Dropbox released a public API for application developers? I’m a Dropbox user myself so I’d be happy to add the feature if there’s an API available!

  3. Awesome! I’ll take a look at it.

  4. Was there something wrong with my earlier comment?

  5. What comment Rick? I don’t have any emails and I don’t see anything in spam/pending? Feel free to post it again/email me if it’s somehow failing to post here.

  6. Up at the top of the page, it says there are eight comments but only six are visible.

    It took me 20 minutes to write including a couple of detailed suggestions. I will try again in the morning. Been a long day. BTW, great plugin!

  7. This theme combines “comments” into comments + trackbacks, so that’s what the total actually is up there.

    And thanks, I’m glad you like it! I look forward to seeing your suggestions.

  8. Hi,

    Whenever I try to activate the plugin (installed directly via WP), I get the following error:

    PHP Parse error: syntax error, unexpected T_PRIVATE in D:\wproot\wp-content\plugins\updraft\updraft.php on line 1434

    Any ideas?

  9. Paul,

    I’m getting the same error as Robert (from June 25th). I’m installing the plugin on WP 2.9.1.

    Help!

    Thanks!

  10. John, try removing the word “private” from line 1434 in updraft.php. The line in question looks like this:
    private function array2json($arr) {
    and you’ll want to make it look like this:
    function array2json($arr) {

  11. with the correction a new error appears

    Parse error: syntax error, unexpected ‘;’, expecting T_FUNCTION in /home/npb/www/npb/wp-content/plugins/updraft/updraft.php on line 1477

    thank for help !

  12. i’m installing the plugin on WP 3.0…
    same error !

  13. can i use this plugin with WP 3.0 ?

  14. @Paul: Great work! Just did the 1st backup with your plugin, and what I got so far seems just fine! Many thanks!

    @billco & @Paul: I ran into the same errors as described. What needs to be fixed as well is a missing ‘php’ on line 1173: instead of <?}?> it should read <php?}?>

    Oh, and for some reason, the backup directory was mistakenly set to D:xampphtdocs/… instead of D:xampp/htdocs/

  15. Hi,
    I used updraft so I have backup of my wp website.

    My HDD crashed.
    I installed WP3.0.
    so now :

    How to restore my webste with backup’s updraft ?
    (i’m french… :oops: english… lol )

  16. thank you for your assistance but the error is always present

    Parse error: syntax error, unexpected ‘;’, expecting T_FUNCTION in /wp-content/plugins/updraft/updraft.php on line 1477
    :?:

  17. Damn short_open_tags! I’ve fixed this in trunk and will release as 0.5.1 now.

  18. I’m trying to get this plugin to work, and my goal is to save the backup online (ie the /wp-content/updraft/-folder). The problem is that the sql-file never contains any real information, just a short description but never anything about tables and stuff like that. The file is about 150 byte. Everything else seems to work fine. Any clues what could de the cause for this?

  19. will ther be a support of dropbox or sugarsync (https://www.sugarsync.com/developers/)?

  20. I’ll take a look at sugarsync. Dropbox is on my list.

  21. i’ve just tried the v0.6

    ooups :shock: one error appears in the admin panel

    “Warning: fsockopen() [function.fsockopen]: unable to connect to ns10.freeheberg.com:80 (Connection timed out) in /wp-includes/class-snoopy.php on line 1148″

    have you a solution :?:

    thank you :wink:

    Billboc

  22. I’tried many plugins (even paid) to backup my blog to S3, without chance. Now I’m trying yrs, that I hope will work. But I got this message:

    Backup directory specified is accessible via the web. This is a potential security problem. Enable .htaccess support to allow Updraft to automatically deny web access.

    How do I enablehtaccess support?

    Thank you for your help

  23. Understood! But as Fizzgigg

    The problem is that the sql-file never contains any real information, just a short description but never anything about tables and stuff like that. The file is about 150 byte. Everything else seems to work fine. Any clues what could de the cause for this?

  24. Hi Paul,

    Great plugin you’ve written here. Use it on many sites without problem … until this morning. I’m trying to do my normal install to backup to Amazon S3, and I’m getting the following error when activating the plugin. I’m on WP 3.0.1:

    Parse error: syntax error, unexpected ‘{‘ in /home/webusers/djflash05/acrosstheboardent.ca/www/wp-content/plugins/updraft/updraft.php on line 153

    Here’s line 153:

    try {

    within the:

    function cf_backup($backup_array) {

    Any ideas on this one? I’ve tried deleting and reinstalled with no luck.

    Thx!

Leave a Reply


[ Ctrl + Enter ]