Support » Requests and Feedback » Easy Backup & Restore a must!!

  • OK, so I’m a novice to all this online stuff.
    I have a website, it has some forums which has a few hundred registered people and a fair few active ones.
    It has a Blog, running WordPress 1.2 of course.
    It also has other bits and pieces – it is my corner of cyberspace and I’m happy enough with it.
    A little while ago I had the need to change who hosts my website.
    I was having extended downtime and although my website is by no means “that popular” it was getting annoying.
    Moving my site wasn’t a major issue – I use FrontPage 2003, so I simply moved site and then uploaded everything again.
    Soon my site was working, with the exception of my Forums (running on phpBB) and Blog (WordPress 1.2).
    I must admit I was worried on both fronts, both are free pieces of software – surely moving was not going to be easy.
    Lets take phpBB and by using the built-in tools I was able to do the following:
    Enter Administration
    Click “Backup Databse” and a few seconds later I was downloading a file that was in GZIP format.
    I soon had 3mb .sql file which was apparently compressed.
    At my new hosts I installed phpBB (which I’ve always found quite easy) into the same sub directory as before.
    Entered my totally empty forums, went to administration and clicked “Restore Database”
    It asked me to browse to my backup, I sent the .sql file back still in GZIP format.
    Within five minutes my forums were back, all my users were there, all my posts were there it was as if I’d never moved.
    There seems to be nothing built-in to WordPress to allow me to do the same.
    There seems to be some kind of “hack” that I can install which adds the facility to download my Blog however that is seven files and I don’t know what to do with them once I have them.
    I did read through the readme files and some online direction, but I’ll be honest, I’m impatient and I also started getting nowhere.
    In the end I ended up installing WordPress 1.0, upgrading it to WordPress 1.2 and the manually re-typing all my Blog entries for the 2 months I’d been writing it.
    My Blog is now 8 months old and I’m scared.
    Scared that I’m not taking adequate backup’s and scared that I couldn’t move to another host if I wanted as I wouldn’t know how to move my Blog.
    I don’t know how far 1.3 or the next version is away from “release” but it needs something as simple as the phpBB backup & restore function built in.
    I need to be able to click a single button and have a single file downloaded.
    I then need to be able to reinstall WordPress and upload that single file and find everything back to normal.
    Sorry if such a feature has already been discussed – it’s late 🙂

Viewing 15 replies - 1 through 15 (of 24 total)
  • Am I right in thinking that export / import is included in the functionality of mysql ?

    You can install the One-Click backup plugin that works with whatever version of WP you are running. It makes two separate backup sets, one contains your MySQL database and the other is copies of all your WordPress files. You can accomplish the same thing using FTP to download your site contents to your hard drive (and optionally, burn it to a CD). Then, when/if disaster strikes, just FTP your backup up to your site folder.
    And Root is right. You can go through PHP Admin (check your Cpanel) to export a text file containing your WP database. But that won’t help you recreate your templates (if you’ve modified them) or any images and other data you may have on your web site.

    Root, you might be right 🙂
    In my phpMyAdmin is there. Nevertheless I always get goosebump if I have to “backup” and/or move my database, but I’ve managed – last time about a month ago. Actually it was much, much easier than I thought!

    jonimueller, which One-Click backup plugin are you referring to?

    I have the backup and restore plugin but whenever I happen to be “in” mysql or phpmyadmin, I make a backup. I would be foolish to trust a “feature” backup in a separate program, especially when it isn’t really any easier than the backup provided by the program whose data I want to back up. I only “trust” mysql’s backup – and its backup function is not likely to “break” with the next release. Next perhaps I would choose phpmyadmin because it is specifically for administering mysql. The last (and least) backup function I would trust would be any provided as a plugin or “feature” of WP or any other program.

    i agree with Beel on that one. i just grab my tables through phpMyAdmin

    There was talk of introducing an xml-based export feature in 1.3 which would allow you to migrate data into a fresh install of WordPress. In the meantime, you should always keep a backup of your database.
    Backing up in phpMyAdmin:

    With all due respect, but advising someone to go through phpMyAdmin for a backup of another program’s data isn’t very userfriendly. We’re all a bunch of geeks who don’t think much about going into phpMyAdmin and running a backup, but it’s giving Stoofa and a lot of other people goosebumps, because they’re afraid of messing something up they don’t understand.
    Putting a one-click backup function in WP as a standard will do a lot for less technically inclined users’ level of trust in the application and will make it easier for these people to recover from disaster or moving to a new host.
    I think it’s as important as the latest nightly’s interface for theming your WP blog, maybe more important even 🙂

    Mark (podz)


    Support Maven

    I agree it would be nice to have that installed as standard, but I wrote that guide, using screenshots, because it is conceiveable that for some reason, someone may get locked out of their blog.
    phpmyadmin is powerful stuff, but doing a backup / restore isn’t high on the danger rating as no data is actually being manipulated.

    good hosting providers have backup and restoration tools available. if you have cpanel, it takes a few clicks to backup and restore your entire account, including your database. what can be easier than that? if your hosting provider doesn’t have easy to use backup and restoration tools, then you should switch providers.

    Being somewhere between an average user and a geek, I am comfortable using phpmyadmin to backup and restore the WP database. However I’d still really like to see something like Stoofa described for phpBB, largely because it would be more convenient.
    I’m using WP in the first place because of its famous 30 second install. There are a variety of other tools out there with similar functionality, and some of them have installation procedures which aren’t *that* much work. None that I’ve looked at though are as _convenient_ as WP. 🙂
    I should have to install WP only once or twice at most, backup and restore though will happen much more often. So in my mind, having a 30 second backup/restore feature in WordPress is perfectly in line with its core goals.



    I recently migrated my WP1.2 to a new web host, and I was not happy with the experience. WP should provide an XML-based backup, so it can be copied to a new web host or a new database easily.



    exporting and importing is pretty easy via MySQL. Of course, for someone like me, that’s only one piece of the backup equation — some things are stored in flat files, or mods to php files, or new files added (plugins), etc. the ‘average’ user might forget to back up some of those things too. (Note I’m not even suggesting that WP deal with that level of backup!)
    it might be nice if there was a ‘migration’ script, specifically to move a WP installation between servers. just a thought.. 😉

    @ Podz..
    You wrote above (2004-09-15):

    phpmyadmin is powerful stuff, but doing a backup / restore isn’t high on the danger rating as no data is actually being manipulated.

    WP’s default encoding is UTF-8 (Unicode) but mySQL’s default is Latin (ISO-8879?). Aren’t there parameters to be specified when doing a backup through either command-line mySQL or phpmyadmin to avoid encoding conversion and its attendant errors? If so, is 1-click backup any different? If it isn’t, is there a way to micro-manage its doings to insure against re-encoding on backups here too?

    Footnote: Does phpmyadmin, mySQL, 1-click restore, or WP itself fool around with encoding in any way on a restore?

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Easy Backup & Restore a must!!’ is closed to new replies.