SlideShare une entreprise Scribd logo
1  sur  45
Télécharger pour lire hors ligne
r3df.com
lumostech.training
Rick Radko
WordPress website backups
Ottawa WordPress Meetup
May 4th, 2016
– They’re not optional!
© 2016 Rick Radko, r3df.com
A little bit about me
Rick Radko – R-Cubed Design Forge: r3df.com
Software, website and app developer/designer,
trainer & speaker.
Creating custom web sites since 1996, and
WordPress sites since 2008.
WordPress enthusiast.
 Co-organizer of:
WordCamp Ottawa: 2013, 2014, 2016
The Ottawa WordPress Group.
1
© 2016 Rick Radko, r3df.com
Goal
Answer the questions:
 Why back up?
 What to back up?
 When to back up?
 Where to back up?
 How to back up?
Slides: http://www.slideshare.net/r3df
2
© 2016 Rick Radko, r3df.com
Why back up?
3
© 2016 Rick Radko, r3df.com
Why back up?
Hardware failures:
 Disk drives fail.
Accidental deletions & damage:
 Who makes mistakes? - Everybody!
One of the makers of Backup Buddy talks about
both of these issues happening to him, in this talk:
 http://wordpress.tv/2011/01/29/matt-danner-why-
you-need-a-wordpress-backup/
4
© 2016 Rick Radko, r3df.com
More reasons you need a backup
Hacking/Malware/Virus:
 Can completely trash a site.
 May have all your files deleted.
 Every single file could be altered.
Over 1000 files in an empty WordPress install.
2-5000 files in typical small active sites.
10,000+ files in large sites with complex plugins
 Database can be infected.
5
© 2016 Rick Radko, r3df.com
Even more reasons you need a backup
Updates:
 Bugs
 Incompatibility
 Update fails to complete
6
© 2016 Rick Radko, r3df.com
If you lost your WordPress site, how long would it
take you to rebuild?
a) Minutes – because I have reliable backup.
b) Hours.
c) Days.
d) Weeks.
7
© 2016 Rick Radko, r3df.com
Reconstructing a site without a backup
Even small sites take significant effort to rebuild:
Reinstalling & reconfiguring:
 WordPress.
 Plugins.
 The theme
 Customizations?
8
© 2016 Rick Radko, r3df.com
Reconstructing content
Recovering content:
 Google, Bing etc. may have cached copies.
 Get them immediately!
 A lot of cut and paste and editing work.
 Re-uploading images.
Rebuilds cost: $$ and lost uptime.
9
© 2016 Rick Radko, r3df.com
What to back up?
10
© 2016 Rick Radko, r3df.com
What to back up?
2 things are needed to completely back up a
WordPress website:
1. A copy of the database - Which stores:
 All of your site content.
 Settings and config for WordPress, plugins and
themes.
2. A copy of the files:
 WordPress files, plugin files, theme files
Could be re-installed - but takes a lot of effort!
 Most important: UPLOADS!!!
wp-content folder - images & other added data
11
© 2016 Rick Radko, r3df.com
Database only back ups
If don’t do any file or media uploads*, then only
your database is changing and you can:
 Back up your database regularly.
 Only back up your files when they change.
Each database backup will pair with the last file
backup, until changes are made to the files.
* Embeds (Youtube etc.) are not uploads.
12
© 2016 Rick Radko, r3df.com
Partial back ups
Some back-up systems will let you take a ”partial”
or “incremental” backup.
 Only saves the changes since the last backup.
 Reduces data to save.
 Increases restore complexity.
Higher risk of a corrupted backup.
13
© 2016 Rick Radko, r3df.com
When to back up?
14
© 2016 Rick Radko, r3df.com
When to back up?
For regular backups consider:
 The amount of data being added routinely:
 Your posting frequency.
 Visitor contribution frequency.
 How critical your site is.
 How big the site is.
 Amount of data that needs to be moved and stored.
15
© 2016 Rick Radko, r3df.com
When to back up continued?
Extra backups for:
 Significant change.
 WordPress, plugin or theme updates.
 Site overhaul or new content launch.
Plan for the unexpected.
Whether you back up daily, weekly or monthly
depends on your data change and how much you
are willing to loose…
16
© 2016 Rick Radko, r3df.com
Where to back up?
17
© 2016 Rick Radko, r3df.com
Where to back up
Off of your server!
 A backup on your server:
 Does not help with most of the issues for needing a
backup.
 A file on your server could be a security issue.
Other points:
 Off site (not in the same location as the server).
 Keeping 2 or 3 separate copies is recommended.
 Backup history – a period of older copies.
 Week of daily backups + 2 monthly backups.
