Archive for January, 2016
gContactSync makes a backup before the first sync and every 7 days afterwards by default. If possible you should use Gmail’s interface to restore contacts. If this isn’t an option (something happened during the first sync, for example) you may follow the steps below to restore your address book in Thunderbird.
- First disable synchronization with the address book:
- gContactSync -> Accounts and select the address book.
- Check Show Advanced Settings
- Check Temporarily disable synchronization with this address book.
- Click Save Changes
- Close Thunderbird. Find your TB profile folder. If you open the log the path you should see Log Location, for example: C:\Users\<username>\AppData\Roaming\Thunderbird\Profiles\xxxxxxxx.default\gcontactsync\gcontactsync_log.txt
- Go to the specified directory (ignoring the filename at the end) and go into the address_book_backups folder
- Address books are of the form abook(-N).mab (except collected addresses, which is history.mab). If you only have one unique address book name then move on to step 5, otherwise you’ll need to figure out which address book you are synchronizing with.
- Go to the menu -> Options -> Options… -> Advanced -> General -> Config Editor…
- Type the following: ldap_2.servers.*filename and look for the line with that has your address book’s name in it (certain characters are stripped). The text under Value is the filename of your address book.
- Now that you know the name of you address book you should see one or two files in address_book_backups that include that filename. <filename>.bak is the most recent backup and init_<filename>.bak is a backup from before the first time you synchronized that address book. Copy the file you want.
- Go up two directories to your main TB profile folder.
- Rename the file with the name found in step 4 (make sure this backup filename is different than the filename in address_book_backups).
- Paste the file from step 5 and rename it to the original name of the file renamed in step 7.
- Open Thunderbird. You can re-enable synchronization when ready, or setup a new address book to sync with.