Blog

Australian IT JOBS : Sydney IT jobs, UNIX jobs, Linux jobs, Java jobs, ASP jobs Linux.conf.au Linux.conf.au
Technology news and Jobs arrow Seeking Nerdvana arrow The Road to Ubuntu - Backup Salvation
The Road to Ubuntu - Backup Salvation PDF Print E-mail
Written by Adam Turner   
Monday, 05 November 2007
After several weeks of anguish I've finally recreated my Windows XP file backup regime under Gutsy Gibbon, overcoming my fear of the Linux command line in the process.
I'm very anal when it comes to data backups. As such, I wasn't prepared to venture any further down The Road to Ubuntu until I could take regular snapshots of the text files I'm currently working on and copy them to both a network drive via samba, and an online folder via FTP. "Simple", I hear you say. Not when you've got the legacy of Windows holding you back.

A few weeks ago I outlined my Ubuntu backup hell, after which plenty of good advice poured in from readers as well as a few friends familar with the Way of the Penguin, such as Cybersource's Con Zymaris. Combining all their advice with a mountain of Google searches, I managed to find a solution.

About now I should point out that changing my NTFS data partition to FAT32 was a big mistake. I'd used GParted to create an 80GB FAT32 drive, but XP wasn't very happy about it and the system had become very unstable. What I didn't know is that NTFS compatibility is now built into Ubuntu, but it doesn't seem to work by default. When I first installed Feisty Fawn a few weeks ago, it mounted the NTFS data partition as read-only so I assumed I had no choice but to convert it to FAT32. The solution, at least under Gutsy Gibbon, is to mount the NTFS partition in the fstab file like this;

/dev/sda5    /windows/data    ntfs-3g     defaults,rw,umask=000    0    0

Using "ntfs-3g" rather than "vfat" did the trick.

Now I was trying to copy files from my NTFS data partition to an SD card in a SanDisk 6-in-1 PC Card Adapter, stuck in the PCMCIA slot of my ThinkPad T60. Sadly, that is still a pipe dream because Ubuntu only seems to recognise the reader on every third or fourth boot.

Putting my PCMCIA card woes to one side, I decided a temporary solution was to backup to a FAT32 partition on my Maxtor Shared Storage network drive instead. Frustratingly, no matter what approach I took, I was constantly denied the right to create new files.

A few people suggested running a Linux server instead, or buying a network NFS-compatible drive, but I perservered, because a) I was trying to keep things simple and b) I shouldn't have to spend more money to make it work.

After trying quite a few Linux backup applications, I decided rsnapshot offered the flexibility I was looking for but I just couldn't get it to work. I'm no expert, I think we've established that, but I was sure I was doing everything right. After a bit of digging I discovered FAT32 partitions can't handle the hard links that rsnapshot requires. This dependence on hard links also crossed a lot of other Linux backup apps off my list.

I decided to keep things simple and use the cp command, which meant embracing the command line and learning how to write basic scripts - an adventure in itself which is a post for another day. When not even cp would work it was time to face up to my real problem; permissions - something one doesn't have to worry about too much in Windows world. CONTINUED



 
< Prev   Next >

The Digital Lounge Room

Seeking Nerdvana - Attaining oneness with tech Subscribe to the RSS
Seeking Nerdvana follows Adam Turner's quest to attain oneness with technology. Embedded in the digital lounge room, Adam offers a view from the couch of the front line where PC converges with AV.
Contact , Register , Advertise with iTWire , Links , Register , About iTWire , Feedback , Post your jobs , Events , iTWire site map , Start Blogging
Industry Releases , Submit your release now , Start submitting to iTWire , How to post video