18
© 2016 Rick Radko, r3df.com
Getting the backup off of the server
Backups can be pretty big:
 A complete backup of:
 An empty WordPress install is about 6 MB
 Average sites are 50-100 MB
 Large sites in the 100’s of MB.
19
© 2016 Rick Radko, r3df.com
FTP it off the server
FTP is an option, but you need a place to FTP to:
 A common idea is to use another hosting account
somewhere.
 Most shared hosting does not allow data storage on
their servers (read the fine print in your TOS).
 Some hosting services offer storage, expensive
unless you have volume. (large corporation)
20
© 2016 Rick Radko, r3df.com
Send it to the cloud
Many plugins will let you store your backups on
one of the many cloud services.
 Amazon S3
 Dropbox
 Google Drive
 +More
This is a reasonable option for most sites.
 Cloud storage fees are quite low.
 Off site.
21
© 2016 Rick Radko, r3df.com
How much does the cloud cost?
22
© 2016 Rick Radko, r3df.com
Backup compromises
Ultimately the decision of :
 what
 when
 where
to backup your site will involve assessments of risk
and possibly compromises.
23
© 2016 Rick Radko, r3df.com
How to back up?
24
© 2016 Rick Radko, r3df.com
How to back up
Lets look at some tools/methods to do backups.
I’ve grouped them into 4 rough categories:
 Manual backups
 Backup plugins
 Backup services
 Site managers
25
© 2016 Rick Radko, r3df.com
Manual backups
Hosting control panel
 Most hosting control panels offer a backup option.
 Usually not automated.
 May not be very granular. (entire account only)
 You likely will also be able to backup by:
 Compressing (zip/archive) your files into an archive.
 Dumping (exporting ) your MySQL database.
(phpMyAdmin, and other tools)
 FTPing the files off the server.
26
© 2016 Rick Radko, r3df.com
Manual backups continued
The archive and SQL dump - pros:
 Very granular – any site/part of a site you want.
 Very reliable, .zip + sql dump is very portable, no
special software/tools needed to restore.
Tip:
 Including the date, 2016-04-16, in the names of
both the .zip and .sql files, helps keep backup files
together.
27
© 2016 Rick Radko, r3df.com
Manual backups continued again
The archive and SQL dump - cons:
 Need some knowledge:
 Database imports/exports.
Some GUI tools: phpMyAdmin.
 How to archive/un-archive (compress, .zip, gzip etc.)
 Comfortable with file systems on the server
Often Linux, or Unix variant.
 Need additional scripts for site migration.
 Simple "search and replace" does not take into
account serialized data.
 No automated backups. (unless you script it)
28
© 2016 Rick Radko, r3df.com
Making sure it happens
Regular backups, daily, weekly or monthly, should
be automated, or they will not happen regularly.
 It’s not a fun task!
 We forget, or “don’t
have time”
© 2016 Rick Radko, r3df.com
Back up plugins
There are a lot of choices in plugins for back up.
 Many are free. (wordpress.org)
 Some are paid.
Key features to look for:
 Automated/scheduled backups.
 A must if you want reliable backups.
 Manual backups (on demand)
 Using the same settings as your automated
backups.
30
© 2016 Rick Radko, r3df.com
Plugin features continued
 File/directory exclusions.
 You may have some files you don’t want backed up.
 Allows backing up database only, files only or both.
 Flexibility in your backup strategy.
 Schedule multiple back ups on different timings.
 Offers choice of backup locations:
 Backups to cloud:
Dropbox, Amazon, Rackspace, Google Drive, Others?
 FTP to other servers/computers
 Email
31
© 2016 Rick Radko, r3df.com
Restore and migration features
Restore features:
 No install restores.
 Don’t need WordPress installed.
 May need a supporting script.
 Malware scans.
 Database optimization/repair.
Site migration:
 Important only if you want to move your site to a
new domain.
32
© 2016 Rick Radko, r3df.com
Multisite issues
If you have multisite enabled, consider whether the
backup plugin can:
 Backup sites individually?
 Backup a sub-network?
 Restore sites individually?
 Restore a sub-network?
 Migrate a single multisite site to/from a single site
install?
33
© 2016 Rick Radko, r3df.com
Some plugins (no order, or recommendation given)
On wordpress.org:
 BackUpWordPress
 http://wordpress.org/extend/plugins/backupwordpress/
 BackWPup (has $ version too)
 http://wordpress.org/extend/plugins/backwpup/
 WordPress Backup to Dropbox
 http://wordpress.org/extend/plugins/wordpress-backup-to-dropbox/
BackupBuddy - $
 http://ithemes.com/purchase/backupbuddy/
34
© 2016 Rick Radko, r3df.com
Back up services
When considering a service:
 Most of the same features as for plugins need to
