Hello everbody
For WANs scenarios it coud be a good idea put a limit in time for syncing.
I'm thinking in...
Order the files to sync by size
Sync first lowest files
If max time is reached, stop syncing
Limit duration in WAN environments
- Posts: 8
- Joined: 25 Mar 2002
To get smallest files to sync first, see my discussion post How to Optimize AMulti-Directory Backup. FFS already does a very smart job in how it orders
its processing, to avoid using any more file space than is necessary, and this
workaround was developed exactly for the scenario you are describing.
If you want a time limit applied, why not write a batch wrapper around FFS so
it starts your backup job and monitors the time. It can tell the job to abort
(or it can just kill the process directly) if the time runs out.
Here are some references that will allow you to select a good batch language
for the wrapper (assuming you are running FFS on Windows and not Linux):
http://en.wikipedia.org/wiki/Comparison_of_computer_shells
http://en.wikipedia.org/wiki/KiXtart
[http://en.wikipedia.org/wiki/Take_Command_%28command_line_interpreter)](htt
p://en.wikipedia.org/wiki/Take_Command_%28command_line_interpreter)
http://en.wikipedia.org/wiki/Take_Command_Console
its processing, to avoid using any more file space than is necessary, and this
workaround was developed exactly for the scenario you are describing.
If you want a time limit applied, why not write a batch wrapper around FFS so
it starts your backup job and monitors the time. It can tell the job to abort
(or it can just kill the process directly) if the time runs out.
Here are some references that will allow you to select a good batch language
for the wrapper (assuming you are running FFS on Windows and not Linux):
http://en.wikipedia.org/wiki/Comparison_of_computer_shells
http://en.wikipedia.org/wiki/KiXtart
[http://en.wikipedia.org/wiki/Take_Command_%28command_line_interpreter)](htt
p://en.wikipedia.org/wiki/Take_Command_%28command_line_interpreter)
http://en.wikipedia.org/wiki/Take_Command_Console