Tag: Firefox

Easy Disaster Recovery

I recently had a broadband outage. While I was waiting to be re-connected to the world, I started thinking about outages in general, and disaster recovery in specific. As I posted elsewhere I backup my computer on each and every day I use it, to two external devices. But what I hadn’t done so far was a test restore from the backup to prove that the system worked.

I know you can do an entire snapshot of your Linux box using Clonezilla, which is a free and open source equivalent to Ghost. But the time taken to generate a snapshot and, more to the point, to restore one versus the time taken to do a fresh install of Ubuntu on my PC seemed too great. My theory was I could do a completely new install of Ubuntu, restore my data and do the small amount of customisation I do to my system in less time than it would take to do a restore of an image and then do a data restore on top of that.

Back in the Windows world it was different. The time taken to install all of my applications added greatly to the restore process, and the customisations and preference settings for each one added further delay to the restore time. it was also a manually-intensive and therefore error prone process. Given those circumstance I did use to image my PC using Acronis True Image.¬† But with Ubuntu because most of the applications I use are installed by default anyway there is no further time lost in getting those back on the PC. And as for the customisation or preference settings it should just be a case of copying the appropriate hidden folders from my backup into my home drive. Shouldn’t it?

I concluded that if there was a flaw with my back up process it would be better to find out now rather than when I’ve had a real-world disaster and need to get things back up and running fast. Time to bite the bullet. I re-installed Ubuntu and did a format during the process. Bullet well and truly bitten.

40 minutes later Ubuntu was up and running on my machine again. I’d given it the same name, gave myself the same user name, and used the same user password.

Obviously I had access straightaway to the stuff I have in the cloud, such as in Evernote. I copied my data back to my home folder: Documents, Music, Videos and so on. I fired up Firefox and logged into Firefox Synch, and retrieved all of my bookmarks and shortcut settings. I closed Firefox and copied the .mozilla folder from the backup drive to my home folder. Any file or folder whose name starts with a . is hidden. you need to hit Ctrl-H to toggle their visibility. I fired up Firefox again and it found all of my add-ons and their settings in the .mozilla folder.

I installed and started Thunderbird and then closed it down straight away. I copied the .thunderbird folder from my backup to my new home folder, restarted Thunderbird and all of my email accounts were there, with their settings and all of my email archives. Also the plug-ins I use in Thunderbird were all present and correct.

I was on a roll. Next: the same  thing for FileZilla. Copied the backup .filezilla folder to my home folder, started FileZilla and it had all of my FTP accounts in it with their connection settings, passwords etc.

And so it went on. Application after application had their settings and data dragged back and that was that – they were restored and set up in just the way I’d left them. Once my applications were back on the PC I then set up things like RecollIndex in Cron, and sSMTP and I did some of the visual customisations to the desktop that I like, and that was that. Obviously things would have been a bit more complicated if I had multiple users installed on the system, but as far as single user system restores go, that was a doddle. It was the easiest system restore I’ve ever been involved in.

And believe me, I’ve done my share of them.

Tags : , , ,

Migrating Firefox

Migrating Firefox was easy. I wanted to copy across all of my bookmarks and stored passwords and my settings for the Firefox bookmarks toolbar and I certainly didn’t want to do it by hand.

Thankfully Firefox 4 has a new feature called Firefox Sync. This allows you to save your history, passwords, bookmarks and open tabs to the Firefox cloud. Then if you have Firefox on another PC or on a mobile device, you can sync to that device and all of your bookmarks and tabs are transferred to that copy of Firefox.

I sync’d to the Firefox cloud in Windows 7, installed Ubuntu and started Firefox, and then used Firefox Sync to restore all my bookmarks to Firefox 4 in Ubuntu.


(I also use the Sync feature to maintain parity between the Firefox on my HTC Desire phone, running Android and my Ubuntu desktop.)

Tags : , ,

Firefox Auto-Complete Feature

This is a new one on me.

Suppose you want to enter an address like www.evernote.com into the URL bar in Firefox. Here’s the fast way. Type evernote and press Ctrl+Enter.

Using Ctrl+Enter tells Firefox to add the ‘ http://www.’ to the start of the URL and to add the ‘ .com/’ to the end of it.

Ctrl+Shift+Enter will do the same for .org addresses, and Shift+Enter does the same for .net addresses.

Tags :