One Click Backup? It Exists!

Date March 15, 2005

A few days ago, I wrote about a simple method of backing up that is accessible to all bloggers but one that only saves the posts, and nothing more. I was challenged by Ruth’s question about having a short and easy way of having an offline copy of everything she has published and I remembered reading about the One Click Backup for 1.5 from Weblog Tools Collection.

This plugin requires the blogger to have ftp access to their root folder or they can have their blog hosts do the uploading for them. The backup tool creates copies of the database within the blog folder (under the wp-contents subdirectory) and names it according to the date of backup. A word of warning though: If you keep clicking on that backup tool and not keep track of the disk space the files use, you may just surprise yourself with a message from your web host saying you’ve just run out of space.

Download and unzip the file into your computer. Using an FTP client (again, I prefer WS_FTP), login to your account and create a folder called backup under the root/wp-content/ directory as shown below:

Right click on the folder and click PROPERTIES.

Under PROPERTIES, assign WRITE permissions to the backup folder by checking the write boxes under ‘owner,’ ‘group,’ and ‘world.’

Upload all the files except backuprestore.php and ReadMe.txt to the root/wp-admin folder.

Upload the backuprestore.php file to the root/wp-contents/plugin folder and ACTIVATE the plugin.

A new BACKUP/RESTORE tab will appear on the top menu alongside Options and Logout.

Upon clicking the BACKUP/RESTORE tab, you will be taken to a screen that looks like this:

BACKUP DATABASE – saves/backs up all data about your blog that is saved in the mysql database. This includes all your posts, comments, blog settings, including usernames and passwords to name a few.

BACKUP WORDPRESS FILES
– saves/backs up WordPress install files, themes, images, css files, index.php, and other files except those mentioned in BACKUP DATABASE.

RESTORE YOUR DATABASE – please use sparingly and with the guidance of your web host if you are not sure about what you are doing! This tool restores posts/comments and settings stored in the .sql files that you back up on a regular basis in the unfortunate occasion that you lose your blog data.

To use the BACKUP DATABASE, all you need to do is to click the button. A confirmation will appear on the upper left portion of the screen and a download link right below it.

Right click on the ‘Download the new Backup Sql File’ link, choose ‘Save As’ and save the file to your local drive.

Using the BACKUP WORDPRESS FILES is just as straightforward, click the button and the confirmation will appear on top right, next to the download link. The backup file is in TAR format (.tar.gz) which is the Unix standard for archiving but is compatible with Windows systems. You can use Winzip to decompress the file.

To RESTORE YOUR DATABASE (and this is assuming you are using this only because you absolutely have to!) manually type in the .sql file name of the database and click the Restore Database button. A confirmation appears on the upper part of the screen with a link to view the site. Check to see that all your posts/comments were restored correctly.

To my hostees: This tool need not be installed on your blogs because I do a manual backup of your databases on a regular basis. If you feel you should have it, send me a written request with reasons why this should be installed on your blog.