be considered.
 One item that stands out is:
 Where are they storing your files?
 Secure – encrypted?
35
© 2016 Rick Radko, r3df.com
More on back up services
Unlike plugins:
 Most of the services cost.
 But they include storage.
 Threat and malware scanners are common in the
services.
 Some offer incremental backups.
 Only backup what has changed instead of the whole
site.
 Most don’t store files on your server.
36
© 2016 Rick Radko, r3df.com
A couple of services (no order, or recommendation given)
VaultPress
 From the people who make WordPress
 Starts at $9/month
 http://vaultpress.com/
BlogVault
 Starts at $9/month
 http://blogvault.net/
37
© 2016 Rick Radko, r3df.com
Site managers
Manage multiple WordPress sites from one central
admin panel.
 Offer a bunch of features for managing sites:
 Remote updates
 Add plugins themes
 Bulk postings
 Site analysis
 Backups
38
© 2016 Rick Radko, r3df.com
Two site managers (no order, or recommendation given)
InfiniteWP, MainWP
 Download core software - free
 Add-on options for many features - $
 Backups to cloud
 http://infinitewp.com/, https://mainwp.com/
ManageWP
 Online service - $
 Backups to cloud
 http://managewp.com/
39
© 2016 Rick Radko, r3df.com
Automated backups and cron
To automate backups, plugins need something to
tell them to run, cron does that.
Unix/Linux Cron:
 Runs at set time, or on regular intervals based on
the server clock.
 Reliable.
 Not easy to use. Set using Unix/Linux commands.
Most backup plugins use "WordPress cron", not the
server cron.
40
© 2016 Rick Radko, r3df.com
WordPress cron – not the same!
WordPress cron:
 Triggered by visits to your site, NOT a clock!
 A WordPress cron job, set for 1am, may not happen
until hours later.
41
© 2016 Rick Radko, r3df.com
Test your backup flow!
Test your backups!
 Backups only work if you can restore!
 Back up a test site and try restoring it.
 Make sure that automated back-ups are actually
running.
 Periodically check that you can actually restore
your backups.
Try new backup plugins on a test site, not your live
sites.
42
© 2016 Rick Radko, r3df.com
One final note on backups
Backup is often not spelled correctly, a bit of
Googling reveals that:
The verb form is back up in two words, whereas
the noun is backup.
 Did you back up the hard drive?
 Where did you store the backup?
43
© 2016 Rick Radko, r3df.com
Contact
Rick Radko
 email: wpinfo@r3df.com
 twitter: @r3designforge
Websites:
 r3df.com
 lumostech.training
Slides at:
 www.slideshare.net/r3df
44

Contenu connexe

Tendances

Gutenberg - The future of WordPress
Gutenberg - The future of WordPressGutenberg - The future of WordPress
Gutenberg - The future of WordPressR-Cubed Design Forge
 
How to WordPress: the basics, part 2
How to WordPress:  the basics, part 2How to WordPress:  the basics, part 2
How to WordPress: the basics, part 2R-Cubed Design Forge
 
WordPress customizer: for themes and more
WordPress customizer: for themes and moreWordPress customizer: for themes and more
WordPress customizer: for themes and moreR-Cubed Design Forge
 
Overview on WordPress theme file structure and working functionality
Overview on WordPress theme file structure and working functionality Overview on WordPress theme file structure and working functionality
Overview on WordPress theme file structure and working functionality Rakesh Kushwaha
 
Wordpress Command-Line
Wordpress Command-LineWordpress Command-Line
Wordpress Command-Linewpperu
 

Tendances (6)

Gutenberg - The future of WordPress
Gutenberg - The future of WordPressGutenberg - The future of WordPress
Gutenberg - The future of WordPress
 
How to WordPress: the basics, part 2
How to WordPress:  the basics, part 2How to WordPress:  the basics, part 2
How to WordPress: the basics, part 2
 
WordPress customizer: for themes and more
WordPress customizer: for themes and moreWordPress customizer: for themes and more
WordPress customizer: for themes and more
 
Overview on WordPress theme file structure and working functionality
Overview on WordPress theme file structure and working functionality Overview on WordPress theme file structure and working functionality
Overview on WordPress theme file structure and working functionality
 
March 2016 WordPress News
March 2016 WordPress NewsMarch 2016 WordPress News
March 2016 WordPress News
 
Wordpress Command-Line
Wordpress Command-LineWordpress Command-Line
Wordpress Command-Line
 

En vedette

Red seacrossing
Red seacrossingRed seacrossing
Red seacrossingBecky Kew
 
Tutorial de picasa
Tutorial de picasaTutorial de picasa
Tutorial de picasaissabel17
 
