Opera FAQs, Tips, Tricks & Tweaks

Tips for Opera browser since 2005

Encrypt & backup Opera files using WinRAR

, , , ,

Linux
Windows

Linux
Opera backup using RAR for Linux

Create a file opera-backup.sh in your home, add the following and set Execute permission.
#!/bin/bash - # Opera backup using WinRAR command line # # To restore files from backup use the following commands # cd ~ # unrar x <path-to-archive> # Example : unrar x /backup/opera-backup-061010-144215.rar # echo -e "\nOpera backup using WinRAR command line\n" cd ~ rar a -hppassword -m5 -r -agYYMMDD-HHMMSS opera-backup- @opera-backup.lst sleep 5 exit 0

See WinRAR command line switches explanation below.

Create a file opera-backup.lst in your home, add the following and make sure the paths are correct. If you don't want to backup a particular directory or file, add // before that line. Directories (skin, userjs) and files (download.dat, global.dat, vlink4.dat) are disabled by default.
// Opera backup using WinRAR command line // Remove '//' before file path to archive that directory or file // // Directories to backup .opera/dictionaries/ // Dictionaries .opera/icons/ // Favicons .opera/keyboard/ // Keyboard configuration .opera/mail/ // Mail .opera/menu/ // Menu configuration .opera/mouse/ // Mouse configuration .opera/plugins/ // Plug-ins .opera/sessions/ // Sessions .opera/styles/ // Styles //.opera/thumbnails/ // Speed Dial thumbnails .opera/toolbar/ // Toolbar configuration //.opera/skin/ // Skin .opera/toolbar/ // Toolbar configuration //.opera/userjs/ // UserJS files .opera/widgets/ // Widgets // Files to backup .opera/bookmarks.adr // Bookmarks .opera/cookies4.dat // Cookies .opera/contacts.adr // Contacts for e-mail & instant messaging //.opera/download.dat // Download history //.opera/global.dat // Global history .opera/notes.adr // Notes .opera/opcacrt6.dat // Certificate authorities .opera/opcert6.dat // Personal certificates .opera/operaprefs.ini // Opera settings .opera/opssl6.dat // SSL preferences .opera/override.ini // Site preferences .opera/search.ini // Search engines .opera/speeddial.ini // Speed Dials .opera/typed_history.xml // Typed-in addresses .opera/urlfilter.ini // Blocked content //.opera/vlink4.dat // Visited links .opera/wand.dat // Wand data .opera/widgets.adr // Widgets configuration

Whenever you want to backup, type ./opera-backup.sh in terminal and WinRAR will create a backup file (example: opera-backup-061010-144215.rar) in your home.

If you want launcher, add /home/username/opera-backup.sh in command and enable Run in terminal



Windows



Use Opera backup list and WinRAR command line shortcut creator.




