X
Tik hier voor de mobiele versie van de website.

Ondersteuningsforum

Manually copy container tabs to a new Firefox profile

Geplaatst

I have about 30 container tabs (Multi-Account Containers https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/) defined in a Firefox profile. I need to copy those to a new profile. Which files on the filesystem would contain what I need to copy to the new profile?

I have about 30 container tabs (Multi-Account Containers https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/) defined in a Firefox profile. I need to copy those to a new profile. Which files on the filesystem would contain what I need to copy to the new profile?

Gekozen oplossing

The files needed are:

  • cookies.sqlite
  • containers.json

Copy those files to the new profile and all the containers will be present in the new profile.

EDIT: As cor-el pointed out, don't copy the file cookies.sqlite-wal (if present).

Dit antwoord in context lezen 0
Citeren

Aanvullende systeemdetails

Toepassing

  • Useragent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Meer informatie

cor-el
  • Top 10 Contributor
  • Moderator
17468 oplossingen 157853 antwoorden

This data is stored in IndexdDB in the profile folder (/storage/default) under a special GUID. The GUID of all extensions are listed on the about:debugging page that you can open via the location bar. I don't know whether it is safe to transfer the content of a specific folder to another profile, so use this at your own risk. Each profile uses its own GUID for an extension, so you need the folder content and you need to check the name of the current SQLite database.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

This data is stored in IndexdDB in the profile folder (/storage/default) under a special GUID. The GUID of all extensions are listed on the about:debugging page that you can open via the location bar. I don't know whether it is safe to transfer the content of a specific folder to another profile, so use this at your own risk. Each profile uses its own GUID for an extension, so you need the folder content and you need to check the name of the current SQLite database. You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the <b>about:profiles</b> page. *Help -> Troubleshooting Information -> Profile Directory:<br>Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder *https://support.mozilla.org/en-US/kb/Profiles
Was dit nuttig voor u? 0
Citeren

Vraageigenaar

cor-el said

This data is stored in IndexdDB in the profile folder (/storage/default) under a special GUID. The GUID of all extensions are listed on the about:debugging page that you can open via the location bar.

That's not correct. Containers are built into Firefox, not implemented entirely as an extension. Extensions can work with containers, but that's all.

''cor-el [[#answer-1253743|said]]'' <blockquote> This data is stored in IndexdDB in the profile folder (/storage/default) under a special GUID. The GUID of all extensions are listed on the about:debugging page that you can open via the location bar. </blockquote> That's not correct. Containers are built into Firefox, not implemented entirely as an extension. Extensions can work with containers, but that's all.
Was dit nuttig voor u?
Citeren

Gekozen oplossing

The files needed are:

  • cookies.sqlite
  • containers.json

Copy those files to the new profile and all the containers will be present in the new profile.

EDIT: As cor-el pointed out, don't copy the file cookies.sqlite-wal (if present).

The files needed are: * cookies.sqlite * containers.json Copy those files to the new profile and all the containers will be present in the new profile. EDIT: As cor-el pointed out, don't copy the file cookies.sqlite-wal (if present).

Bewerkt door js873983 op

Was dit nuttig voor u?
Citeren
cor-el
  • Top 10 Contributor
  • Moderator
17468 oplossingen 157853 antwoorden

Nuttig antwoord

I assumed you used the Firefox Multi-Account Containers extension. There is the containers.json file in the main profile folder that stores some container related data. I'm not using containers, so I don't know whether it stores all container data (I only see the userContextId and some other data).

I assumed you used the Firefox Multi-Account Containers extension. There is the containers.json file in the main profile folder that stores some container related data. I'm not using containers, so I don't know whether it stores all container data (I only see the userContextId and some other data).
Was dit nuttig voor u? 1
Citeren
cor-el
  • Top 10 Contributor
  • Moderator
17468 oplossingen 157853 antwoorden

Nuttig antwoord

(I had missed your above reply)

SQLite temp files (-shm and -wal) like cookies.sqlite-wal are best avoided to copy to another profile and they should only be there when Firefox is running.

(I had missed your above reply) SQLite temp files (-shm and -wal) like cookies.sqlite-wal are best avoided to copy to another profile and they should only be there when Firefox is running.
Was dit nuttig voor u? 1
Citeren

Vraageigenaar

cor-el said

(I had missed your above reply) SQLite temp files (-shm and -wal) like cookies.sqlite-wal are best avoided to copy to another profile and they should only be there when Firefox is running.

Thank you

''cor-el [[#answer-1253785|said]]'' <blockquote> (I had missed your above reply) SQLite temp files (-shm and -wal) like cookies.sqlite-wal are best avoided to copy to another profile and they should only be there when Firefox is running. </blockquote> Thank you
Was dit nuttig voor u?
Citeren

Vraageigenaar

cor-el said

I assumed you used the Firefox Multi-Account Containers extension. There is the containers.json file in the main profile folder that stores some container related data. I'm not using containers, so I don't know whether it stores all container data (I only see the userContextId and some other data).

Yes, I do use that extension. I think it is just for managing containers.

''cor-el [[#answer-1253784|said]]'' <blockquote> I assumed you used the Firefox Multi-Account Containers extension. There is the containers.json file in the main profile folder that stores some container related data. I'm not using containers, so I don't know whether it stores all container data (I only see the userContextId and some other data). </blockquote> Yes, I do use that extension. I think it is just for managing containers.
Was dit nuttig voor u?
Citeren
cor-el
  • Top 10 Contributor
  • Moderator
17468 oplossingen 157853 antwoorden

If you use the extension then it is likely that it stores its data in indexedDB like I posted above. You would have to check the SQLite database with a suitable SQLite browser utility to see what data is stored if this is readable data.

If you use the extension then it is likely that it stores its data in indexedDB like I posted above. You would have to check the SQLite database with a suitable SQLite browser utility to see what data is stored if this is readable data. *https://sqliteonline.com/
Was dit nuttig voor u? 0
Citeren

Vraageigenaar

cor-el said

If you use the extension then it is likely that it stores its data in indexedDB like I posted above. You would have to check the SQLite database with a suitable SQLite browser utility to see what data is stored if this is readable data.

I already tested my solution and it works. Moving all container tabs(with all associated properties such as icon and color) requires only the files I mentioned.

''cor-el [[#answer-1253811|said]]'' <blockquote> If you use the extension then it is likely that it stores its data in indexedDB like I posted above. You would have to check the SQLite database with a suitable SQLite browser utility to see what data is stored if this is readable data. *https://sqliteonline.com/ </blockquote> I already tested my solution and it works. Moving all container tabs(with all associated properties such as icon and color) requires only the files I mentioned.
Was dit nuttig voor u?
Citeren
cor-el
  • Top 10 Contributor
  • Moderator
17468 oplossingen 157853 antwoorden

Does this include what website are running in what container ?

Does this include what website are running in what container ?
Was dit nuttig voor u?
Citeren

Vraageigenaar

cor-el said

Does this include what website are running in what container ?

No

''cor-el [[#answer-1253828|said]]'' <blockquote> Does this include what website are running in what container ? </blockquote> No
Was dit nuttig voor u?
Citeren
Een vraag stellen

U moet zich aanmelden bij uw account om op berichten te antwoorden. Stel een nieuwe vraag als u nog geen account hebt.