You are here

Syncing only works in one way

9 posts / 0 new
Last post
Westender
Offline
Last seen: 4 years 1 week ago
Joined: 2009-10-28 18:05
Syncing only works in one way

Hi there,

i've got a little problem with toucan syncing. My goal to achieve is, that I want to keep all my e-mails and address books in thunderbird up to date between my installation on my PC and the portable thunderbird on my stick.

For this purpose, I created two jobs: "ToStick" and "FromStick". As you may guess, the "ToStick" job should copy all files, that have changed, from the local pc onto my stick. And the job "FromStick" should do it vice versa.

I defined two variables:

@thunderbirdprofile@ contains the full path (including the drive letter) to my thunderbird profile on my local pc

@portable_tb_profile@ contains the full path (including the drive letter) to my thunderbird profile on the usb stick

As "function" I selected "Copy", in "other" I selected "retain timestamps" and "retain attributes".

Finally, I use one rule, which does exclude or include specific files.

Now here's my problem: when I want to see the preview for the job "ToStick", in both windows "Source" and "Destination" all files, directories and subdirectories show up. Changed files have a different colour, unchanged files are shown in black.

Now when I select the job "FromStick" (that's the job which should copy all changed files from the stick to my local installation), the destination window only shows one single line containing the path to my thunderbird profile on my local pc. No files, no directories, no subdirectories...

That's something, I did not expect to happen. Even if there are no changed files (means: all files are the same), I would expect to see the files and directories here. These things DO show up, when using the job "ToStick", but not when using the job "FromStick"...

now can anyone help me? does anyone have an idea what's going wrong here?

I'm going on holiday in a few weeks, and want to get my e-mails using thunderbird portable, but if there is no way of synchronizing all the things back to my local pc, this could be a bit more of work...

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 3 weeks ago
Developer
Joined: 2005-12-10 15:22
Do

the jobs actually work when you run them? It sounds like there is an issue with the variable, to you use both variables with both jobs?

Westender
Offline
Last seen: 4 years 1 week ago
Joined: 2009-10-28 18:05
Syncing only works in one way

Well, I just didn't have the heart to run the 2nd job (from stick to computer) because I don't want to risk any loss of data... but yes, I plan to use both variables with both jobs.

Shouldn't be a problem IMHO. At least, they are only variables, and as variables, they shouldn't have any impacts on the jobs, except of telling the jobs where to look for the files...

maybe later this day, I give it a try and let both jobs run. At least, I have to wait a little so I got new email which I then will capture with my portable thunderbird, so I have new things to copy from the stick to my stationary computer.

Westender
Offline
Last seen: 4 years 1 week ago
Joined: 2009-10-28 18:05
Syncing only works in one way

okay, now I found the time and the courage Smile to test it. It seems, that both jobs work, and that only the "preview" from the Job "FromStick" (that is syncing from the stick back to the stationary computer) is not shown correct.

But I felt, that a second problem exists: when syncing from the computer to the stick, far more files are copied than necessary. Maybe the check, which file is newer, does not work correctly in this way.

The way back, from stick to computer, really only copies the few files, that have changed. But I'm not sure about this second problem, but maybe one could investigate that.

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 3 weeks ago
Developer
Joined: 2005-12-10 15:22
I

think this should be fixed in the latest pre-release Smile

Westender
Offline
Last seen: 4 years 1 week ago
Joined: 2009-10-28 18:05
Syncing only works in one way

Unfortunately, the Pre-Release 3 does not work for me. So it's even worse than the actual official release 2.2.1.

Syncing back from the stick does not work at all. With 2.2.1, only the preview did not work, but the job itself was done. Now, neither the preview nor the job works.

Just to be complete: here's my Jobs.ini from the 2.2.1 (don't know if the version entry 300 comes from the installation of the new pre-release, but 2.2.1 works well with this file):

[General]
Version=300
Function=
[SyncRemember]
Source=@thunderbirdprofile@
Dest=@portable_tb_profile@
Function=Copy
TimeStamps=1
Attributes=1
IgnoreReadOnly=0
IgnoreDaylightSavings=0
Rules=AdressBook
Type=Sync
Name=ToStick
[FromStick]
Source=@portable_tb_profile@
Dest=@thunderbirdprofile@
Function=Copy
TimeStamps=1
Attributes=1
IgnoreReadOnly=0
IgnoreDaylightSavings=0
Rules=AdressBook
Type=Sync
[ToStick]
Source=@thunderbirdprofile@
Dest=@portable_tb_profile@
Function=Copy
TimeStamps=1
Attributes=1
IgnoreReadOnly=0
IgnoreDaylightSavings=0
Rules=AdressBook
Type=Sync

And to be complete, here also comes my Rules.ini:

[General]
Version=300
[AdressBook]
FilesToInclude=
FilesToExclude=|91266911.s.org|cert8.db|compatibility.ini|components.ini|compreg.dat|downloads.rdf|junklog.html|*.json|xpti.dat|*.sqlite|prefs.js|user.js|flashgot.log|flashgot.log.bak|localstore.rdf|mailviews.dat|mimeTypes.rdf|panacea.dat|signons3.txt|XPC.mfl|XUL.mfl|virtualFolders.dat
FoldersToExclude=|chrome|extensions|News|ImapMail|adblockplus|backupdata|minidumps

If you need more, then please tell me. But hey, regardless of this: thanks for your work!!

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 3 weeks ago
Developer
Joined: 2005-12-10 15:22
Could

you post the variables.ini file for me too please?

Westender
Offline
Last seen: 4 years 1 week ago
Joined: 2009-10-28 18:05
Syncing only works in one way

Here we go:

[appldata]
DEACW131.acn.de.int.atosworldline.com=D:\\Dokumente und Einstellungen\\diw\\Anwendungsdaten
Andere=
shrek=C:\\Dokumente und Einstellungen\\Dirk Admin\\Anwendungsdaten
[backupdrv]
DEACW131.acn.de.int.atosworldline.com=J:\\
Andere=
shrek=L:\\
[thunderbirdprofile]
shrek=C:\\Dokumente und Einstellungen\\Dirk Admin\\Anwendungsdaten\\Thunderbird\\Profiles\\kv5rv46t.default\\
Sonstiges=
[portable_tb_profile]
shrek=G:\\PortableApps\\ThunderbirdPortable\\Data\\profile
Sonstiges=

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 3 weeks ago
Developer
Joined: 2005-12-10 15:22
I

think I have this sorted and will try and get another pre-release up shortly.

Log in or register to post comments