Recovering Data from a Crashed NAS in Windows with VirtualBox and Ubuntu

john.kingNotes, Technical TipsLeave a Comment

Home NAS: Having a Network Attached Storage (NAS) is great and convenient, in that all of your data is typically backed up with 2 or more hard drives in a RAID setup in many modern systems. Such was the case with my home Synology Diskstation DS212. The idea is: one of the 2+ drives fails, you buy a new hard drive to replace the bad one, and the data from the good drive(s) automatically copy onto the newly installed blank hard drive, and you’re back up and running again. The Problem: What happens when both drives fail in a 2-drive … Read More

Vagrant, Chef (installed via omnibus), and the PostgreSQL and Database cookbooks (re: COOK-1406)

blake.willardTechnical Tips2 Comments

While building the development environments for a code base that would eventually be deployed to an auto-scaling AWS environment, a client request pivoted the database tier architecture away from MySQL to PostgreSQL. This pivot was timely given Amazon’s most recent RDS offering, announced as recently as re:Invent. Awesome! Now to integrate PostgreSQL with the existing Vagrant/Chef development environment deployments; not as awesome! What follows is a summary of and solution to several common pitfalls experienced by those deploying PostgreSQL with Chef (omnibus installer). Note: this post assumes some familiarity with Chef. A quick overview of how our deployment gets PostgreSQL … Read More