Create a backup shortcut in desktop with following parameters.
"C:\Program Files\WinRAR\WinRAR.exe" a -hppassword -m5 -r -agYYMMDD-HHMMSS D:\Backup\Opera- @Opera-Backup.lst
Right click on backup shortcut > Properties > Start in (delete the content usually it will have "C:\Program Files\WinRAR" > Shortcut key (press Ctrl+Alt+O).

C:\Program Files\WinRAR\ - Change this if path to your WinRAR directory is different.

a - Add files to archive.

-hppassword - If you want to password protect your backup keep it and replace password with your password else remove -hppassword. If you remove password, WinRAR will ask password during backup process. Without password it is impossible to view even the list of files in archive encrypted with -hp switch. -m5 - Compression method.
-m0 do not compress file when adding to archive -m1 use fastest method (less compressive) -m2 use fast compression method -m3 use normal (default) compression method -m4 use good compression method (more compressive, but slower) -m5 use best compression method (slightly more compressive, but slowest)
-r - Recurse subdirectories. -agYYMMDD-HHMMSS - Generates archive name using the current date and time.
Y - year M - month MMM - month name as text string (Jan, Feb, etc.) W - a week number (a week starts with Monday) A - day of week number (Monday is 1, Sunday is 7) D - day of month E - day of year H - hours M - minutes (treated as minutes if encountered after hours) S - seconds N - archive number. RAR searches for already existing archive with generated name and if found, increments the archive number until generating a unique name.
D:\Backup\ - Change this path to your backup directory. This directory must exist. Opera-Backup.lst - Create a file with this name and add the following lines and make sure the paths are correct. If you don't want to backup a particular directory or file, add // before that line. Directories (Skin, userjs) and files (global.dat, vlink4.dat and download.dat) are disabled by default. This file should be in same place where you created backup shortcut (in our case desktop).
// Opera backup using WinRAR command line // Remove '//' before file path to archive that directory or file // // Directories to backup C:\Program Files\Opera\program\plug-ins\ // Plug-ins C:\Program Files\Opera\profile\dictionaries\ // Dictionaries C:\Program Files\Opera\profile\icons\ // Favicons C:\Program Files\Opera\profile\keyboard\ // Keyboard configuration C:\Program Files\Opera\profile\mail\ // Mail C:\Program Files\Opera\profile\menu\ // Menu configuration C:\Program Files\Opera\profile\mouse\ // Mouse configuration C:\Program Files\Opera\profile\sessions\ // Sessions // C:\Program Files\Opera\profile\skin\// Skin C:\Program Files\Opera\profile\styles\ // Styles // C:\Program Files\Opera\profile\thumbnails\ // Speed Dial thumbnails C:\Program Files\Opera\profile\toolbar\ // Toolbar configuration // C:\Program Files\Opera\profile\userjs\ // User JavaScript files C:\Program Files\Opera\profile\widgets\ // Widgets // Files to backup C:\Program Files\Opera\profile\bookmarks.adr // Bookmarks C:\Program Files\Opera\profile\cookies4.dat // Cookies C:\Program Files\Opera\profile\contacts.adr // Contacts for e-mail & instant messaging //C:\Program Files\Opera\profile\download.dat // Download history //C:\Program Files\Opera\profile\global.dat // Global history C:\Program Files\Opera\profile\notes.adr // Notes C:\Program Files\Opera\profile\opcacrt6.dat // Certificate authorities C:\Program Files\Opera\profile\opcert6.dat // Personal certificates C:\Program Files\Opera\profile\operaprefs.ini // Opera settings C:\Program Files\Opera\profile\opssl6.dat // SSL preferences C:\Program Files\Opera\profile\override.ini // Site preferences C:\Program Files\Opera\profile\search.ini // Search engines C:\Program Files\Opera\profile\speeddial.ini // Speed Dials C:\Program Files\Opera\profile\typed_history.xml // Typed-in addresses C:\Program Files\Opera\profile\urlfilter.ini // Blocked content //C:\Program Files\Opera\profile\vlink4.dat // Visited links C:\Program Files\Opera\profile\widgets.dat // Widgets configuration C:\Program Files\Opera\profile\wand.dat // Wand data
Whenever you want to backup, press shortcut key, Ctrl+Alt+O and WinRAR will create a backup file (example: Opera-050319-153045.rar) in D:\Backup\ directory. See user's manual, Rar.txt in WinRAR directory to learn more about console RAR. Update Oct 17, 2006: Linux version Nov 12, 2009

Updated postsRemove junk files from system

Comments

Unregistered user Saturday, March 4, 2006 12:09:31 PM

Ketalar writes: Opera profile directory menu : can't find folder "application data" in my Documents and Settings folder... so Can't access my opera profile... Regards,

Tamil Sunday, March 5, 2006 3:09:53 AM

Click this and copy the path of Opera directory under paths and paste it and remove trailing slash.

Sergey Anatol`evich Zolotychanatolich Wednesday, September 13, 2006 6:38:17 PM

Уважаемый Tamil! просьба обновить программу OBLWCLSC для версии (Opera 9.02) необходимо сохранять файл (widgets.ard).

Dear Tamil! The request to update program OBLWCLSC for the version (Opera 9.02) it is necessary to keep a file (widgets.ard). Or prompt as it to make.
Thanks.

Tamil Wednesday, September 13, 2006 11:15:58 PM

Originally posted by anatolich:

Dear Tamil! The request to update program OBLWCLSC for the version (Opera 9.02) it is necessary to keep a file (widgets.ard). Or prompt as it to make.

http://my.opera.com/community/forums/findpost.pl?id=1722859 smile

Unregistered user Sunday, May 27, 2007 12:10:13 PM

Ravi writes: Hi Tamil, Is there anything else one needs to do after overwriting the backed up files into the Opera directory? My search.ini (in Opera installation directory) has the list of my old search engines, but they are not being displayed in the search tab of Opera preferences. Can you help me on this? Thanks, RaviChandra.

Tamil Sunday, May 27, 2007 12:20:59 PM

Did you restart Opera?

Unregistered user Sunday, May 27, 2007 1:03:30 PM

Ravi writes: Hi Tamil, Yes. In fact, I upgraded it to version 9.21 and the search engine list still isn't being displayed. RaviChandra.

Tamil Sunday, May 27, 2007 1:16:00 PM

Only searches having keyword will be shown there. Scroll and see at bottom.

Unregistered user Sunday, May 27, 2007 1:36:36 PM

Anonymous writes: Hi Tamil, Sorry for all this trouble. I have been working on this for more than 3 days. It is not just the search.ini, even the settings for toolbars and panels are not restored. I am pasting the first few lines of my search.ini file: [Search Engine 1] Name=Google URL=http://www.google.co.in/search?hl=en&q=%s&btnG=Google+Search&meta= Query= Key=g Encoding=utf-8 Is post=0 Has endseparator=0 Search Type=0 NameId=17171

Tamil Sunday, May 27, 2007 1:42:28 PM

Can you upload screenshot of search tab of preferences?

Unregistered user Sunday, May 27, 2007 2:01:31 PM

Anonymous writes: Hi Tamil, As you can see in the picture, the list of search engines in the search.ini and in the Opera preferences are different. http://new.photos.yahoo.com/wing70prayer/photo/294928804400018923/0 Thanks, RaviChandra.

Tamil Sunday, May 27, 2007 2:12:09 PM

Rename search.ini to ~search.ini in your installation folder and restart Opera.

What is the value of File Version in search.ini in your profile folder?

Unregistered user Sunday, May 27, 2007 3:12:19 PM

Anonymous writes: Thanks, it is working great. You are a genius. The file version is 8 Thanks a lot, RaviChandra.

Unregistered user Saturday, August 11, 2007 2:28:24 AM

Anonymous writes: Please develop a utility in the same program to restore backup file when needed or at the time of new installation of pc or opera. Then it will become more useful. "Create back button in opera" function of this program does not work even after editing toolbar.ini. इस प्रोग्राम मे बैकअप फाईल को वापस रिस्टोर करने का सुविधा जोड दें। ज्यादा युजफुल हो जायेगा।

Unregistered user Tuesday, June 17, 2008 3:14:50 AM

Sayed writes: hello,Iam a die hard fan of opera..using opera more than 6 years...in every version they improve alot bringing new features... Ur tips are great..thanx wish u all the best sayedp_AT_aol_DOT_in

AGazzaz Friday, October 17, 2008 7:04:16 PM

Thank you for this wonderful script,
I am using Mandriva linux 2009.0 and I have successfully backedup and restored the .opera folder but I just want to restore the mail folder but after copying I can not see the backed up mail folders in opera
what other steps do I have to take in order to restore my email and be able to view it in opera

Tamil Saturday, October 18, 2008 2:55:15 AM

Check whether you have mail folder in backup, extract it to .opera directory and make sure path to mail directory is ~/.opera/mail

AGazzaz Saturday, October 18, 2008 8:24:36 AM

Thank you Tamil,
I have already added overwritten the mail folder but I do not see my emails or feeds in opera and even If I create the old account it starts to download the mail from the server
But If i restore the whole folder I get the old opera that I backedup, but I do not want that because there was problems with the last installation as it used to freeze a alot

weerapon Wednesday, December 10, 2008 10:51:34 AM

Why not the Opera change the way of its profile-file system to the same as Firefox? In Firefox u just change 2 line in pref file, then u can move profile folder to difference path... such on d:\backup\firefox\...blah blah.

This way when you format your machine.... and install clean new system... After install firefox, you just change 2 line in you firefox's pref file to point to that folder and everything in your old setting is going back as the same even if its all plugins!!!! so easy.

why?

I always has opera as my secondary browser for many years... and I got this problem of backing up.. both bookmarks..mails.. setting... address book. for long. So I didn't not use opera mail anymore.. Fortunately now we have Opera Links to help us sync bookmarks and some setting.

Tamil Wednesday, December 10, 2008 2:10:49 PM

You can move profile folder to any location, modify paths and launch Opera using /settings command line parameter.

Unregistered user Thursday, November 5, 2009 7:21:57 AM

Anonymous writes: have problems using socks in opera. instead to open a page it starts to download it, what to do?

Tamil Thursday, November 5, 2009 7:26:07 AM

Unregistered user Wednesday, November 11, 2009 8:28:33 PM

Nimetön writes: Is file list still up to date?

Tamil Thursday, November 12, 2009 1:53:58 AM

Updated and thanks.

Nick DumbadzeNickNock Friday, December 11, 2009 7:52:01 PM

I have created a blog on "my opera", But I was not aware of creating blogs and in the very beginning, by mistake, as I suppose, I have deleted some directories from the - "Files".
Please, help to restore directories.

Tamil Monday, December 14, 2009 1:20:08 AM

I am not admin.

Unregistered user Monday, April 12, 2010 8:16:07 AM

judy writes: have problems using socks in opera

Unregistered user Monday, April 12, 2010 8:17:43 AM

Anonymous writes: where is perferense of socks in opera or lan in opera?

Tamil Monday, April 12, 2010 8:30:53 AM

Sorry, I don't know.

Hilton's BoyfriendHolo3D Monday, April 12, 2010 1:24:41 PM

awww @Tamil , what are socks?

Tamil Monday, April 12, 2010 3:37:26 PM

A cloth worn on a person's feet. p

http://en.wikipedia.org/wiki/SOCKS

Hilton's BoyfriendHolo3D Monday, April 12, 2010 6:30:52 PM

lol thanx maybe it's because I don't have one! http://files.myopera.com/Tamil/Smilies/Tease.gif - ! Thanx I love reading computer related things! http://files.myopera.com/Tamil/Smilies/Happy.gif - !

Tamil Monday, April 12, 2010 6:37:43 PM

Subscribe to http://lifehacker.com/ feed.

Hilton's BoyfriendHolo3D Monday, April 12, 2010 7:55:05 PM

I didn't see any "subscribe" link on the site! sad

Hilton's BoyfriendHolo3D Monday, April 12, 2010 7:56:37 PM

Oh but I saved the link! Thanks once again! http://files.myopera.com/Tamil/Smilies/Wink.gif -

hundredorzero Friday, September 24, 2010 1:10:21 PM

I use simple bash file for linux and bat file for windows.

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies