How I export my profile data from a firefox extension?

Page 2 of 4 FirstFirst 1234 LastLast
  1. desbest's Avatar
    Posts : 66
    Windows 10
    Thread Starter
       #11

    Callender said:
    For me it shows up in sqlite database here:

    C:\Users\Chris\AppData\Roaming\Mozilla\Firefox\Profiles\ff4353sv.default-release\storage\default\moz-extension+++937b87d0-5078-44b2-a47b-b99ef9c92e8b^userContextId=4294967295\idb

    Copy the folder contents to another folder then restore the contents to the same newly created folder (after removing then reinstalling the addon)



    C:\Users\Chris\AppData\Roaming\Mozilla\Firefox\Profiles\ff4353sv.default-release\storage\default\moz-extension+++e94ac9a2-8000-424d-a1c3-b28bc6e74d31^userContextId=4294967295\idb

    specfically in sqlite database in the folder named idb

    3647222921wleabcEoxlt-eengsairo.sqlite

    It doesn't work for me. Look at what happens when I try to do it. The sqlite database file doesn't have any meaningful data.



    f14tomcat said:
    I just ran Mozback v1.5.1 and it produced a 175mb .pcv file, just as it should. I'm running FF 88 beta 5.
    Mozback showed me 2 profiles to backup so it looks like I tried to backup the wrong one. I did the right one now. Default didn't work, default release did.

    However I do not wish to delete my existing profile then restore it, so Mozbackup doesn't look suitable.

    How I export my profile data from a firefox extension?-2-firefox-profiles.png
    Last edited by desbest; 1 Week Ago at 11:02.
      My Computer

  2. f14tomcat's Avatar
    Posts : 53,064
    Multi-boot Windows 10 - RTM, RP, Beta, and Insider
       #12

    desbest.......

    you quoted me and didn't say anything, least nothing is showing up here.
      My Computers

  3. desbest's Avatar
    Posts : 66
    Windows 10
    Thread Starter
       #13

    f14tomcat said:
    desbest.......

    you quoted me and didn't say anything, least nothing is showing up here.
    I've edited my message now.
      My Computer

  4. f14tomcat's Avatar
    Posts : 53,064
    Multi-boot Windows 10 - RTM, RP, Beta, and Insider
       #14

    Mozback showed me 2 profiles to backup so it looks like I tried to backup the wrong one. I did the right one now. Default didn't work, default release did.

    However I do not wish to delete my existing profile then restore it, so Mozbackup doesn't look suitable.

    You can still do that and use Mozback to just save/restore your URLs(Bookmarks). Those options are after you choose the profile.
      My Computers

  5. desbest's Avatar
    Posts : 66
    Windows 10
    Thread Starter
       #15

    f14tomcat said:
    You can still do that and use Mozback to just save/restore your URLs(Bookmarks). Those options are after you choose the profile.
    Yes but I don't want to backup everything, just the stuff to do with the specific extension (onetab).
    Yes I did backup everything, but how do I make it that only the stuff to do with onetab is restored?
      My Computer

  6. f14tomcat's Avatar
    Posts : 53,064
    Multi-boot Windows 10 - RTM, RP, Beta, and Insider
       #16

    desbest said:
    Yes but I don't want to backup everything, just the stuff to do with the specific extension (onetab).
    Yes I did backup everything, but how do I make it that only the stuff to do with onetab is restored?
    It's not selective..... all bookmarks or none. I'm not familiar with OneTab, but here's a suggestion, more of a trick.

    1) Use Mozback to save all bookmarks.
    2) Clean install FF and let it create a new, blank, empty profile.
    3) Install the OneTab extension.
    4) Restore all bookmarks using Mozback.
    5) Export OneTab urls.
    6) Blow away all bookmarks or clean install again.
    7) Restore your OneTab urls only.
      My Computers

  7. Callender's Avatar
    Posts : 4,069
    N/A
       #17

    desbest said:
    It doesn't work for me. Look at what happens when I try to do it. The sqlite database file doesn't have any meaningful data.
    Copy the folder contents then restore contents after removing and reinstalling the extension,

    Before that make copies of those sqlite databases somewhere else then rename (the copies) with .txt extension then open the renamed files with notepad to view contents. If it's saved tabs you can see the URLs listed.
      My Computer

  8. desbest's Avatar
    Posts : 66
    Windows 10
    Thread Starter
       #18

    f14tomcat said:
    It's not selective..... all bookmarks or none. I'm not familiar with OneTab, but here's a suggestion, more of a trick.

    1) Use Mozback to save all bookmarks.
    2) Clean install FF and let it create a new, blank, empty profile.
    3) Install the OneTab extension.
    4) Restore all bookmarks using Mozback.
    5) Export OneTab urls.
    6) Blow away all bookmarks or clean install again.
    7) Restore your OneTab urls only.
    I tried that and it doesn't work. When I use Mozbackup to restore, it restores the faulty extension, not a working version.

    - - - Updated - - -

    Callender said:
    Copy the folder contents then restore contents after removing and reinstalling the extension,
    Remove the extension? If I do that I will lose my data, then I will no longer have any opportunity of accessing or possibility to export my data.

    Callender said:
    Before that make copies of those sqlite databases somewhere else then rename (the copies) with .txt extension then open the renamed files with notepad to view contents. If it's saved tabs you can see the URLs listed.
    Opening the sqlite file in a text editor like Notepad or Sublime Text doesn't work because it's in binary format.

    Code:
    5351 4c69 7465 2066 6f72 6d61 7420 3300
    1000 0202 0040 2020 0000 0004 0000 000b
    0000 0000 0000 0000 0000 000d 0000 0004
    0000 0000 0000 000b 0000 0001 0000 01a0
    0000 0001 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0004
    002e 47a8 0d00 0000 0d03 1500 0ee3 0e3b
    0cdb 0bb1 0a1a 095b 07c0 06e5 0689 05ad
    04a1 03c5 0315 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000
    Code:
    SQLite format 3   @                   
                   *                               .G
       
     ;
    	[*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               -
    3triggerfile_update_triggerfileCREATE TRIGGER file_update_trigger AFTER UPDATE ON file FOR EACH ROW WHEN NEW.refcount = 0 BEGIN DELETE FROM file WHERE id = OLD.id; ENDYA#Ytriggerobject_data_delete_triggerobject_dataCREATE TRIGGER object_data_delete_trigger AFTER DELETE ON object_data FOR EACH ROW WHEN OLD.file_ids IS NOT NULL BEGIN SELECT update_refcount(OLD.file_ids, NULL); END	A#9triggerobject_data_update_triggerobject_dataCREATE TRIGGER object_data_update_trigger AFTER UPDATE OF file_ids ON object_data FOR EACH ROW WHEN OLD.file_ids IS NOT NULL OR NEW.file_ids IS NOT NULL BEGIN SELECT update_refcount(OLD.file_ids, NEW.file_ids); ENDY
    A#Ytriggerobject_data_insert_triggerobject_dataCREATE TRIGGER object_data_insert_trigger AFTER INSERT ON object_data FOR EACH ROW WHEN NEW.file_ids IS NOT NULL BEGIN SELECT update_refcount(NULL, NEW.file_ids); ENDZ	tablefilefileCREATE TABLE file (id INTEGER PRIMARY KEY, refcount INTEGER NOT NULL)XU/9indexunique_index_data_value_locale_indexunique_index_data
    CREATE INDEX unique_index_data_value_locale_index ON unique_index_data (index_id, value_locale, object_data_key, value) WHERE value_locale IS NOT NULL//_tableunique_index_dataunique_index_data	CREATE TABLE unique_index_data( index_id INTEGER NOT NULL, value BLOB NOT NULL, object_store_id INTEGER NOT NULL, object_data_key BLOB NOT NULL, value_locale BLOB, PRIMARY KEY (index_id, value), FOREIGN KEY (index_id) REFERENCES object_store_index(id) , FOREIGN KEY (object_store_id, object_data_key) REFERENCES object_data(object_store_id, key) ) WITHOUT ROWID<G!indexindex_data_value_locale_indexindex_dataCREATE INDEX index_data_value_locale_index ON index_data (index_id, value_locale, object_data_key, value) WHERE value_locale IS NOT NULL!!stableindex_dataindex_dataCREATE TABLE index_data( index_id INTEGER NOT NULL, value BLOB NOT NULL, object_data_key BLOB NOT NULL, object_store_id INTEGER NOT NULL, value_locale BLOB, PRIMARY KEY (index_id, value, object_data_key), FOREIGN KEY (index_id) REFERENCES object_store_index(id) , FOREIGN KEY (object_store_id, object_data_key) REFERENCES object_data(object_store_id, key) ) WITHOUT ROWID'##tableobject_dataobject_dataCREATE TABLE object_data( object_store_id INTEGER NOT NULL, key BLOB NOT NULL, index_data_values BLOB DEFAULT NULL, file_ids TEXT, data BLOB NOT NULL, PRIMARY KEY (object_store_id, key), FOREIGN KEY (object_store_id) REFERENCES object_store(id) ) WITHOUT ROWID]11etableobject_store_indexobject_store_indexCREATE TABLE object_store_index( id INTEGER PRIMARY KEY, object_store_id INTEGER NOT NULL, name TEXT NOT NULL, key_path TEXT NOT NULL, unique_index INTEGER NOT NULL, multientry INTEGER NOT NULL, locale TEXT, is_auto_locale BOOLEAN NOT NULL, FOREIGN KEY (object_store_id) REFERENCES object_store(id) )%%%
    tableobject_storeobject_storeCREATE TABLE object_store( id INTEGER PRIMARY KEY, auto_increment INTEGER NOT NULL DEFAULT 0, name TEXT NOT NULL, key_path TEXT)tabledatabasedatabaseCREATE TABLE database( name TEXT PRIMARY KEY, origin TEXT NOT NULL, version INTEGER NOT NULL DEFAULT 0, last_vacuum_time INTEGER NOT NULL DEFAULT 0, last_analyze_time INTEGER NOT NULL DEFAULT 0, last_vacuum_size INTEGER NOT NULL DEFAULT 0) WITHOUT ROWID                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  {C'	webExtensions-storage-localmoz-extension://0566257e-1926-462b-aea0-4d60770f65da^userContextId=4294967295 CӨ  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      1 storage-local-data
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
     * 0*}*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              b0tubuf    { " t a b G r o u p s " : [ { " i d*" C z b S 0 p Z X z m D 8 - e 5 _ N 3 s G" ,Xs M edNV K L o j w d V l w 5 1 Y E N A w N 8 a E g 0
    Vu r lL" h t t : / / g io d o . c o m / w h a     R0tfuujoht*    	  0tfuujoht Lp   {"oneTabTabState":{"index":2,"pinned":false,"active":true,"updateDa541617277796205,
    LEvent":"onRemoved"}}L	&  ~0fyufotjpoLfz8 $   1fdf6cfe-0f06-4d59-8aaf-66a9441e8ded    /	,  >0mbtuTffoWfstjpo D   1.54    $	$  00jotubmmEbuf<      
    UwB     N0tubuf  d	 0tubuf.5362     
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   r 	        T e c h " } ,:&4E P L c H V - !j Y%HP p C O X _ m V d T
    !
    fA:."9!e /% e%h o w- e- yE -
     b6!N i n f l u!A t h% p@!,D b% o m e H!A*  Y 	 B
    !F   
      PDA!	Naܘt W Q 9 h E J t I z 4 Z U 9 p G F c l V w. s c i%tAf i cE!	 n=a r( cE /e- w%l i v
    !- aei m u le iE -Ea n5ViAa- 5 0
     /D o%e   L
        a   SJ ?   C  AMȡt     -LFr:A r5t "Jk N M D L n W z o N y 0 g 7 E V 6 K - R E w wX d-. u k /%A1p)r se桪c o vŞ -E! n%:t u* mE.o 
     UAA! u  P r.i lE)o f t w8 tE8s p y  s2 f |E\ I%D  KRc c A b n k 2 d P z e h N l b F _ M q K i Dze s me~ ce!/ t va d a/ 2 0/ 1 0 / c% r
    ^, oŨ- f m\ u e mL m%|A`6- p%r>..|  x r. Nb Z 7 h O s 1 5 4 7 T s _ 4 _ r b q F C J H!H.f	a g*!> ?%!r IŘ o = % 2 Fa gE	Pao gZ pe"H3 S I G N E D _ I N
    ,6	!(dD ia!4 ]
     cI D
    Z	1 6 0 3 3 7 9 6 5 5 9 4 4 } ] }
    Last edited by desbest; 1 Week Ago at 15:59.
      My Computer

  9. Callender's Avatar
    Posts : 4,069
    N/A
       #19

    On another note:

    Check which profile is in use:

    How I export my profile data from a firefox extension?-troubleshooting-information-mozilla-firefox.jpg

    If it's not default-release profile then open the profile that is actually in use and navigate to the idb folder and check contents.

    if there's no data then I'd say no way to get it back except from system image backup copy that you made and could mount and browse or (possibly) from within a shadow volume copy (system restore point) if you have old ones available that you could mount and browse using third party software.

    For the record. I if I install onetab and save a couple of tabs then backup this folder:

    How I export my profile data from a firefox extension?-idb.jpg
    Then uninstall the extension and reinstall it then data is restored if I import the backed up folder.
      My Computer

  10. desbest's Avatar
    Posts : 66
    Windows 10
    Thread Starter
       #20

    I think I'll try that later, but first I have a question.

    The file that has the relevant profile data I want is a json file compressed with snappy.This file does not have the .json file extension, instead it has no file extension and the file name is just a number. How do I de-compress it?

    The php snappy library is talking about compiling but I don't have Visual Studio which costs money (that has a built in compiler) and the compiler that comes with Codeblocks which is free has a rubbish compiler that can't compile simple code (such as recalling a variable that's in a function in C++). I can't use snappy in ruby either. I tried to install the snappy gem to decompress it with ruby, but I got an error.


    cannot find -lsnappy collect2.exe: error: ld returned 1 exit status checked program was: /* begin / ... / end */
    So how can I de-compress the json file compressed with snappy?


    The following C++ code would compile in Visual Studio but not in Codeblocks.

    Code:
    function printsentence(){
        string sentence;
        sentence = "The cat sat on the mat";
        return sentence;
    }
    
    result = printsentence();
    cout << result;
    Last edited by desbest; 1 Week Ago at 11:21.
      My Computer


 
Page 2 of 4 FirstFirst 1234 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 08:18.
Find Us




Windows 10 Forums