< BACK

Backup and/or Transfer Chrome Profile on Ubuntu / Linux-Mint]

On the source machine

Make sure the Chrome web-browser is closed and all Chrome services have ended.

In a terminal or commandline, navigate to the ~/.config directory and create a tarball as follows:

cd ~/.config
TS=`date +%Y%m%d_%Hh%M`
#tar zcvf google-chrome-config_${TS}.tgz google-chrome
tar zcf /LOCATION/google-chrome-config_${TS}.tgz google-chrome

which will take a while owing to it’s large size.

Move the new tarball to a location accessible from the target machine.

On the target machine

Again, make sure the Chrome web-browser is closed and all Chrome services have ended.

Extract the tarball in the ~/.config directory:

cd ~/.config
tar zxf google-chrome-config_[TS].tgz

Optionally, the tarball can be encrypted and the original removed

gpg -c google-chrome-config_${TS}.tgz

you will be prompted for a passphrase and asked to confirm.

rm google-chrome-config_${TS}.tgz

To decrypt:

gpg google-chrome-config_${TS}.tgz.gpg