You are here

More streamlined sync processes

4 posts / 0 new
Last post
RnDMonkey
Offline
Last seen: 8 years 9 months ago
Joined: 2009-08-21 00:20
More streamlined sync processes

Let me first say thank you, Steve, for dedicating your time to the benefit of others. Many props!

Right now I use Allway Sync 'n' Go, and it works very well, but I am considering the choice to pay for the professional license or use an open-source solution like yours. I've been trying to figure out how to do 2-way syncing in Toucan with deletion propogation, but have some concerns about safety and my sanity if I screw up:

1. I work on files such as PCB layouts and reports at work all day.
2. At the end of the day at work, I run all my bidirectional sync jobs with "Propagate Deletions" and "Propagate Modifications" enabled.
3. I go home, run all the same sync jobs as soon as I sit at my computer, and often do some more work at home later.
4. The next morning I run the same sync jobs again with the same settings before leaving for work.
5. When I get to work I pop my USB stick into my computer and sync up again, then start my work day as in step 1.

It seems like I could perform an equivalent routine by setting up 2 separate scripts:
For step 2: Sync job [WorkPC > USB] with Update mode selected, then again with Clean mode selected.
For step 3: Sync job [USB > HomePC] with Update mode selected, then again with Clean mode selected.
For step 4: Sync job [HomePC > USB] with Update mode selected, then again with Clean mode selected.
For step 5: Sunc job [USB > WorkPC] with Update mode selected, then again with Clean mode selected.

As you can see, the type of syncing is not really changing, but the sources and destinations are. What really worries me is messing up, running the wrong script and "Cleaning" all the new files off my thumb drive. It wouldn't be a catastrophic failure, because you can be damn sure I would do a manual sync job when I got back to home/work to get that file back on my thumb drive. Unfortunately, I would be unable to recover my work until going back to home/work and it might cause further sync (or rather, out-of-sync) problems.

Is there any plan to enable a tracker of the files in a sync job so that deletions can be correctly propogated? In my case, privacy would not be an issue for me as far as the program keeping track of folders' contents.
Or is there some magical script that I'm missing?

Thanks for your time, and thanks again for your hard work! Smile

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 9 years 4 months ago
Developer
Joined: 2005-12-10 15:22
Yes

this is definitely a feature that I have deep in planning, I want to do it right though and privacy is definitely an issue for some users!

Currently deletions are not easily supported, but I think the steps you suggest should work with no obvious problems, you could simplify slightly as Update followed by Clean is basically the same as Mirror, although I would wait for the next version of Toucan before using Mirror as there seem to be a couple of issues with the current version.

Thanks for the report, I definitely want to make this use case much easier in the future! Smile

RnDMonkey
Offline
Last seen: 8 years 9 months ago
Joined: 2009-08-21 00:20
Kudos

on using streaming, by the way! I should think it saves a lot of traffic. One thing I was wondering about though... does Toucan still analyze the contents of files that are to be excluded from sync? I had it take 30 minutes to sync less than 50 MB of files, but I assumed that was because I was working out of the root folder or a 360 GB partition (which I excluded) with 4 folders in the include list. It previewed in a matter of seconds, but it took forever at the "building progress bar" step.

Best regards,
Ryan

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 9 years 4 months ago
Developer
Joined: 2005-12-10 15:22
The

difference is that when setting up the progress bar Toucan traverses the entire directory structure, when previewing it only loads to two directories depth, making it much quicker! And yes, it'll still trawl the entire structure (but not actually reading the files, just counting them) with exclusions, I have a smarted version of this though that should improve this, expect it in an upcoming release!

Log in or register to post comments