Sistem pemerintahan
Sistem pemerintahanSistem pemerintahan
Sistem pemerintahanskaw87
 
Remembering Pat Kelley
Remembering Pat KelleyRemembering Pat Kelley
Remembering Pat KelleyRichard Kelley
 
Підсумки діяльності Українського форуму благодійників у 2011 році
Підсумки діяльності Українського форуму благодійників у 2011 роціПідсумки діяльності Українського форуму благодійників у 2011 році
Підсумки діяльності Українського форуму благодійників у 2011 роціufb
 
Blogging in the Am Law 200 - Slides from LexBlog's Webinar
Blogging in the Am Law 200 - Slides from LexBlog's WebinarBlogging in the Am Law 200 - Slides from LexBlog's Webinar
Blogging in the Am Law 200 - Slides from LexBlog's WebinarLexBlog, Inc.
 
Nur faidah djahuddin 277
Nur faidah djahuddin 277Nur faidah djahuddin 277
Nur faidah djahuddin 277Idha FaidahDj
 
Internet skills for researchers oct11
Internet skills for researchers oct11Internet skills for researchers oct11
Internet skills for researchers oct11Rachel Henderson
 
District technology plan
District technology planDistrict technology plan
District technology planlindawoessner
 
Колекция Право хоро
Колекция Право хороКолекция Право хоро
Колекция Право хороDaniela Popova
 
Television presentation for class (3)
Television presentation for class (3)Television presentation for class (3)
Television presentation for class (3)Setzerma
 
你知道你的父母昨天晚餐吃了什麼嗎
你知道你的父母昨天晚餐吃了什麼嗎你知道你的父母昨天晚餐吃了什麼嗎
你知道你的父母昨天晚餐吃了什麼嗎kayoweb
 
Question, question, question
Question, question, questionQuestion, question, question
Question, question, questionBob Read
 
Treball biologia(1)
Treball biologia(1)Treball biologia(1)
Treball biologia(1)7Charly7
 

En vedette (20)

Red seacrossing
Red seacrossingRed seacrossing
Red seacrossing
 
Session2 dilshan tirimanna fdn group
Session2 dilshan tirimanna fdn groupSession2 dilshan tirimanna fdn group
Session2 dilshan tirimanna fdn group
 
Tutorial de picasa
Tutorial de picasaTutorial de picasa
Tutorial de picasa
 
Sistem pemerintahan
Sistem pemerintahanSistem pemerintahan
Sistem pemerintahan
 
Remembering Pat Kelley
Remembering Pat KelleyRemembering Pat Kelley
Remembering Pat Kelley
 
Workbook sesion 13
Workbook sesion 13Workbook sesion 13
Workbook sesion 13
 
Підсумки діяльності Українського форуму благодійників у 2011 році
Підсумки діяльності Українського форуму благодійників у 2011 роціПідсумки діяльності Українського форуму благодійників у 2011 році
Підсумки діяльності Українського форуму благодійників у 2011 році
 
Blogging in the Am Law 200 - Slides from LexBlog's Webinar
Blogging in the Am Law 200 - Slides from LexBlog's WebinarBlogging in the Am Law 200 - Slides from LexBlog's Webinar
Blogging in the Am Law 200 - Slides from LexBlog's Webinar
 
Nur faidah djahuddin 277
Nur faidah djahuddin 277Nur faidah djahuddin 277
Nur faidah djahuddin 277
 
Internet skills for researchers oct11
Internet skills for researchers oct11Internet skills for researchers oct11
Internet skills for researchers oct11
 
District technology plan
District technology planDistrict technology plan
District technology plan
 
Колекция Право хоро
Колекция Право хороКолекция Право хоро
Колекция Право хоро
 
Television presentation for class (3)
Television presentation for class (3)Television presentation for class (3)
Television presentation for class (3)
 
你知道你的父母昨天晚餐吃了什麼嗎
你知道你的父母昨天晚餐吃了什麼嗎你知道你的父母昨天晚餐吃了什麼嗎
你知道你的父母昨天晚餐吃了什麼嗎
 
Brown, dan angeles y demonios
Brown, dan   angeles y demoniosBrown, dan   angeles y demonios
Brown, dan angeles y demonios
 
Question, question, question
Question, question, questionQuestion, question, question
Question, question, question
 
Workbook sesion6
Workbook sesion6Workbook sesion6
Workbook sesion6
 
R42063
R42063R42063
R42063
 
Treball biologia(1)
Treball biologia(1)Treball biologia(1)
Treball biologia(1)
 
Test1
Test1Test1
Test1
 

Similaire à WordPress website backups – they're not optional

