WordPress Backups

 

Topics Covered in this Session:

topics-covered

  • Why should you do backups
  • Backup Tools
  • Backup Scenarios
  • Restoring from Backup

Watch the Complete Session Recording:

 

Here is the Session as Audio MP3:

MP3 Icon

 

Audio only: MP3 File [to download right-click and save-as]

 

Here is the Complete Presentation for Download:

download-assets

 

Complete Session Slides: Session Slides (1.8 MB)

Notes for this Session:

step-by-step

Please watch the recording above first!

Quote of the Session: “If it’s not automated, then it won’t happen.”

 

Backups – Why should you bother?

1. You could get hacked
2. Your shared server could crash and you lose everything
3. You could make a mistake customizing your site and need to recover something
4. You update or add a plugin that has a conflict and causes problems

 

Why don’t people back up?

Everyone knows you should back up your sites – and your clients sites. But most people don’t. Why?

1. Time consuming
2. Don’t understand all the pieces
3. Don’t have the right tools
4. Don’t have a process in place

 

Backup Plan for You

Until recently, there were not good tools that made it easy to backup your files and database together.

Make sure to back up both Files + DB regularly, and store your backups in more than one location.

 

Let’s take a look at how WordPress really works?

All your text and settings are stored in the DB. This is why you can switch themes and change the look & feel of your website. Files include: images, plugins, themes, theme customizations, PDF downloads.

Note: Most plugins and themes might also store configuration settings in the WordPress DB.

 

Our Favorite Backup Tools

We’re not associated with any of these guys. Other options are available.

1. BackupWordPress – by HumanMade (Free) http://wordpress.org/extend/plugins/backupwordpress/
2. WordPress Backup to Dropbox (Free) http://wordpress.org/extend/plugins/wordpress-backup-to-dropbox/
3. BlueHost SitePro Backup ($) http://www.expand2web.com/blog/hop/bluehost.html/
4. BackupBuddy ($$) http://www.expand2web.com/blog/hop/backupbuddy.html
5. VaultPress ($$$) http://vaultpress.com/

 

Backup Scenarios

Scenario 1) Mission critical, content updated frequently (VaultPress)
Scenario 2) Mission critical, content not updated frequency (Backup WordPress + SiteBackupPro or equivalent)
Scenario 3) Client site, you are not hosting it, what do you do? (WordPress Backup for DropBox)

 

Restoring from Backups

Restoring your files

Restoring lost files from the wp-content folder is easy:

1) Log in to your hosting server using a FTP client or Filemanager (provided by your hosting company)
2) Make sure you are in the “root” of your WordPress install
3) Drag your backup “wp-content” folder into your FTP client window and choose to “overwrite and replace” the current wp-content folder.

 

Restoring your database

Database requires an import and PHPMyAdmin, but your hosting provider will assist you with that.

1) Log in to your hosting providers cpanel
2) Click on phpMyAdmin

3) FTP into your WordPress install and look for your wp-config file. Open it and write down your database user name and your database password.

4) Log into phpMyAdmin with those credentials
5) Select your WordPress database (left side bar)
6) Click the “import” tab and select your backup file

7) Choose to replace existing files and tables.

Your site should be restored.

Optional 8) If your pages bring up a 404 error simply set your Permalinks to default and Save. Look if the pages are back and then change the permalinks back again to your custom setting.

(Pro tip: your database name and user is in wp-config.php file which is located in the root of your hosting server)

 

External Links and Resources:

additional resources

Dropbox: http://www.dropbox.com/

Uncategorized

About Thomas

Lead Developer and Community Manager

Comments are closed.