•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Coffee House category of DaniWeb, a massive community of 383,433 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,766 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Coffee House advertiser:
Sep 25th, 2004, 2:07 am
Hello,
Thursday was a nightmare. This week could get no worse. I came home from work, where we were still offline at the sattelite office, and I found that my Linux box blew the root hard drive. OK, I understand that these things happen, but this is the SECOND used drive to go for me in as many months. I had just rebuilt the main drive, and just have to wonder what gremlin I had running around my boxen. Clearly, this was not an impressive moment.
As in the lasttime, however, I had the backups all ready and set to go, both on the online fourth hard drive in the computer, and on DVD. The repair, from installing the hard drive, to getting most of the server back up and running, was a smooth 4 hours. The first hour was re-installing RedHat 9, and then the rest of the time was untaring the archives, and setting the partitions correctly.
Someone forgot to record the partition order, and when I repaired /etc/fstab, I got all my partition labels goofed up. That's ok. Just had to use FDISK to view the partitions, and get them all properly aligned. Was able to do that rather quickly.
But there were a couple things that I did not elect to restore from tar... and that was /usr. I did not do this because I didn't backup /lib, and I did not want to have a mismatch of libraries and executables. So, that means that I lost my netatalk 3.0 installation. But that is where good documentation comes in handy, resulting in a nice sweet migration to restore the server.
Some may ask, "why didn't you just back up the whole thing?" Because I haven't found a way to get tar to ignore certain folders properly. I do not want to create a recursive condition that the tar program tries to archive the archive! So I do it in sections, and until I installed a mongo drive, I didn't have the space to backup everything. The important stuff -- the data -- was saved just fine, along with the MySQL materials.
Moral of story: backup your data. Now. Do it. My life was saved because I had my data in 3 locations: the orig set, the set on the backup hard drive, and a set on DVD. It took me a few hours to restore... yes... but if I had to re-create the data, that could take weeks.
So, now my Linux server is again happy. 2 IDE hard drives. 1 CD-ROM. 1 SCSI RAID 5. 4 network interfaces. And one scroll mouse.
Time for me to go and play some chess.
ARF
Thursday was a nightmare. This week could get no worse. I came home from work, where we were still offline at the sattelite office, and I found that my Linux box blew the root hard drive. OK, I understand that these things happen, but this is the SECOND used drive to go for me in as many months. I had just rebuilt the main drive, and just have to wonder what gremlin I had running around my boxen. Clearly, this was not an impressive moment.
As in the lasttime, however, I had the backups all ready and set to go, both on the online fourth hard drive in the computer, and on DVD. The repair, from installing the hard drive, to getting most of the server back up and running, was a smooth 4 hours. The first hour was re-installing RedHat 9, and then the rest of the time was untaring the archives, and setting the partitions correctly.
Someone forgot to record the partition order, and when I repaired /etc/fstab, I got all my partition labels goofed up. That's ok. Just had to use FDISK to view the partitions, and get them all properly aligned. Was able to do that rather quickly.
But there were a couple things that I did not elect to restore from tar... and that was /usr. I did not do this because I didn't backup /lib, and I did not want to have a mismatch of libraries and executables. So, that means that I lost my netatalk 3.0 installation. But that is where good documentation comes in handy, resulting in a nice sweet migration to restore the server.
Some may ask, "why didn't you just back up the whole thing?" Because I haven't found a way to get tar to ignore certain folders properly. I do not want to create a recursive condition that the tar program tries to archive the archive! So I do it in sections, and until I installed a mongo drive, I didn't have the space to backup everything. The important stuff -- the data -- was saved just fine, along with the MySQL materials.
Moral of story: backup your data. Now. Do it. My life was saved because I had my data in 3 locations: the orig set, the set on the backup hard drive, and a set on DVD. It took me a few hours to restore... yes... but if I had to re-create the data, that could take weeks.
So, now my Linux server is again happy. 2 IDE hard drives. 1 CD-ROM. 1 SCSI RAID 5. 4 network interfaces. And one scroll mouse.
Time for me to go and play some chess.
ARF
This blog entry was written by kc0arf. It has received 1,093 views, 1 comment, and 0 linkbacks.
•
•
•
•
access advice blackmail business classification code combo crime cult of the dead cow daniweb data database drive dropdownlist encryption europe f1 forensic forensics fun gadget google hacking hard hardware help hitachi hp industrial espionage information it linux mobile module net news privacy protection reuse search security spot storage terabyte tutorials and more tv web wikipedia
All Recent Tags Comments (Newest First)
Mac data | Newbie Poster | Aug 29th, 2007
•
•
•
•
ARF, we agree with you and have realized that backups are not done either because they do not feel the necessary or do not make efforts to know more of it.
Every operating system has its own method of storage and retrieval of data, so Windows method shall differ from LINUX and UNIX. Since, LINUX is considered an open source UNIX, so their methods are more the less same.
Although, taking backups in Windows is easier but, it is not tough in UNIX/LINUX. There are a number of system built in commands (tar, dd, cpio etc.) and free ones too (AMANDA etc.) The same can be accessed here:
Possible reasons for the loss of files in LINUX/UNIX are:
Every operating system has its own method of storage and retrieval of data, so Windows method shall differ from LINUX and UNIX. Since, LINUX is considered an open source UNIX, so their methods are more the less same.
Although, taking backups in Windows is easier but, it is not tough in UNIX/LINUX. There are a number of system built in commands (tar, dd, cpio etc.) and free ones too (AMANDA etc.) The same can be accessed here:
- http://tariqnazir.tripod.com/backup.htm
- http://www.tech-faq.com/backup-unix.shtml
- http://www.linux.org/apps/all/Admini...on/Backup.html
- http://gentoo-wiki.com/HOWTO_Backup
- http://www.acronis.com/enterprise/products/ATISLin/
Possible reasons for the loss of files in LINUX/UNIX are:
- Improper system shutdown
- Partition structures, OLT table, Inode Table (Super Block), Group Descriptor Block is corrupted, damaged, or deleted
- Non-repair of System data structures
- Files Software that helps to recover data gets deleted.
Post Comment
•
•
•
•
Only community members can start a blog or comment on blog entries. You must register or log in to contribute.
•
•
•
•
•
•
•
•
DaniWeb Coffee House Marketplace
Related Blog Entries
- British MPs go for the YouTube jugular (5 Days Ago)
- Parents have no idea what kids are doing online - shock horror (6 Days Ago)
- Did You Feel That? You're Not Alone (6 Days Ago)
- UK ISPs agree to throttle illegal music file-sharers (14 Days Ago)
- New Xbox 360 Dashboard next month (14 Days Ago)
- WikiGoogle or GooglePedia? Nope, it is Knol actually. (14 Days Ago)
- Will apple be the big player? (21 Days Ago)
- Fuel Costs Force State Governments to Support Telecommuting (22 Days Ago)
- The ultimate in-car tech KITT, a Knight Rider satnav (29 Days Ago)
- Companies outsourcing to other countries giving workers American names (31 Days Ago)
Related Forum Threads
- Dual hard drives (Storage)
- XP not recognizing two SATA hard drives (Windows NT / 2000 / XP / 2003)
- Duel Booting 98, Linux, and XP on 2 80gb hard drives with too much ram (Windows 9x / Me)
- Value Hard Drives (Storage)
- Swapped Hard Drives (Windows NT / 2000 / XP / 2003)
- can a dead hard drive be revived in any way (Storage)
- ME installed on two hard drives...wish to uninstall one (Windows 9x / Me)