How do I backup Wordpress basically?

Discussion in 'WordPress' started by gotkloud, Sep 3, 2007.

  1. #1
    Hey DPers,
    Tricky one, how do i BACKUP my wordpress site, I know theres a WP backup plugin, but is that also for logos, themes, pages etc?
     
    gotkloud, Sep 3, 2007 IP
  2. netstratics

    netstratics Peon

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This is a pretty technical question. There are lots of ways to run a backup. This also depends on what sort of hosting provider you have.

    Generally a plug-in would have no way of backing up anything other than the database. The database is where all your information is stored.

    If you have a Cpanel based hosting provider and you are not using much space then the easiest method might just be the Cpanel backup options. You can download the home directory, the database or everything. If you have a problem then you could likely get the host to help you restore those backups.

    There are other methods, but that discussion would be much more complex.
     
    netstratics, Sep 3, 2007 IP
  3. r3born

    r3born Active Member

    Messages:
    1,070
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    88
    #3
    I suggest you do the following :
    - backup your MySQL database either using PhpMyAdmin or the Backup plugin
    - backup ALL of your files simply by downloading your entire blog folder to your hard drive
     
    r3born, Sep 3, 2007 IP
  4. gotkloud

    gotkloud Well-Known Member

    Messages:
    664
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    153
    #4
    Yeah but if my site fails, can i simply just re upload a directory full of all the older files and expect it to work again?
     
    gotkloud, Sep 4, 2007 IP
  5. MatthewN

    MatthewN Well-Known Member

    Messages:
    859
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    195
    #5
    Yes... pretty much. To do a restore you would upload all the files, set the correct permissions and then import the database in to phpmyadmin.

    If your file backup is older then your mysql backup then you might see some broken images if you have uploaded some to a post but not backed them up. But if you download the files and database at the same time then a restore is a simple process.
     
    MatthewN, Sep 4, 2007 IP
  6. jared

    jared Peon

    Messages:
    231
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hit the nail on the head.
    Most hosts have phpMyAdmin installed. Just login, find the database that contains your Wordpress install and export it to a txt or sql file.

    Then just drag your blog directory to your computer via an FTP client.

    Now you are done :)

    There might be some plugins that try to simplify it, but it is so simple already I don't think they are needed.

    cheers
     
    jared, Sep 4, 2007 IP
  7. MatthewN

    MatthewN Well-Known Member

    Messages:
    859
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    195
    #7
    One thing I never recommend is relying on your host for backups. 99% of the time they can restore them for you, but at the time you need it it might not be available as hosts are not under obligation to keep your own files safe although many try to do their best at that.

    Keep your own by following r3born's instructions.
     
    MatthewN, Sep 5, 2007 IP