Last Night My Blog Crashed
So I woke up this morning and jumped over to my blog. I noticed that my theme was still installed and that I could still log in to my dashboard but that there were no posts on my front page. All I saw was a “Page Not Found” error. I logged in to my dashboard and saw that every single post and page that I have ever created had been deleted. I have no idea how this happened but everything was gone. The database that held all of the information on my blog had apparently crashed. I freaked out a little bit and then remembered that I had taken some actions to safeguard against situations like this. I spent about 5 minutes reloading my last backup and everything was back to normal again. I may have lost one or two comments that may have come in over night but, for the most part, it’s like it had never happened.
It is scary because if I hadn’t have taken a few certain actions a few weeks ago, I would have been unable to recover my blog. I figured that there are probably a lot of bloggers out there that may not know how to backup their blog or how to recover their blog from a backup. It is really scary because your blog CAN go down at any time for no apparent reason whatsoever! Read this post and maybe you can put yourself in a situation where a database crash is nothing more than a 5 minute fix.
The very first thing that you should do is download and install the WP-DB-Backup plugin for wordpress. It’s a free plugin and can usually be searched for and installed from directly inside your Wordpress Dashboard. Get that installed today. Once it’s installed set it up to backup daily and send you an e-mail with the backup. By doing this, you can jump back to any point in time and recover all the information that crashed. If you don’t update very frequently, you can also opt to backup weekly. I prefer daily because I know I can restore comments from the previous day as well.
Now… If your blog ever goes down and you have been doing a good job of backing it up, here is how you restore your blog.
1. Login in to your CPanel account and scroll down until you find phpMyAdmin

2. Find the database that your blog is installed on. The backup files that are sent to you from WP-DB-Backup will share the same name as the database you need to recover. So if you are unsure of which database to open, refer to the filename of your backup file.

3. Click on the tab that says import at the top of the new screen that just opened.

4. Click on “choose file” and find the backup file that you are going to use to restore your blog.

That should do it. Your blog should be back in all of its glory. Having a database failure can be extremely scary! Fortunately, if you take the right precautions from the beginning, it can be a very quick and painless fix. If you only have one plugin installed for your blog, make sure that it is a backup plugin. It will save you someday!
Please feel free to make comments. Have you had your blog crash? Do you have any questions about making sure you are protected against your blog crashing?
You may also be interested in:






Hi Matt
How are ya?
That my friend is an excellant post, our blogs are the face of our business and it would be a disaster to lose it.
Great tutorial mate, this is a must have for anyone that uses a blog for a business online.
Nice mate
Speak soon
Marcus
marcus passey´s last blog ..My Stats, My Motivation, My Plan
Hey Matt,
Great post, even if it did come from something that could have been a bad situation.
Thanks for the tips I’m going to find that plugin now and bookmark this post incase I ever need to restore.
James
James Howard´s last blog ..Dean Holland’s coaching re-opens ( and he’s GIVING it away ! )
Hey Matt,
I actually installed this plugin a few days ago. It certainly puts your mind at rest knowing that backup is hitting your inbox each day!
Great post mate
Talk soon,
Paul
Paul Wilson´s last blog ..Zero to 1300 Subscribers in 9 weeks!
Hey Matt,
Thanks for the little tutorial of how to get our blog back up if worst were to happen.
Glad to see everything worked okay for you, and that you didn’t lose anything. I installed that plugin a few months back and luckily haven’t needed to use the backups yet. But it’s nice to know I can come by here and follow your instructions if it ever goes bye bye.
As always, excellent post!
Paul.
Paul Lear´s last blog ..FREE Traffic Tactics Interview with Lee McIntyre !!
Hi Matt,
Thank you for publishing such an important post!
I was not aware of the WP DB Backup plugin but I have now installed it and have scheduled a daily backup.
This will give me much needed peace of mind.
Thanks for bringing this to my attention!
David
David Walker´s last blog ..Who Wants FREE Coaching Worth $997?
Wow Matt, that’s a really bad way to start your day !
I do take back-ups from time to time, but not as frequently as I should and that’s partly because I it’s a bit a “fiddle” to do. But I didn’t know that there were plug-ins for that kind of thing … I shouldn’t be surprised – there should be a plug-in to make my supper ! Anyways, WP-DB-Backup is running as I write this, so I feel a lot happier now.
Thanks a lot Matt. All the best,
Roger
Roger´s last blog ..Simple Six Figures by Paul Evans
Matt,
Because of your WordPress Classroom, I have already completed the tasks you listed above! Now I know, even more, how valuable your blog and your WP Classroom videos are! I am so glad you recovered so quickly and I am very relieved to know that I too will recover as quickly if I were to suffer the same fate! Thanks! -Norene
Norene´s last blog ..Weekly Wrap-Up: Creating Quality
Hay Matt,
Thank you for your wonderful post.
Your instructions are very simple to follow.
I will install this plugin right away.
Take care,
Jeanette
Jeanette Fitzgerald´s last blog ..Blogs Get Hacked – It Could Happen To You
Hi Matt,
having lost my blog twice before,
I followed the advice you gave me in the wordpress
classroom also its a great way of explaining it all by showing your screenshots its given me a better understanding
cheers matt
mick
Matt,
This really is a scary reminder for all of us. After all the hard work put into a blog, to see it disappear into thin air is, well, scary.
Any way to automate the backups so I won’t forget?
Gil´s last blog ..SEO – Part 2
Hi Gil,
That is exactly what this great plugin does, it automates the whole process and even emails you the backups if you want it to.
Paul.
Paul Lear´s last blog ..FREE Traffic Tactics Interview with Lee McIntyre !!
Thanks for the jolt, Matt! Great reality check. I haven’t used that plugin before … I’m off to download it right now.
Phil
Phil Morgan´s last blog ..5 Simple Keys To Find the Top Search Keywords For Your Product Or Niche
Excellent post Matt. Making a back up is definitely on my ‘to do’ list now.
Great tutorial!!!
Rob
Rob Bradley´s last blog ..Why don’t you explain it to me? You’ve got five seconds…
Hey Matt!
Thanks for the tip. I have to say I don’t back up my blog as much as I should and just hearing that your blog crashed on you scares the @#%% out of me.
Thanks for the post!
Jim
Jim Hardin´s last blog ..Words without Meaning
Hi Matt,
Better be safe than sorry. Wise advise from you!
Thank you for the tip,
JanPaul
GistineeVerce, http://www.webjam.com/breastactives, Loodafloladon, breast actives, orerobbeptNib