Retrieving Opera user data from Time Machine
Wednesday, February 17, 2010 3:31:00 PM
Have you ever done something to your user data in Opera (bookmarks, speed dial, emails, news feeds, …) or set a preferences you can’t figure out how to revert? It happens to all of us all the time, actually. Here is a little trick I use on my Mac whenever I mess up my Opera installation.
Mac users ought to be familiar with Time Machine, the feature that keeps a backup of everything on your Mac. Including your user data in Opera! From what I have seen on the Opera for Mac forums, I suspect that hardly anyone thinks about restoring their data from their Time Machine backups when disaster (or them self) strikes.
Here is a step by step guide to Retrieving Opera user data from Time Machine backup.
Firstly, you must determine what kind of data you have lost. The backup that Time Machine stores could be up to an hour old, so you do not want to restore too much or you will end up loosing recent additions.
Depending on what data you have lost, you must restore the following locations:
- Bookmarks ~/Library/Preferences/Opera Preferences/bookmarks.ini
- Speed dials ~/Library/Preferences/Opera Preferences/speeddials.ini
- Emails and news feeds ~/Library/Application Support/Opera/mail/
- Contacts ~/Library/Preferences/Opera Preferences/contacts.adr
- Sessions ~/Library/Preferences/Opera Preferences/sessions/
- Passwords ~/Library/Preferences/Opera Preferences/wand.dat
- Preferences and settings ~/Library/Preferences/Opera Preferences/operaprefs.ini
When you have determined what file you need to restore, it is simply a matter of retrieving it from Time Machine, and then replacing the current—assumed broken—version of the file with the one in backup.
On the right side of Time Machine there is a small time line you can use to navigate backwards in time. By default Time Machine will keep a copy of every file modifications every hour for the last 24 hours, as well as every day of the last week, and then ones a week. You will likely want to restore the file from an hour or two ago.
To restore a file from Time Machine:
- Quit Opera
- Open Time Machine (either from the Dock, /Applications folder, or menu bar icon)
- Navigate to one of the files mentioned above, and se the time slider to find an older version
- Select the file(s) you want to restore and click the Restore button in the bottom right corner
…and you’re done! The files should have been restored. You may have to move them from the Desktop to the correct location (depending on a lot of things).
These instructions will of course work for any other application or document. Time Machine really is awesome. If you haven’t set it up yet, there is a good Getting Started with Time Machine over at Apple.
I hope it saves someone’s day!