1

I'm looking for how to migrate data of a Chrome extension from one computer to another. I'm not looking for migrating extension installation, but extension's stored data.

By data, I mean the normal user's data created through out the extension's usage. What I'm asking about is how to migrate this data, not the extension installation itself. Knowing that the data of the extension I'm trying to migrate isn't stored in the extension's folder existing in something like …\Profile 2\Extensions\eggkanocgddhmamlbiijnphhppkpkmkl. I'm not asking about migrating all the Chrome user's data, but the data of a single specific extension only.

— To here, my question is thoroughly described.

Below are question sections that may be helpful for progressing towards a solution.


My specific use case:
I have Tabs Outliner Chrome extension. I have data stored on Computer 1. I copied all these files/folders from Computer 1 to Computer 2:

C:\Users\USERNAME\AppData\Local\Google\Chrome\User Data\Profile 2\IndexedDB\chrome-extension_eggkanocgddhmamlbiijnphhppkpkmkl_0.indexeddb.leveldb
C:\Users\USERNAME\AppData\Local\Google\Chrome\User Data\Profile 2\Sync Extension Settings\eggkanocgddhmamlbiijnphhppkpkmkl
C:\Users\USERNAME\AppData\Local\Google\Chrome\User Data\Profile 2\IndexedDB\chrome-extension_eggkanocgddhmamlbiijnphhppkpkmkl_0.indexeddb.blob
C:\Users\USERNAME\AppData\Local\Google\Chrome\User Data\Profile 2\databases\chrome-extension_eggkanocgddhmamlbiijnphhppkpkmkl_0

After doing this, I expected to find Tabs Outliner Computer 2 having the data that was in Computer 1. Instead, it gives me empty data as if I freshly installed the extension.


Solution Suggestions I tried that didn't work:

Suggestion #4: Calling chrome.storage.local.get(function(result){console.log(result)}) from console on the extension's page.

  • It returned just a prototype, not the actual data object.

Suggestion #3: Using Chrome Developer tools to access the local storage.

  • Unfortunately it doesn't provide any feature to export/import the whole data set. It only enables the user to edit cells manually.

Suggestion #2: Using below extensions trying to export Local Storage from Computer 1 then import on Computer 2.

Suggestion #1: Copying the extension's folder located in …\Profile 2\Extensions\eggkanocgddhmamlbiijnphhppkpkmkl from Computer 1 to Computer 2.

  • It seems it doesn't contain the extension's data at all because the extension folder's size is very small.
  • The solution was suggested by an answer to a question that seems duplicate to mine, but it's not, as it asks about installing chrome extension without the Google Web Store using offline files. While I'm asking about extracting the extension's data from one computer then copying it to another.

Seems helpful hints:
Hint #1: Tabs Outliner has data stored in local storage. I think if these local storage data is accessed from a file or somehow, if we copied it, then the job is done. (Hint inspirer: Suggestions 2 and 3)

Hint #2: Tabs Outliner seems to have data stored in IndexedDB, as well, local storage.


  • enter image description here
  • 1
    Possible duplicate of Copy Chrome extensions from one computer to another – harrymc Aug 31 '18 at 16:00
  • @harrymc I don’t think this is a duplicate. My question is about migrating extension's data, while the question you linked is about just migrating extension (specifically installing extension silently and offline) without considering the extension's data. – Omar Aug 31 '18 at 18:13
  • It is a duplicate if the extension data is kept inside the extension's folder, since you copy the entire folder. Try it and see if that's your case. – harrymc Aug 31 '18 at 18:18
  • @harrymc The data of the extension isn't kept inside the extension's folder for Tabs Outliner. I've tried to migrate the extension's folder and it just loaded the extension without any data I have on computer 1. – Omar Aug 31 '18 at 18:24
  • 1
    Why don't you copy the entire folders of C:\Program Files (x86)\Google\Chrome and C:\Users\USERNAME\AppData\Local\Google\Chrome? – harrymc Sep 1 '18 at 5:59
0

How about this:

  1. Back up your new system's User Data folder and keep the backup folder someplace safe.

  2. Copy the old system's profile folder, or alternatively copy the entire User Data folder.

  3. Move the copy of the old folder to somewhere on your new system, but don't replace the new system's existing folder.

  4. Then run 'diff' to find the differences between the old system's folder and the new system's folder.

  5. Copy the different files from the old system's folder into the corresponding folder on the new system.

Then see if it worked. (If it didn't, you can restore the new system's folder from the backup you created in step 1.)

| improve this answer | |
  • 1
    This solution will not help because I want to copy the data of a single specific extension only (not all extensions). – Omar May 28 '19 at 20:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.