Backing up your WordPress website – it’s not optional
Backing up your WordPress website – it’s not optionalBacking up your WordPress website – it’s not optional
Backing up your WordPress website – it’s not optionalR-Cubed Design Forge
 
Intro to development sites and site migration
Intro to development sites and site migrationIntro to development sites and site migration
Intro to development sites and site migrationR-Cubed Design Forge
 
How to WordPress: the basics, part 1
How to WordPress:  the basics, part 1How to WordPress:  the basics, part 1
How to WordPress: the basics, part 1R-Cubed Design Forge
 
Introduction to WordPress for Beginners
Introduction to WordPress for BeginnersIntroduction to WordPress for Beginners
Introduction to WordPress for BeginnersR-Cubed Design Forge
 
A peek into the world of WordPress plugin development
A peek into the world of WordPress plugin developmentA peek into the world of WordPress plugin development
A peek into the world of WordPress plugin developmentR-Cubed Design Forge
 
Setting up a local web server environment
Setting up a local web server environmentSetting up a local web server environment
Setting up a local web server environmentR-Cubed Design Forge
 
Introduction to WordPress, WordCamp Ottawa 2019
Introduction to WordPress, WordCamp Ottawa 2019Introduction to WordPress, WordCamp Ottawa 2019
Introduction to WordPress, WordCamp Ottawa 2019rickrrr
 
Introduction to WordPress Class 6
Introduction to WordPress Class 6Introduction to WordPress Class 6
Introduction to WordPress Class 6Adrian Mikeliunas
 
Gutenberg 101/Blocks - How to get along with, and even like WordPress's block...
Gutenberg 101/Blocks - How to get along with, and even like WordPress's block...Gutenberg 101/Blocks - How to get along with, and even like WordPress's block...
Gutenberg 101/Blocks - How to get along with, and even like WordPress's block...R-Cubed Design Forge
 
Word press bg 16x9 draft 16
Word press bg 16x9 draft 16Word press bg 16x9 draft 16
Word press bg 16x9 draft 16msz
 
Web Publishing & WordPress Introduction 16x9 draft 17
Web Publishing & WordPress Introduction 16x9 draft 17Web Publishing & WordPress Introduction 16x9 draft 17
Web Publishing & WordPress Introduction 16x9 draft 17msz
 
8 Ways to Backup and Restore Your WordPress Website
8 Ways to Backup and Restore Your WordPress Website8 Ways to Backup and Restore Your WordPress Website
8 Ways to Backup and Restore Your WordPress WebsiteWPWhiteBoard
 
Responsible [digital] Home Ownership
Responsible [digital] Home OwnershipResponsible [digital] Home Ownership
Responsible [digital] Home OwnershipDenise (Dee) Teal
 
Finding themes for your WordPress site
Finding themes for your WordPress siteFinding themes for your WordPress site
Finding themes for your WordPress siteR-Cubed Design Forge
 
Nashville WordPress meetup - iThemes' Backup Buddy
Nashville WordPress meetup - iThemes' Backup BuddyNashville WordPress meetup - iThemes' Backup Buddy
Nashville WordPress meetup - iThemes' Backup BuddyD'nelle Dowis
 
Rational Rhapsody 8.3 with Cygwin and iFixes (www.executablembse.com)
Rational Rhapsody 8.3 with Cygwin and iFixes (www.executablembse.com)Rational Rhapsody 8.3 with Cygwin and iFixes (www.executablembse.com)
Rational Rhapsody 8.3 with Cygwin and iFixes (www.executablembse.com)Fraser Chadburn
 

Similaire à WordPress website backups – they're not optional (20)

Backing up your WordPress website – it’s not optional
Backing up your WordPress website – it’s not optionalBacking up your WordPress website – it’s not optional
Backing up your WordPress website – it’s not optional
 
Backups, Backups, Backups
Backups, Backups, BackupsBackups, Backups, Backups
Backups, Backups, Backups
 
Backups, Backups, Backups
Backups, Backups, BackupsBackups, Backups, Backups
Backups, Backups, Backups
 
Intro to development sites and site migration
Intro to development sites and site migrationIntro to development sites and site migration
Intro to development sites and site migration
 
How to WordPress: the basics, part 1
How to WordPress:  the basics, part 1How to WordPress:  the basics, part 1
How to WordPress: the basics, part 1
 
Multisite for multilingual
Multisite for multilingualMultisite for multilingual
Multisite for multilingual
 
Introduction to WordPress for Beginners
Introduction to WordPress for BeginnersIntroduction to WordPress for Beginners
Introduction to WordPress for Beginners
 
Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPress
 
A peek into the world of WordPress plugin development
A peek into the world of WordPress plugin developmentA peek into the world of WordPress plugin development
A peek into the world of WordPress plugin development
 
