The way to Backup and Restore Google Chrome Profile On Linux
When you haven’t been following our Google Chrome class, my final article regarding the browser was an article on the 12 Chrome Extensions for Builders and Designers so test it out in the event you haven’t – you’re positive to search out new extensions to spice up your productiveness.
At the moment, I’ll go over the steps you want to comply with in an effort to backup and restore your Google Chrome profile and apparently, they’re straight ahead. You’ll be able to simply copy and paste the instructions in your terminal and also you don’t want root entry. As a matter of truth, don’t give the instructions root entry.
Backing up your Google Chrome will save your entire settings, extensions, historical past, and so forth. to your native machine after which you’ll be able to switch and restore them to even a brand new set up of the app in an effort to really feel at dwelling. So, with out additional ado, let’s get to it.
Google Chrome Profile Backup
1. Launch your terminal and navigate to the ~/.config listing from your property folder with the next command.
$ cd ~/.config
2. Use tar command to compress your whole Chrome listing right into a GZip archive with the next command.
$ tar -jcvf google-chrome-profile.tar.bz2 google-chrome
three. As soon as the compression is full, you may transfer the archive file into any folder of your alternative. For now, let’s transfer the archive to the house folder.
$ mv google-chrome-profile.tar.bz2 ~/
That’s it. Now you can again the profile archive to secondary storage units or your most well-liked cloud service to revive it each time.
Google Chrome Profile Restore
1. Transfer the archived profile to the .config folder in your house listing with the next command:
$ mv google-chrome-profile.tar.bz2 ~/.config
2. Navigate into the .config folder after which unzip the file with the next instructions respectively:
# cd ~/.config
# tar -xvf google-chrome-profile.tar.bz2
three. Now you may run Google Chrome and also you’ll see that every one your knowledge is as intact because it was in your profile that you just backed up.
Encrypt Chrome Profile Backup
Backing up your profile with encryption is significant as a result of it eliminates the probabilities of a safety or privateness bridge as nobody would have the ability to entry the content material of your backed up profile with out the password.
Encrypting your archive file requires a couple of extra steps and we’d use GnuPG to finish the method, so set up the app if it isn’t already put in.
$ sudo apt set up gnupg [On Debian/Ubuntu]
$ sudo yum set up gnupg [On CentOS/RHEL]
$ sudo dnf set up gnupg [On Fedora]
Subsequent, navigate to the folder containing your archived profile and run the command:
$ gpg -c google-chrome-profile.tar.bz2
The command gpg -c will immediate you for a password so ensure you use a safe entry.
On completion, delete the unprotected profile archive (i.e. google-chrome-profile.tar.bz2) and save the google-chrome-profile.tar.bz2.gpg file.
When you’re prepared to make use of the file, decrypt it utilizing the command:
$ gpg google-chrome-profile.tar.bz2.gpg
I hope this information is helpful to you. Be happy to drop your questions and feedback within the part under.