Skip navigation.

web:config

tips and tricks for the interwebs

backup your profile

Hi !
Backing up your profile is recommended when you're upgrading Opera or trying snapshots. However, the process of opening the file manager, selecting the profile folder contents except the cache folders and other superfluous content is tedious and boring.
It's much more easy to just open a terminal and type
$ backup-opera-profile
and for that I did the following bash script, linux only currently.

backup-opera-profile

It has a few usage options
~$ backup-opera-profile -h
Usage: backup-opera-profile [options] [archive name]

  -h, --help     Shows this help

  [archive name] Archive name (tar gzipped) where the profile content
                 will be saved. Value is optional. If not supplied a
                 name will be generated using the current date for
                 uniqueness. If -r is specified, the profile is restored
                 from the archive, and the archive name is mandatory.
                 The later action cannot be undone

  -d, --dry      dry mode. Does not create/change any files,
                 just displays what would happen

  -r, --restore  Restores profile from 'archive name'.
                 'archive name' argument becomes mandatory

  -p, --prefix   Parameter must be followed by profile folder name.
                 If ommited '.opera' is used. If the prefix is not
                 an absolute path, then it'll beresolved against the
                 user's home folder, not the current working folder
Example:
  $ backup-opera-profile
or
  $ backup-opera-profile -p .opera-weekly -r backup-20080524.tgz

So, now you don't have an excuse to always have the latest snapshot installed p:

a better quicktime

Comments

Chas4 25. May 2009, 05:20

So, now you don't have an excuse to always have the latest weekly installed



I do it on my Mac by changing the name of the weekly from Opera to Opera 10 (Mac)

Look forward to the other OS support :smile:

xErath 18. August 2009, 03:30

I did a massive optimization. Before each file was appended to the tar archive and compressed in the end. Now everything is done in one single pass.
Download link is the same.

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.

Download Opera, the fastest and most secure browser