Setting up a local web server environment
Setting up a local web server environmentSetting up a local web server environment
Setting up a local web server environment
 
Introduction to WordPress, WordCamp Ottawa 2019
Introduction to WordPress, WordCamp Ottawa 2019Introduction to WordPress, WordCamp Ottawa 2019
Introduction to WordPress, WordCamp Ottawa 2019
 
Introduction to WordPress Class 6
Introduction to WordPress Class 6Introduction to WordPress Class 6
Introduction to WordPress Class 6
 
Gutenberg 101/Blocks - How to get along with, and even like WordPress's block...
Gutenberg 101/Blocks - How to get along with, and even like WordPress's block...Gutenberg 101/Blocks - How to get along with, and even like WordPress's block...
Gutenberg 101/Blocks - How to get along with, and even like WordPress's block...
 
Word press bg 16x9 draft 16
Word press bg 16x9 draft 16Word press bg 16x9 draft 16
Word press bg 16x9 draft 16
 
Web Publishing & WordPress Introduction 16x9 draft 17
Web Publishing & WordPress Introduction 16x9 draft 17Web Publishing & WordPress Introduction 16x9 draft 17
Web Publishing & WordPress Introduction 16x9 draft 17
 
8 Ways to Backup and Restore Your WordPress Website
8 Ways to Backup and Restore Your WordPress Website8 Ways to Backup and Restore Your WordPress Website
8 Ways to Backup and Restore Your WordPress Website
 
Responsible [digital] Home Ownership
Responsible [digital] Home OwnershipResponsible [digital] Home Ownership
Responsible [digital] Home Ownership
 
Finding themes for your WordPress site
Finding themes for your WordPress siteFinding themes for your WordPress site
Finding themes for your WordPress site
 
Nashville WordPress meetup - iThemes' Backup Buddy
Nashville WordPress meetup - iThemes' Backup BuddyNashville WordPress meetup - iThemes' Backup Buddy
Nashville WordPress meetup - iThemes' Backup Buddy
 
Rational Rhapsody 8.3 with Cygwin and iFixes (www.executablembse.com)
Rational Rhapsody 8.3 with Cygwin and iFixes (www.executablembse.com)Rational Rhapsody 8.3 with Cygwin and iFixes (www.executablembse.com)
Rational Rhapsody 8.3 with Cygwin and iFixes (www.executablembse.com)
 

Dernier

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 

Dernier (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 

WordPress website backups – they're not optional

  • 1. r3df.com lumostech.training Rick Radko WordPress website backups Ottawa WordPress Meetup May 4th, 2016 – They’re not optional!
  • 2. © 2016 Rick Radko, r3df.com A little bit about me Rick Radko – R-Cubed Design Forge: r3df.com Software, website and app developer/designer, trainer & speaker. Creating custom web sites since 1996, and WordPress sites since 2008. WordPress enthusiast.  Co-organizer of: WordCamp Ottawa: 2013, 2014, 2016 The Ottawa WordPress Group. 1
  • 3. © 2016 Rick Radko, r3df.com Goal Answer the questions:  Why back up?  What to back up?  When to back up?  Where to back up?  How to back up? Slides: http://www.slideshare.net/r3df 2
  • 4. © 2016 Rick Radko, r3df.com Why back up? 3
  • 5. © 2016 Rick Radko, r3df.com Why back up? Hardware failures:  Disk drives fail. Accidental deletions & damage:  Who makes mistakes? - Everybody! One of the makers of Backup Buddy talks about both of these issues happening to him, in this talk:  http://wordpress.tv/2011/01/29/matt-danner-why- you-need-a-wordpress-backup/ 4
  • 6. © 2016 Rick Radko, r3df.com More reasons you need a backup Hacking/Malware/Virus:  Can completely trash a site.  May have all your files deleted.  Every single file could be altered. Over 1000 files in an empty WordPress install. 2-5000 files in typical small active sites. 10,000+ files in large sites with complex plugins  Database can be infected. 5
  • 7. © 2016 Rick Radko, r3df.com Even more reasons you need a backup Updates:  Bugs  Incompatibility  Update fails to complete 6
  • 8. © 2016 Rick Radko, r3df.com If you lost your WordPress site, how long would it take you to rebuild? a) Minutes – because I have reliable backup. b) Hours. c) Days. d) Weeks. 7
  • 9. © 2016 Rick Radko, r3df.com Reconstructing a site without a backup Even small sites take significant effort to rebuild: Reinstalling & reconfiguring:  WordPress.  Plugins.  The theme  Customizations? 8
  • 10. © 2016 Rick Radko, r3df.com Reconstructing content Recovering content:  Google, Bing etc. may have cached copies.  Get them immediately!  A lot of cut and paste and editing work.  Re-uploading images. Rebuilds cost: $$ and lost uptime. 9
  • 11. © 2016 Rick Radko, r3df.com What to back up? 10
  • 12. © 2016 Rick Radko, r3df.com What to back up? 2 things are needed to completely back up a WordPress website: 1. A copy of the database - Which stores:  All of your site content.  Settings and config for WordPress, plugins and themes. 2. A copy of the files:  WordPress files, plugin files, theme files Could be re-installed - but takes a lot of effort!  Most important: UPLOADS!!! wp-content folder - images & other added data 11
  • 13. © 2016 Rick Radko, r3df.com Database only back ups If don’t do any file or media uploads*, then only your database is changing and you can:  Back up your database regularly.  Only back up your files when they change. Each database backup will pair with the last file backup, until changes are made to the files. * Embeds (Youtube etc.) are not uploads. 12
  • 14. © 2016 Rick Radko, r3df.com Partial back ups Some back-up systems will let you take a ”partial” or “incremental” backup.  Only saves the changes since the last backup.  Reduces data to save.  Increases restore complexity. Higher risk of a corrupted backup. 13
  • 15. © 2016 Rick Radko, r3df.com When to back up? 14
  • 16. © 2016 Rick Radko, r3df.com When to back up? For regular backups consider:  The amount of data being added routinely:  Your posting frequency.  Visitor contribution frequency.  How critical your site is.  How big the site is.  Amount of data that needs to be moved and stored. 15
  • 17. © 2016 Rick Radko, r3df.com When to back up continued? Extra backups for:  Significant change.  WordPress, plugin or theme updates.  Site overhaul or new content launch. Plan for the unexpected. Whether you back up daily, weekly or monthly depends on your data change and how much you are willing to loose… 16
  • 18. © 2016 Rick Radko, r3df.com Where to back up? 17
  • 19. © 2016 Rick Radko, r3df.com Where to back up Off of your server!  A backup on your server:  Does not help with most of the issues for needing a backup.  A file on your server could be a security issue. Other points:  Off site (not in the same location as the server).  Keeping 2 or 3 separate copies is recommended.  Backup history – a period of older copies.  Week of daily backups + 2 monthly backups. 18
  • 20. © 2016 Rick Radko, r3df.com Getting the backup off of the server Backups can be pretty big:  A complete backup of:  An empty WordPress install is about 6 MB  Average sites are 50-100 MB  Large sites in the 100’s of MB. 19
  • 21. © 2016 Rick Radko, r3df.com FTP it off the server FTP is an option, but you need a place to FTP to:  A common idea is to use another hosting account somewhere.  Most shared hosting does not allow data storage on their servers (read the fine print in your TOS).  Some hosting services offer storage, expensive unless you have volume. (large corporation) 20
  • 22. © 2016 Rick Radko, r3df.com Send it to the cloud Many plugins will let you store your backups on one of the many cloud services.  Amazon S3  Dropbox  Google Drive  +More This is a reasonable option for most sites.  Cloud storage fees are quite low.  Off site. 21
  • 23. © 2016 Rick Radko, r3df.com How much does the cloud cost? 22
  • 24. © 2016 Rick Radko, r3df.com Backup compromises Ultimately the decision of :  what  when  where to backup your site will involve assessments of risk and possibly compromises. 23
  • 25. © 2016 Rick Radko, r3df.com How to back up? 24
  • 26. © 2016 Rick Radko, r3df.com How to back up Lets look at some tools/methods to do backups. I’ve grouped them into 4 rough categories:  Manual backups  Backup plugins  Backup services  Site managers 25
  • 27. © 2016 Rick Radko, r3df.com Manual backups Hosting control panel  Most hosting control panels offer a backup option.  Usually not automated.  May not be very granular. (entire account only)  You likely will also be able to backup by:  Compressing (zip/archive) your files into an archive.  Dumping (exporting ) your MySQL database. (phpMyAdmin, and other tools)  FTPing the files off the server. 26
  • 28. © 2016 Rick Radko, r3df.com Manual backups continued The archive and SQL dump - pros:  Very granular – any site/part of a site you want.  Very reliable, .zip + sql dump is very portable, no special software/tools needed to restore. Tip:  Including the date, 2016-04-16, in the names of both the .zip and .sql files, helps keep backup files together. 27
  • 29. © 2016 Rick Radko, r3df.com Manual backups continued again The archive and SQL dump - cons:  Need some knowledge:  Database imports/exports. Some GUI tools: phpMyAdmin.  How to archive/un-archive (compress, .zip, gzip etc.)  Comfortable with file systems on the server Often Linux, or Unix variant.  Need additional scripts for site migration.  Simple "search and replace" does not take into account serialized data.  No automated backups. (unless you script it) 28
  • 30. © 2016 Rick Radko, r3df.com Making sure it happens Regular backups, daily, weekly or monthly, should be automated, or they will not happen regularly.  It’s not a fun task!  We forget, or “don’t have time”
  • 31. © 2016 Rick Radko, r3df.com Back up plugins There are a lot of choices in plugins for back up.  Many are free. (wordpress.org)  Some are paid. Key features to look for:  Automated/scheduled backups.  A must if you want reliable backups.  Manual backups (on demand)  Using the same settings as your automated backups. 30
  • 32. © 2016 Rick Radko, r3df.com Plugin features continued  File/directory exclusions.  You may have some files you don’t want backed up.  Allows backing up database only, files only or both.  Flexibility in your backup strategy.  Schedule multiple back ups on different timings.  Offers choice of backup locations:  Backups to cloud: Dropbox, Amazon, Rackspace, Google Drive, Others?  FTP to other servers/computers  Email 31
  • 33. © 2016 Rick Radko, r3df.com Restore and migration features Restore features:  No install restores.  Don’t need WordPress installed.  May need a supporting script.  Malware scans.  Database optimization/repair. Site migration:  Important only if you want to move your site to a new domain. 32
  • 34. © 2016 Rick Radko, r3df.com Multisite issues If you have multisite enabled, consider whether the backup plugin can:  Backup sites individually?  Backup a sub-network?  Restore sites individually?  Restore a sub-network?  Migrate a single multisite site to/from a single site install? 33
  • 35. © 2016 Rick Radko, r3df.com Some plugins (no order, or recommendation given) On wordpress.org:  BackUpWordPress  http://wordpress.org/extend/plugins/backupwordpress/  BackWPup (has $ version too)  http://wordpress.org/extend/plugins/backwpup/  WordPress Backup to Dropbox  http://wordpress.org/extend/plugins/wordpress-backup-to-dropbox/ BackupBuddy - $  http://ithemes.com/purchase/backupbuddy/ 34
  • 36. © 2016 Rick Radko, r3df.com Back up services When considering a service:  Most of the same features as for plugins need to be considered.  One item that stands out is:  Where are they storing your files?  Secure – encrypted? 35
  • 37. © 2016 Rick Radko, r3df.com More on back up services Unlike plugins:  Most of the services cost.  But they include storage.  Threat and malware scanners are common in the services.  Some offer incremental backups.  Only backup what has changed instead of the whole site.  Most don’t store files on your server. 36
  • 38. © 2016 Rick Radko, r3df.com A couple of services (no order, or recommendation given) VaultPress  From the people who make WordPress  Starts at $9/month  http://vaultpress.com/ BlogVault  Starts at $9/month  http://blogvault.net/ 37
  • 39. © 2016 Rick Radko, r3df.com Site managers Manage multiple WordPress sites from one central admin panel.  Offer a bunch of features for managing sites:  Remote updates  Add plugins themes  Bulk postings  Site analysis  Backups 38
  • 40. © 2016 Rick Radko, r3df.com Two site managers (no order, or recommendation given) InfiniteWP, MainWP  Download core software - free  Add-on options for many features - $  Backups to cloud  http://infinitewp.com/, https://mainwp.com/ ManageWP  Online service - $  Backups to cloud  http://managewp.com/ 39
  • 41. © 2016 Rick Radko, r3df.com Automated backups and cron To automate backups, plugins need something to tell them to run, cron does that. Unix/Linux Cron:  Runs at set time, or on regular intervals based on the server clock.  Reliable.  Not easy to use. Set using Unix/Linux commands. Most backup plugins use "WordPress cron", not the server cron. 40
  • 42. © 2016 Rick Radko, r3df.com WordPress cron – not the same! WordPress cron:  Triggered by visits to your site, NOT a clock!  A WordPress cron job, set for 1am, may not happen until hours later. 41
  • 43. © 2016 Rick Radko, r3df.com Test your backup flow! Test your backups!  Backups only work if you can restore!  Back up a test site and try restoring it.  Make sure that automated back-ups are actually running.  Periodically check that you can actually restore your backups. Try new backup plugins on a test site, not your live sites. 42
  • 44. © 2016 Rick Radko, r3df.com One final note on backups Backup is often not spelled correctly, a bit of Googling reveals that: The verb form is back up in two words, whereas the noun is backup.  Did you back up the hard drive?  Where did you store the backup? 43
  • 45. © 2016 Rick Radko, r3df.com Contact Rick Radko  email: wpinfo@r3df.com  twitter: @r3designforge Websites:  r3df.com  lumostech.training Slides at:  www.slideshare.net/r3df 44