How to backup chrome session manager extension on linux and windows?

0

I've found google chrome's profile in the file directory's of both linux and windows, but I can't find session manager amongst the extensions (and have my doubts that loading up the profile will work as intended).

Erlja Jkdf.

Posted 2015-05-16T11:56:15.697

Reputation: 251

YOU CAN NOT "save" the Session manager its the singleton cookie stuff but IT will auto re-sync on transport if copied (will get a warning at least on linux that it had 'Operation Not allowed" – linuxdev2013 – 2015-05-16T15:06:03.197

So syncing the profile and downloading the extension will cut it? – Erlja Jkdf. – 2015-05-16T21:56:16.750

sudo cp -r ~/.config/google/* /usb (or wherever ) and the reverse later yes – linuxdev2013 – 2015-05-16T22:38:26.693

I grok you now on the singleton cookie thing, but you're saying i should use the sudo command when I'm copying it to a new system? I'm trying sudo cp -r~/home/user/.config/google-chrome/ and the command is invalid. – Erlja Jkdf. – 2015-05-17T07:43:16.370

there is a <space> in between cp -r <space> ~/username/.config for ex. sudo cp -r ~/linux-modder/.config/google-chrome the sudo part is mainly for usbs and such if YOU own the destination file it is not needed.. for ex copying from ~/.config/google-chrome to say ~/Documents – linuxdev2013 – 2015-05-17T12:18:40.020

Copying and pasting it into my USB also works, right? And from there, if I add the cookie to my chrome profile on a new computer, it will recover my session manager sessions right? – Erlja Jkdf. – 2015-05-18T08:22:37.907

Yes to a usb or even NFS (shared / networked drive works) will edit my answer for clarity. – linuxdev2013 – 2015-05-18T12:53:51.123

Answers

1

Session Manager in chrome is keep in the Singleton Cookie which is in ~/.config/google-chrome/.... Of note (especially if a open session (foreground OR background) is active, You will get a Operation Not Permitted this is primarily because the `Token `` is more or less hashed to that session and machine the configs from it however transfer.

To backup or migrate your full settings all that is needed is to:

Linux:

cp -r ~/.config/google-chrome/* /${some mountpoint} ## for ex. a usb mountpoint or somewhere else you need /desire it for backup / version control

ex.

sudo mount /dev/sdb  /media
sudo cp -r ~/.config/google-chrome/* /media

MAC:

cp -r ~USERNAME/Library/Application Support/Google/Chrome/User Data/Default/Preferences/{some mountpoint}

ex.

 sudo mount /dev/disk1   /Volumes/$USERNAME/foo
 sudo cp -r ~USERNAME/Library/Application Support/Google/Chrome/User Data/Default/Preferences  /Volumes/$USERNAME/foo

Windows:

cp -r C:\Documents and Settings*UserName*\Local Settings\Application Data\Google\Chrome\User Data\Default /{some mountpoint}

ex.

SELECT DISK 1

XCOPY /E C:\Documents and Settings*UserName*\Local Settings\Application Data\Google\Chrome\User Data\Default /DISK1/foo

linuxdev2013

Posted 2015-05-16T11:56:15.697

Reputation: 1 051

I've done this , and everything but the singleton stuff has been sent. When I try to send that over it says file manager does not support symbolic links. – Erlja Jkdf. – 2015-05-18T15:18:20.203

that is fine they are recreated on new instance be that a reisntall or new hdd/sdd – linuxdev2013 – 2015-05-18T15:27:17.737