Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

tracking database, folder variables and norescan

 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
onlyasking



Joined: 12 Dec 2008
Posts: 49

PostPosted: Thu Feb 09, 2012 12:13 am    Post subject: tracking database, folder variables and norescan Reply with quote

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: 8763

PostPosted: Thu Feb 09, 2012 11:38 am    Post subject: Reply with quote

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: 8763

PostPosted: Fri Feb 10, 2012 7:09 am    Post subject: Reply with quote

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

PostPosted: Fri Feb 10, 2012 11:59 am    Post subject: Reply with quote

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: 8763

PostPosted: Fri Feb 10, 2012 12:53 pm    Post subject: Reply with quote

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

PostPosted: Fri Feb 10, 2012 1:49 pm    Post subject: Reply with quote

good tip, thnaks. I did indeed have them set for the start of the exact hour.
Back to top
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: