infinix x yugatech

Do you make local backups of your blog?

Listen to article

Just this evening, the server that this blog is on had a weird hardware failure. It just froze and the blog was inaccessible. The rest that followed was some sort of reality check and yet another lesson in making backups of backups.

I sent a request to the data center techs to do a hard reboot from their end. After the first reboot, the server would not respond as if it was hanging or something. A second hard reboot made it respond and I was able to login to SSH and restarted all services (Apache, mySQL, Bind).

However, the websites are still not running despite the fact that apache and mysql were fine. I was watching the processes and there were no instances of any HTTP which I initially thought was broken or the configurations went bonkers.

After an hour of checking, viewing config files and restarting services, the problem still remained. While looking at the list of accounts, I discovered some of the accounts had zero disk usage as though they don’t have anything stored in them. I realized several of the domain accounts were on the secondary drive and that drive is practically missing or was not loaded by the system.

I already expected the worst while praying for the best — the server could have suffered an irrecoverable hard drive failure. I immediately checked for the internal backups and found out that not all accounts had the latest copy. This blog specifically did not have a complete backup. Apparently, the huge account size (2.6GB) prevented the automated backup service to complete the daily backups. Same thing with the weekly backup.

I still have the monthly backups and I could start from there but that would mean that I’ll lose several weeks of entries or at most about a month.

I ran some tests and fixes on the missing drive. Luckily, another graceful reboot was all I needed for the system to detect the missing drive and load it. All that checking and diagnosis as well as coordinating with the DC engineers took me over 2 hours to finally resolve. This was fairly quick compared to other problems before where it’s usually taken some 4 to 6 hours (and there was a time about 48 hours due to a drive replacement and an OS reload).

It reminded me that despite the multiple automated backups, one should also consider regular local backups.

For WordPress blogs, this would mean downloading the Themes and Plugins folder, the Uploads inside WP-Content and a full DB backup (there’s a plugin for this one) and download. Doing this once every week-end should do as well as downloading your daily posts using feedreader clients such as FeedDemon might spare you some headache when the time comes your backups fail on you.

Frequently Asked Questions

What caused the blog to become inaccessible?
A hardware failure on the server caused the blog to freeze and become inaccessible.
Why did the websites remain down after restarting services?
The secondary drive containing several domain accounts was missing or not loaded by the system.
Why did this blog not have a complete backup?
The blog's large account size of 2.6GB prevented the automated backup from completing.
React to this article:
Written by
Abe Olandres

Abe Olandres

Editor-in-chief

Abe is the founder and Editor-in-Chief of YugaTech with over 20 years of experience in the technology industry. He is one of the pioneers of blogging in the country and is considered by many as the Father of Tech Blogging in the Philippines.

View all posts by Abe Olandres →

20 Comments

RI
Ricardo Tuason · 18 years ago

It happened to me last week when i was doing a project study for a company when my first hard drive had failure. Thank goodness i was able to safely copy my back-up data in a 2nd hard drive before the terror occurred. If you know what the feeling of losing something in a crunch time moment… Then always be prepared :p


Reply
EM
emben · 18 years ago

wala ako backups… tamad kc ako eheheheh


Reply
MA
manu · 18 years ago

i learn from my mistakes already, started my personal blog 3 mos ago, i encountered server problem that leads to deletion of all my posts.
Having back-up is one of my blogging commandment from now on.


Reply
JH
jhay · 18 years ago

I make back-ups every weekend. Had this problem for so many times in the past year, it’s become routine for me to make back ups.


Reply
MA
Mark Anthony Grejaldo · 18 years ago

Can I say ouch? I don’t want this happening to me.


Reply
JH
jhaylogs · 18 years ago

I do back up for all my blog kahit na kumakain ng memory ko okay lang sure naman ako safe ang articles ko.

http://www.jhaylogs.blogspot.com


Reply
ED
eduardo · 18 years ago

maybe the error failed were invades on my page but i can’t do the backups of the data..


Reply
JA
Jaypee · 18 years ago

I have the WP DBManager plugin that automatically backups my WP database. It also has an option of sending the backup to a specified email address.

Aside from these online backups, I also make sure I download a copy of the backups to my computer. Won’t hurt to have multiple/redundant backups. :)


Reply
MI
Mindanao Bob · 18 years ago

I absolutely make off site backups on all of my sites. I didn’t used to, but I’ve learned through similar lessons. Now I have sites with up to 10,000 posts, and more than 50,000 comments on single sites, and I would hate to lose that, so backups are absolutely necessary.


Reply
DS
dsfa · 18 years ago

sdafd


Reply

Leave a Reply

Loading next article...