Events Calendar
February  2012
Sun Mon Tue Wed Thu Fri Sat
   
  1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29  
Log In
ovsage tweets
Interesting Links
The USENIX Association

Posts Tagged ‘Backups’

Well, it’s been off to a slow start, mostly my fault, due to tax filings, getting up to speed and that stupid cold that has been affecting people in the $DAYJOB arena. It feels like someone is randonly stuffing cotton balls into my head and then pulling them out. Foggy… Clear… (repeat). Did I ever mention that I hate colds? You are not ill enough to be unable to work, just slow and stupid – and they linger!

Anyway, back to the mentoring. As I mentioned, this is to help with a backup system. The environment, servers, clients and software were already chosen, so I had to get up to speed on it. If you have never heard of BackupPC, you might want to take a look. If you are running Debian (and derivatives), it’s an easy install. If you are RHEL based, it’s a little more complicated to get started. You better like perl, as that is the software used to build the system and the command line version works as advertised. It also comes with a GUI script that requires a little care and feeding to get working. I did manage to get it working and backing up a windows XP box, so the requirements for the site have been met at a basic level on my test bed. The next part is to get it working as expected on the mentee’s (this is an accepted backformation). The word could also be protégé or telemachus, but I like the derivative version.

Communication is via a shared google document which serves to document the process as we go, so that is something new for me. Kind of a shared log. I’m hoping that there will be an update later today so that I can really get started and get this puppy doing tricks.

It’s been fun so far, but no real work has yet been accomplished, mostly due to my taking more time to get up to speed than I wanted it to take. We should be able to blast forward now that I have an environment that should be similar to the test lab. If you are interested, stay tuned.

Back in November or December I told the group about the LOPSA mentoring project and the call for volunteers at the community meeting at LISA. I believe that I had also stated that I had volunteered to be a mentor and I’m happy to announce that a project came up and that I have been matched up with someone who requires assistance with a backup system.

While we haven’t really started yet (this only just happened) I’m hoping that it will be a pleasant experience for both of us. Once the project is completed, I’ll post a note about the project and the solution used, as well as a link to software and the type of environment. I’m hoping it may make a useful talk for a meeting or at the very least an outline as to how we solved a technical problem. As it is a short term project, I’m hoping We will have it completed before the April meeting so I can at least report the success of the project.

Well, not so much fun…

Tuesday last week, I guess there was a power bump or some such event and my main drive on my mac decided to take a nose dive. I should have expected this, as the power is not exactly the most stable in this neck of the woods. I do have backups, but I was lazy the past 2 months and didn’t do a backup. Time machine isn’t quite suitable (no real control) and I haven’t bothered anything beyond a full dump at intervals and that takes time.

The resulting sequence was interesting (yes, with all the connotations of interesting time):

  • Screensaver is not responding, so power cycle the machine
  • Get nice white OS X screen, no apple logo
  • Repeat power cycle, same
  • Remove power and wait a few, motherboard may be retaining some oddities
  • Try again, logo and spinner this time… 5 minutes later, still spinning
  • Remove USB hard drives. This has happened before after a power issue and it loses it’s brains on what drive to boot from.
  • Try again… logo, spinner, 1 minute later, power off
  • Odd… power on machine again, this time booting with the standard unix boot visible
  • It shows a normal startup, an fsck and a couple of errors and then powers down
  • Try again in single user mode and manually run fsck…
  • Well, look at that, boot drive has 2 unrecoverable errors, recommend booting from OS DVD and running disk utility to clear errors
  • Try booting from DVD and running utility
  • Even better message, Not recoverable. Please back up all of your readable data from the suspect disk and repartition and install a new file system. Supposedly this will result in a usable disk.
  • I don’t have any internal drives available that are the same size or larger to copy to, so I get a 1TB USB that I had some backup data on and start copying the 300GB of data in my account to the external drive.
  • I don’t want to redo the drive until I am happy with the backup
  • In the interest of getting things running, I grab a 400GB drive and use that for the OS and home directories.
  • After that, I migrate the applications off of the old main drive and copy a reduced set of my data off the drive.
  • All looks good so far
  • Most things are working as expected and I haven’t lost my business info or my email. Life is reasonable.
  • Now for slightly better response. Go out and get replacement drives for the 4 internals, just in case it’s a drive issue, as the 4 drives are in serial number.
  • Hmm, 1.5TB drives are cheaper than the 500s I bought 2 years ago. I’ll go with that, 2TB are still a little expensive.
  • Boot off the Install DVD again and this time take 2 drives and mirror them. No point in being screwed over a second time.
  • After installation and reboot, I have a 1.5TB mirrored boot disk and 2 1.5TB data disks.
  • Account migration, some application reinstallation and some recovery I’m back to a properly functioning system.

So at the end of the exercise, I’m in better shape, I need to keep a better backup regime and I think hard drives vs. tapes is probably my answer, as 1TB hard drives are under $100 and the tapes and tape drives I have are not near the same capacity as my my hard drives and tapes are not “live” file systems, allowing for easier recovery and viewing. This could have been much worse.

I think it’s bacula time and time to put in a somewhat power efficient NAS. I have enough SATA drives and a hardware RAID controller to do this, I can backup sets to USB drive from the NAS, and I can store the drives in a protected environment. I have no desire to get a cheap NAS appliance, I’ve tried that and they are not suitable for my needs. Time to create either an OpenFiler or a FreeNAS box. This will probably be a topic for after the current care and feeding of a virtual Linux box practical exercise we are doing.

Anybody want an ethernet enabled hard drive enclosure? It also does USB 2.o