50 Responses to “One Click Backup? It Exists!”

  1. Weblog Tools Collection » WP One Click Backup Tutorial said:

    [...] One Click Backup Tutorial Categories – LinkyLoo Wordpress Plugins — Mark WP One Click Backup Tutorial: Speaking of detailed and thorough tutorials, if you have ever wanted to succ [...]

  2. kpont.com » Blog Archive » WordPress One Click Backup Plugin Tutorial said:

    [...] WordPress One Click Backup Plugin Tutorial Weblog Tools Collection points to a decent looking tutorial for setting up and using their One Click Bac [...]

  3. Dave M. said:

    So I installed this and tried it out. It mostly works… I was able to successfully backup my database. However, when I click “Backup WordPress Files”, I get this:
    Warning: opendir(/home/davescha/public_html/wp-content/../wp-content/../wp-content/../wp-content/../wp-content/../ (and on and on…)
    in /home/davescha/public_html/wp-admin/Tar.php on line 774

    Any ideas?

  4. Catsudon said:

    Hmmm, I’ve never come across this error but did you try reuploading the Tar.php file into wp-admin?

    You might want to post this error at the Weblog Tools Collection comments on One Click Backup for 1.5 as they may have a solution for it already.

  5. flipthedolphin » Blog Archive » Backup your blog in one click said:

    [...] backup it too! You can restore files and database in minutes…maybe seconds Link: Catsutorials – one click backup? It Exists It has many screenshots on it. You can easly follow it and sav [...]

  6. svelte said:

    whew! relief. aside from the pc-looking screens, i’m just a lazy lazy back-upper!

  7. The InsaneOx ReLoaded » Blog Archive » One Click Backup for WordPress! said:

    [...] E-edit all those PHP files. For those of you still unfamiliar with installing WP plugins, Catsudon’s got a wonderfully clear (and graphically intensive) tutorial on installing this plugin in [...]

  8. hong! » Blog Archive » » One Click Backup? It Exists! said:

    [...] « ???? ?

    » One Click Backup? It Exists!

    » One Click Backup? It Exists!

    This entry was posted

    [...]

  9. Flipthedolphin said:

    I get “fopen” and “fwrite” errors. Is my host not allowing me to use some php feautures?!?!

  10. Catsudon said:

    hi flip, that happened to me too. try redoing the folder permissions on the ‘backup’ folder. if not, delete the folder, recreate it, and assign write permissions yet again. i’m not sure what caused it but that fixed it for me.

    hope this helps.

  11. marlyse.com » » One Click Backup? It Exists! said:

    [...] 14:26:55 (-0600) Very nicely done and presented with a lot of screenshots : » One Click Backup? It Exists! - ClickToPrint

    Comments » T [...]

  12. zone41 said:

    One Click Backup? It Exists!

    Existe sim e o João explica-o muito bem aqui.
    Temos então mais um plugin para o wordpress, estão todos os dias a serem criados os mais variados, impressionante como a comunidade está a crescer….

  13. Flipthedolphin said:

    Thanks for the help, Catsudon!
    It worked!

  14. Christopher said:

    I get a wierd error when I try to back up:

    Warning: main(brvars.php): failed to open stream: No such file or directory in /home/ergonomi/public_html/wp-admin/backuprestoreAdmin.php on line 314

    Fatal error: main(): Failed opening required ‘brvars.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php:’) in /home/ergonomi/public_html/wp-admin/backuprestoreAdmin.php on line 314

    It also asked me to move the backuprestoreAdmin ot the wp-admin folder.. but that wasn’t mentioned in any of the directions.. what am i doing wrong/

    Thanks
    -Chris

  15. Catsudon said:

    what version of the one click backup are you using?

  16. Christopher said:

    fixed it nevermind!

  17. Dave M. said:

    I’ll do that, thanks

  18. Michael said:

    I got no errors, if i try this offline (wamp) but i get these errors, when trying online:

    Warning: fopen(/usr/local/pem/vhosts/9210/webspace/httpdocs/wp-content/backup/18032005wordpress.sql): failed to open stream: Permission denied in /usr/local/pem/vhosts/9210/webspace/httpdocs/wp-admin/backuprestoreAdmin.php on line 221

    Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/pem/vhosts/9210/webspace/httpdocs/wp-admin/backuprestoreAdmin.php on line 222
    Backup Successful.

  19. Michael said:

    Ok, i got. T’was the file-permission which confused me.

  20. Evil Conservative Blog » Blog Archive » No more lost databases said:

    [...] to make sure I don’t screw up again. It’s easy to use and works great. LINK: Installation tutorial I don’t usually come out and recommend a plugin, but I think this was worth i [...]

  21. ??-Wordpress » ????? » ??????: Backup ??? Wordpress 1.5 said:

    [...] ??????? backup’??”. ??????? ?????? ????????? ?? ??????, ??? ??????????? ?????? ????? ??????. ???? ?????? ? [...]

  22. slaff bloggin’ ¦ ????, ?????? ???????, stay online :) » ????? ????? » ??????: Backup ??? Wordpress 1.5 said:

    [...] ?????? backup’??”. ??????? ?????? ?????????? ?? ??????, ??? ??????????? ?????? ????? ??????. ???? ?????? ? [...]

  23. Talking to myself » WordPress Plugin said:

    [...] GeekyMarch 24th, 2005 WordPress Plugin | Thanks to theWordPress Backup Plugin and this tutorial, backing up all my posts/settings/themes is just a matter of a few mouse clicks. Geek out in [...]

  24. Mark said:

    FYI —
    Not sure if others using IIS had this, but the plugin line:
    “if ( ! is_plugin_page() ) {
    function br_add_menu() {
    add_menu_page(‘Backup/Restore’, ‘Backup/Restore’, 9, dirname(__FILE__) . ‘/backuprestoreAdmin.php’);
    }

    add_action(‘admin_menu’, ‘br_add_menu’);
    }”
    was giving me errors (“no input selected”) when I tried to click the Backup/Restore.
    I removed the “dirname(__FILE__) . ” and the extra / in front of backuprestoreAdmin.php and everything works great. Thanks for the handy script.

  25. The Boschmans Account » Blog Archive » WP Plugins to investigate : said:

    [...] is a note to myself). Backup your WordPress : One-Click Backup for WP 1.5 – also read the tutorial ! For small to medium large databases, [...]

  26. AprilLassy said:

    catsie, could i use this on mychron? want to consult with you first before i do because i don’t know if it will increase my current used webspace.

  27. Catsudon said:

    april, yes! go ahead. just make sure you maintain only up to two or three database file backups (since you have ftp access) at a time so it doesn’t eat up too much space.

    install away! let me know how it works for you and if you run into any kerfuffle.

  28. Denken Über » Wordpress Plugins said:

    [...] er un backup completo del blog, archivos, etc. con 2 clicks. Link Útil: Post con un tutorial y screenshotsSuggest: Este es un plugin que me parece genial, pone en un [...]

  29. slaff bloggin’ ¦ ????, ??????? ??????????, wordpress » Blog Archive » ??????: Backup ??? Wordpress 1.5 said:

    [...] ?????? backup’??”. ??????? ?????? ?????????? ?? ??????, ??? ??????????? ?????? ????? ??????. ???? ?????? ? [...]

  30. windows? said:

    it seems fine, till i click backup/restore. first i get this (always surprising, it’s an XP pro box, since when does it know about permissions?)
    :
    Forbidden
    You don’t have permission to access /wp/wp-admin/c:\documents and settings\1\my documents\htdocs\wp\wp-content\plugins\wp_backup/backuprestoreAdmin.php on this server.

    then, if i enter the url manually, like so:
    http://localhost/wp/wp-admin/backuprestoreAdmin.php

    and i encounter the following:

    Notice: Use of undefined constant ABSPATH – assumed ‘ABSPATH’ in c:\documents and settings\1\my documents\htdocs\wp\wp-admin\brvars.php on line 9

    Warning: touch(): Unable to create file ABSPATHwp-content/backup/index.html because No such file or directory in c:\documents and settings\1\my documents\htdocs\wp\wp-admin\backuprestoreadmin.php on line 6

    Fatal error: Call to undefined function: get_settings() in c:\documents and settings\1\my documents\htdocs\wp\wp-admin\backuprestoreadmin.php on line 7

    help?

  31. ??’s WordPress » » One Click Backup? It Exists! said:

    [...] Backup? It Exists! Filed under: ???, ?? — ??? @ 10:01 pm » One Click Backup? It Exists! A few days ago, I wrote about a simple method of backing up that is access [...]

  32. WordPress.com.br » WORDPRESS BACKUP PLUGIN said:

    [...] s um click. Um tutorial em inglês, mas muito explicadinho com imagens pode ser encontrado aqui. Como instalar: Baixe o pacote para o seu [...]

  33. Neto Cury Blog » Blog Archive » WORDPRESS BACKUP PLUGIN said:

    [...] s um click. Um tutorial em inglês, mas muito explicadinho com imagens pode ser encontrado aqui. Como instalar: Baixe o pacote para o seu [...]

  34. Bluescreen said:

    Very nice tutorial! I was wondering if you were aware of any problems with the Backup item not displaying in the admin area. The only difference is that I did not make the backup folder world writable.

    b.t.w. Nice formatting buttons, are they part of the template style?
    - Bluescreen

  35. Basic Thinking Blog » WP Plugin: One Click Backup said:

    [...] len Festplatte (und dort regemäßig auf CDs sichern) abzulegen. Es gibt zu dem Tool ein vorbildliches, bebildertes Tutorial mit Anweisungen zur Installation und zur Nutzung. Für den Fall der [...]

  36. » Upgrading Wordpress 2.0 for Dummies @ Ambot ah! [ technology news and reviews ] said:

    [...] Upgrade your WordPress DB. If you have the BackupRestore plugin, download the DB backup (here’s a backup tutorial if you use the plugin). If you are on cPanel, download the raw SQL DB from the Backup section as shown below. [...]

  37. hoemmerich.com » Wordpress: One-Click Backup // martin hömmerich // Weblog Agenturleben, Grafik, Design und Werbung said:

    [...] Eine bebilderte Anleitung findet man bei catsutorials, falls man mit dem englischen Text gar nichts anfangen kann. Abgelegt unter: Webdesign — Martin @ 15:25 [...]

  38. iska said:

    i did the back-up and everything went fine. backups are also downloaded. is it ok if i delete the back-up files in my back-up directory and just upload it when i need to?

  39. catsudon said:

    hi iska! yup, that’s perfectly fine. saves you some space on your webhosting account.

  40. beitis.com said:

    [...] I was looking around the other day for something to save me sometime from doing backups on WordPress and I came across this handy set of scripts that save me a lot of time when doing backups. It will backup both the wordpress database as well as any files under the wordpress folder. You can find it at http://weblogtoolscollection.com/archives/2005/02/06/backup-plugin-for-wordpress-15/ and a tutorial for it can be found here Comments (0) » Permalink [...]

  41. beitis.com » An efficient Backup and Restore utility for WordPress said:

    [...] I was looking around the other day for something to save me sometime from doing backups on WordPress and I came across this handy set of scripts that save me a lot of time when doing backups. It will backup both the wordpress database as well as any files under the wordpress folder. You can find it here and a tutorial for it can be found here » Permalink [...]

  42. Jahn Marini said:

    I found a software that can help automatically backup your websites and wordpress as well. I thought many would want to use this also as I did.

    Very good software but I am still testing it.

    take a look at http://www.cpsitesaver.com

  43. George Carastas said:

    The perfect tool for your web site backup (ftp+mysql) is SiteVault ( http://www.site-vault.com ). It takes a bit to configure (many options and features) but you can just forget about it until you need the latest backup restored ;) .

    George

  44. Fotofimmel » Blog Archive » Backups leicht gemacht said:

    [...] WordPress habe auch ich jetzt endlich mal One Click Backup getestet, zu dem es hier eine ausführliche Anleitung gibt. Das war nicht unbedingt Liebe auf den ersten Blick, aber mittlerweile tut das Plugin, was es [...]

  45. WordPress One Click Backup Plugin Tutorial said:

    [...] Tools Collection points to a decent looking tutorial for setting up and using their One Click Backup Plugin for WordPress 1.5. The tutorial is a good [...]

  46. Steve said:

    Hi

    Couldnt seem to get this to work, probably me being dumb, anyone still struglling could use this site Chris McDermott which helped me

    Cheers Steve

  47. Four Dragons » Blog Archiv » Wordpress Plugin: One-Klick-Backup said:

    [...] nicht probiert, versuche den aber in den nächsten Tagen nachzuholen. Im Web ist übrigens auch ein schönes Tutorial zu finden, dass die Installation ziemlich gut [...]

  48. Wordpress Blog absichern » Beitrag » easytopia said:

    [...] Ein gut bebildertes Tutorial habe ich hier gefunden: http://catsutorials.catsudon.org/?p=13 [...]

  49. Wordpress Backup « Georg.K said:

    [...] http://catsutorials.catsudon.org/?p=13 [...]

  50. website backup said:

    I’m not a huge fan of downloading backups to my local PC. It’s yet another thing I have to organize and make sure I backup when I do my local PC archiving. I feel much safer using a web-based tool like SitePlanB.com

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>