problem with multiple syncs in one batch job missing files

Discuss new features and functions
Posts: 4
Joined: 18 Nov 2018

hspindel

I've created an ffs_batch file which performs multiple syncs. Here's an example:

<drive1> -> <drive 2>
<drive2> -> <drive 3>

The problem that I see (apparently) is that scanning is performed before copying. Then when the drive2 to drive3 copy is performed, files are missed because drive 2 to drive 3 was scanned before drive 1 updated drive 2.

Is there a way to make one of the copies in a multiple sync copy dependent on completion of the previous copies so files aren't missed?
User avatar
Posts: 2270
Joined: 22 Aug 2012

Plerry

You first need to run the <drive1> -> <drive 2> sync
and after that is finished run the <drive 2> -> <drive 3> sync

However, if <drive 2> is a mirror of <drive 1>, you can run
<drive 1> -> <drive 2> and <drive 1> -> <drive 3> in a single sync.
Posts: 4
Joined: 18 Nov 2018

hspindel

Thank you, Plerry, but that's the obvious answer. I'm looking for an answer that allows me to have one ffs_batch file. This would need some intelligence in FFS.

I knew this would probably fit as an enhancement request, but I posed it the way I did in case I was missing somethings.