What is the easiest and most effective way to backup a Wordpress Blog?

by Dayne Dylan Banned
23 replies
Looking for a quick and easy way to backup a Wordpress blog, that is comprehensive, yet easy to restore in case I lose it all.

Suggestions?
#backup #blog #easiest #effective #wordpress
  • Profile picture of the author AdInventive
    First download everything in your /wp-content/ folder.

    Then log into your dashboard and go to Tools -> Export and export a XML file which contains all of your posts/categories/tags/pages.

    You will be able to easily import that xml file into a fresh install. The only thing you will have to do is set up any plugins/widgets that you had.
    Signature
    My thoughts on Lateral Marketing Stategies.
    {{ DiscussionBoard.errors[1049694].message }}
  • Profile picture of the author Dayne Dylan
    Banned
    Is there a way to do an overall save of the site, with the plugins or widgets along with all the content?
    Signature
    Create and Differentiate. Illuminate Your Buyers Need or Wants. Grow Rich.
    {{ DiscussionBoard.errors[1049813].message }}
  • Profile picture of the author jakesellers
    Go to yer control panel, find phpmyadmin, find yer wordpress database, click it, click the "export" tab, scroll to bottom, check the "save as file" box, download, save somewhere safe, repeat weekly.
    {{ DiscussionBoard.errors[1049850].message }}
  • Profile picture of the author BoDSN
    download all your folders with your ftp program. for database backup use:
    WordPressBackup.com free account with wp plugin. backup of database about 3 times a day.

    Do a manual backup once in awhile to be safe, use jakesellers method above
    {{ DiscussionBoard.errors[1049860].message }}
  • Profile picture of the author jakesellers
    For all the files, something like winscp, ftp into server, click and drag web root (prolly public_html) to somewhere convenient on your hard drive, I don't remember if it'll grab hidden files by default but worse case you just have to set permalinks from wp dashboard.
    {{ DiscussionBoard.errors[1049866].message }}
  • Profile picture of the author Abledragon
    If you're using WordPress.org (self hosted) install a plugin such as WP-DBManager and back up your database.

    Then fire up your FTP client and transfer your entire WordPress folder (public_html if it's in your root, or blog, wordpress or whatever you've named it if it's in a directory) back to your PC.

    Cheers,

    Martin.
    Signature
    WealthyDragon - Earning My Living Online
    {{ DiscussionBoard.errors[1049971].message }}
  • Profile picture of the author The Pension Guy
    Define "redefining the database", please...
    Assuming you lost a whole site (although I don't really understand what that means), you create an empty database, add a user, set user ALL privileges and import your sql file into it. That would be all.
    Oh, and edit your config file before uploading it with the name/user/host of the new DB.

    If the DB is imported intact and you have the same plugins uploaded in the wp-content/plugins directory, they will all be active. (Their active/ineactive status - as wll as all your other settings - are stored in the database). However, as we know from various troubleshooting experiences, deleting a plugin via FTP will deactivate it automatically.
    Signature

    {{ DiscussionBoard.errors[1054211].message }}
  • Profile picture of the author thunderbird
    Yup, I've done it lots of times. Pretty simple. I even put together a little ebook on how to do it (supporting material for my product).
    Signature

    Project HERE.

    {{ DiscussionBoard.errors[1054256].message }}
  • Profile picture of the author Sean Roberts
    Not sure, but this may be of some help?

    www(dot)blogtrafficexchange(dot)com/wordpress-backup/
    {{ DiscussionBoard.errors[1054414].message }}
  • Profile picture of the author MattSanti
    You can use the wordpress back up plugin and have back ups emailed to you...that's about as passive as back up can get without lifting a finger.


    Wordpress backup plugin I use:

    WordPress › WP-DB-Backup WordPress Plugins
    Signature
    Clickbank InfoProduct website for sale: ElementsOfMemory.com. Online Memory Improvement Video Course. PM me with questions.
    {{ DiscussionBoard.errors[1054457].message }}
  • Profile picture of the author cyberchick
    The easiest way is by doing a database backup with the WP DB Plugin and then doing a home directory backup from within cPanel. Having both files will reinstall your site with a couple of cliks as long as you've got the database login and name.

    Hope this helps.

    Monika
    {{ DiscussionBoard.errors[1055066].message }}
  • Profile picture of the author Salespectus
    Hi,

    Here are other ways if you have a self-hosted wordpress blog.

    Your blog is divided into 2 parts:

    1. the wordpress application software whose files end up in a directory such as

    wwwdotyoursitedotcom/yourwordpressblog
    or wwwdotyourwordpressblogdotcom

    2. the data (aka content) which resides in a MySQL database. This is a different directory such as

    ../MySQL/data/yourwordpressblogdatabase

    So to backup a "whole site", you need to have access to your web server (via shell or FTP) and download all the files in the above 2 directories.

    Yourwordpressblog Backup

    (i) Install an FTP program on your computer.
    (ii) Run the FTP program and download all the files contained in "yourwordpressblog" directory.
    However, this results in long download times and is overall inefficient.

    Here is what you can do to reduce the download time if your webhost uses Linux as the operating system for the webserver and you have a windows computer:

    (i) Download and install PuTTY - A free telnet and SSH Client for Windows and Unix platforms. It allows you to connect to your web server and run a remote session on your computer over a network.
    (ii) Run PuTTY and login to your website account and access your "yourwordpressblog" directory.
    (iii) Zip the files in the directory by typing in this linux shell command:

    tar -zcvf backup-yourwordpressblog.tgz yourwordpressblog/

    where backup-yourwordpressblog.tgz is the name of the zipped and compressed file.

    (iv)Download the file back-yourwordpressblog.tgz to your computer using an FTP program.

    Note: some webhosts allow their customers to run shell commands through control panels, in which case you don't have to install PuTTY.

    Database Backup

    You will need phpMyAdmin - a database management application that will allow you to export your database.

    (i) Login to your phpMyAdmin on your website.
    (ii) Locate and click on "yourwordpressblogdatabase"
    (iii) Click on Export.
    (iv) Scroll down to the bottom and check "Save as file".
    (v) Click Go (opens window prompting you choose a location to save the exported database on your computer).
    This will export the database in SQL format which is the standard format for databases.

    Other database backup options

    (i) Run PuTTY and connect to your web server as above, locate the directory, zip and download.
    (ii) Run PuTTY and connect to your web server and your MySQL server, then use "mysqldump" client - a backup program for MySQL databases:

    mysqldump yourwordpressblogdatabase | gzip > yourwordpressblogdatabase`date "+%Y-%m-%d"`.sql.gz

    Download the file yourwordpressblogdatabase`date "+%Y-%m-%d"`.sql.gz to your computer using an FTP program
    or add other command options to mysqldump that downloads your database straight to your desktop.

    To restore, just upload your backup files.

    These methods will backup your site, themes, plugins or widgets, settings and all the content.

    So to answer you question, quick and easy way to backup a Wordpress blog is:

    .use PuTTY and an FTP prgram to back up wordpress application directory.
    .use phpMyAdmin to back up your wordpress blog database directory.

    And by the way, with linux shell commands, you can back-up your site regularly through "cron jobs" on autopilot.

    Regards
    {{ DiscussionBoard.errors[1060324].message }}
  • Profile picture of the author Rob Canyon
    Dayne,

    ftp everything to your desktop and subscribe to carbonite for less than $5 per month.

    They automatically backup everything on your pc... 2 week free trial too.
    Signature
    {{ DiscussionBoard.errors[1060577].message }}
  • Profile picture of the author TheRichJerksNet
    Have a host with cPanel and do a complete server backup... When you have a complete server backup all you need to do to restore is click a browse button, locate the backup and click "restore" it's that simple...

    So basically 5 or so clicks and you have a backup and restore.

    It is far better to have a complete server backup vs just a blog backup.. I just love some of these complex long detailed post on how to backup ..LOL

    James
    {{ DiscussionBoard.errors[1060613].message }}
    • Profile picture of the author tonyscott
      Originally Posted by TheRichJerksNet View Post

      Have a host with cPanel and do a complete server backup... When you have a complete server backup all you need to do to restore is click a browse button, locate the backup and click "restore" it's that simple...

      So basically 5 or so clicks and you have a backup and restore.

      It is far better to have a complete server backup vs just a blog backup.. I just love some of these complex long detailed post on how to backup ..LOL

      James
      James, just to clarify, do you mean use the backup wizard in the files section of cpanel? and partial backup?

      Tony
      {{ DiscussionBoard.errors[1060753].message }}
      • Profile picture of the author TheRichJerksNet
        Originally Posted by tonyscott View Post

        James, just to clarify, do you mean use the backup wizard in the files section of cpanel? and partial backup?

        Tony
        Tony,
        Yes just use the cpanel backup section .. Take 2 minutes to make a full backup and do a full restore... Simple, Easy, and no download this folder or that folder and then download this sql and that sql ..

        James
        {{ DiscussionBoard.errors[1060812].message }}
  • Profile picture of the author PatriciaJ
    This sorta coincides with something I was thinking about. Would these steps be used to move self hosted blogs to another host?
    {{ DiscussionBoard.errors[1061068].message }}
    • Profile picture of the author TheRichJerksNet
      Originally Posted by PatriciaJ View Post

      This sorta coincides with something I was thinking about. Would these steps be used to move self hosted blogs to another host?
      Yes if you are moving from one cPanel to another... All you do is create the backup go to the new server and restore.. You will have to create the db username, passwords and etc... But other than that you can move an entire site in just a few minutes.

      James
      {{ DiscussionBoard.errors[1061584].message }}

Trending Topics