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.
YugaTech.com is the largest and longest-running technology site in the Philippines. Originally established in October 2002, the site was transformed into a full-fledged technology platform in 2005.
How to transfer, withdraw money from PayPal to GCash
Prices of Starlink satellite in the Philippines
Install Google GBox to Huawei smartphones
Pag-IBIG MP2 online application
How to check PhilHealth contributions online
How to find your SIM card serial number
Globe, PLDT, Converge, Sky: Unli fiber internet plans compared
10 biggest games in the Google Play Store
LTO periodic medical exam for 10-year licenses
Netflix codes to unlock hidden TV shows, movies
Apple, Asus, Cherry Mobile, Huawei, LG, Nokia, Oppo, Samsung, Sony, Vivo, Xiaomi, Lenovo, Infinix Mobile, Pocophone, Honor, iPhone, OnePlus, Tecno, Realme, HTC, Gionee, Kata, IQ00, Redmi, Razer, CloudFone, Motorola, Panasonic, TCL, Wiko
Best Android smartphones between PHP 20,000 - 25,000
Smartphones under PHP 10,000 in the Philippines
Smartphones under PHP 12K Philippines
Best smartphones for kids under PHP 7,000
Smartphones under PHP 15,000 in the Philippines
Best Android smartphones between PHP 15,000 - 20,000
Smartphones under PHP 20,000 in the Philippines
Most affordable 5G phones in the Philippines under PHP 20K
5G smartphones in the Philippines under PHP 16K
Smartphone pricelist Philippines 2024
Smartphone pricelist Philippines 2023
Smartphone pricelist Philippines 2022
Smartphone pricelist Philippines 2021
Smartphone pricelist Philippines 2020
dsfa says:
sdafd
Mindanao Bob says:
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.
Jaypee says:
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. :)
eduardo says:
maybe the error failed were invades on my page but i can’t do the backups of the data..
jhaylogs says:
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
Mark Anthony Grejaldo says:
Can I say ouch? I don’t want this happening to me.
jhay says:
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.
manu says:
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.
emben says:
wala ako backups… tamad kc ako eheheheh
Ricardo Tuason says:
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