From Windows to Linux to Mac

Santa Claus has dropped a present a bit earlier than usual, this year :

Mac book Pro 13.3" 2.4 GHz 4Go 250Go Mac OSx 10.6

a Mac book Pro 13.3″ 2.4 GHz 4Go 250Go Mac OSx 10.6

I used to develop on a Linux desktop with twinview (2 screens) and on netbooks (Asus EEEPC 10″ (Windows XP) and Asus N10 (Windows Vista)) and I needed to relieve my eyesight. So, I wanted to buy a 13″ screen notebook. I had always been a bit reluctant to buying Apple stuff since they’re a bit more expensive than “hardware equivalent” solutions. This time, I’ve changed my mind and chose this MacBook Pro 13.3″ which cost about 1.100 €.

Needless to say I have no regrets. It’s a beautiful object with great embedded apps like Time machine (auto save of data on external HD), Automator (creating script to load at startup, for example),…

For Web developing purposes I’ve insatlled :

  • Aptana
  • Mamp (Apache, MySql & PHP for Mac)

Installling software is very straightforward (simple use of .dmg files) and Aptana (PHP editor based on Eclipse-Java) is very resource-hungry under Windows and Linux OpenSuse but seems much lighter on the MacBook.

It took me half a day to first start the MacBook and configure it to my needs whereas my last Windows netbook took me a week to configure (to have the OS precisely do what I wanted it to do).

Backups and Storage media

The developer in search of a reliable backup strategy can find several solutions. He does not have to choose only one. The chosen strategy may gain reliability if backups are done on devices based on different technologies and if storage takes place in different buildings (just imagine a fire destroys all your backups stored in the same house). You could choose between :

  • backing up on removable devices (CD, DVD, Iomega REV)
  • backing up on external hard disks (HD)
  • backing up on NAS (Network Attached Storage)

Removable devices

CDs and DVDs are not used anymore because they are not eco-friendly and are not reliable in the long term. Moreover, burning hundreds of thousands of tiny files (smaller than 1ko) on a data DVD may fail (depending on burning drive, OS, directory depth,…). The only interest in optical backups is their price : 0,09 euro / Go.

I then chose to turn to Iomega Rev removable disks, the most expensive solution (800 euros for drive + 5 disks). They have developed disks of 35 Go, 70 Go and 120 Go (a software included in the package allows compression to extend capacity). They have internal (sata, atapi, scsi) and external (usb 2.0) drives. REV technology is supposed to be faster than tape backups (for half the price) and more reliable than optical backups (which I confirm). But it stays the most expensive backup technology I have ever used : 2,29 euros / Go. “Pay the cost to be the boss” : Iomega announces a 30 years shelf-life for their disks.

External Hard disks

Hard Disks (HD) are easily affordable (0,1 euro / Go) and is therefore a replacement solution for optical backups like DVDs. I usually trust Western Digital

NAS (Network Attached Storage)

Your backup strategy can be improved using a NAS : a server with 1 to n bays that can hold 1 to n HDs. Connected to your network, it can be accessed from any OS part of your network. The idea is to choose a NAS with RAID so that you can improve the strategy some more. I use a two-bay Synology NAS configured with RAID 1 (I only have access to one of the 2 disks, the second one is used for mirroring, so, when I write something on disk 1, it is automatically written on disk 2). A 2-bay NAS with 1 To disks should costs 500 euros, which is 0,5 euro / 1 Go if you use RAID 1 or 0,25 euro / 1 Go when using RAID 0.

The NAS is connected to your local network and you access it through the network with a user interface. It is delivered with a Linux OS and a firmware you regularly update online.

Before buying, analyse the NAS server precisely :

  • hardware : CPU, memory, number of internal HD, external HD interface (e-sata, usb 2.0), noise level, USB/RCA audio output,…
  • software : RAID management, applications provided : File Station, Photo Station, Audio Station, Web Station, Surveillance Station,…

I would advise QNAP solutions (TS-439 Pro Turbo NAS) since they offer :

  • hot swappable HD
  • noise reduction

Synchronize Disks / Directories

In order not to copy a whole data disk to the NAS everytime I want to backup, I use a synchronizing software that first compares source disk data with destination (NAS) disk data. and synchronizes, updates the new or modified data. Syncback is a simple synchronizing tool software.

You may also automate backups using Cron under Linux or Scheduled Task Manager under Windows.

Webliography :

RAID tutorial

Synology NAS


Syncback software