Author |
Message |
onlyasking
Joined: 12 Dec 2008 Posts: 49
|
Posted: Thu Feb 09, 2012 12:13 am Post subject: tracking database, folder variables and norescan |
|
|
does the tracking database work with folder variables. Say if im using the variable for hour. So ever hour a new folder is produced for the source folder. Then after 24 hours those folders are going to be overwritten but hourly u changes. It the database is ticked are these runs going to be out of sync with the database or does it know there are 24 different destinations for the source folder?
Of course what im trying to achieve is to not have to have each run do a full rescan. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
Posted: Thu Feb 09, 2012 11:38 am Post subject: |
|
|
Hi,
it won't work 100%, because there can only be one tracking db per profile. Once the hour changes the target path changes and the tracking db will reset (automatically if run from VVEngine, you will be asked if running from ViceVersa). However during the same hour, the target won't rescan. As soon as the hour changes, a new rescan is needed , because that's a new target for ViceVersa. _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
Posted: Fri Feb 10, 2012 7:09 am Post subject: |
|
|
Following up my comment above, I tried to add the <hour> variable to the tracking db. It does work, meaning that when the hour change, ViceVersa loads the right db. However, an error is given if the file is not found, because it is the first run. ViceVersa expect to find at least an empty file. If you manually create the 24 empty databases, one for each hour, to start with, then it should work fine. _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
onlyasking
Joined: 12 Dec 2008 Posts: 49
|
Posted: Fri Feb 10, 2012 11:59 am Post subject: |
|
|
ok tx.
so i set path as:
C:\ProgramData\ViceVersa PRO\<hour>.tdb
i create an empty database for each hour.
Will it then know each run is a first run or do i need to turn off no rescan to sync the databases? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
Posted: Fri Feb 10, 2012 12:53 pm Post subject: |
|
|
If you have created all the 24 files manually (empty), then a full rescan is automatically initiated (because an empty file means it's the first run and a full rescan is needed). After that partial rescans are done, and the tdb files are no longer empty.
One other note: make sure the profile is schedule to run in the middle of the hour (or at least not on the exact hour border, e.g. 9:00). Otherwise, suppose the profile runs at 8:59:59. The 8 tracking db is loaded. Then it's now 9:00:00 and the target 9 is loaded. You'd get an error in that case because the folder 9 is not in the 8 tracking db. Nothing major, but the profile does not runs and tracking db error is reported. Next run is OK. _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
onlyasking
Joined: 12 Dec 2008 Posts: 49
|
Posted: Fri Feb 10, 2012 1:49 pm Post subject: |
|
|
good tip, thnaks. I did indeed have them set for the start of the exact hour. |
|
Back to top |
|
|
|