03-11-2014 08:21 AM
Hi All,
I have an EV server installed, backed up by NBU with EV agent for NBU Backup.
All backup are successful, and events in EV server show:
Successfully cleared backup mode from the following index location.
Enabling additions, deletions, and updates because the index location is not in backup mode.
Index Location: E:\Index\index3
(8 repeating events for 8 index locations),
However – EV monitor states that index is in backup mode, and when checking in VAC the Indexing services – they are marked on backup mode.
So – I take them out of backup mode manually.
Anyone knows what can cause the events to say that backup mode cleared while actually still in backup mode?
Sarah
Solved! Go to Solution.
03-11-2014 08:32 AM
I think 10.0.4 does it the way I described it.
You can test it by ... looking at the index table in the Directory Database
Run the powershell command to put the indexes in backup mode (or one of them, or a vault store, or something)
Check SQL
Run the powershell command again
Check SQL again
Run the powershell command to take the location out of backup
Check SQL again
Pretty sure that you'll see the ref count is still 1.. meaning 'still' in backup mode.
Sorry, but I can't test it right now.
How can you control it? Well in 98% of circumstances you won't need to worry about, it's just that if the backup job falls over somewhere, you'll need to remember to take the locations out of backup mode... then the following day/night/week, it'll be okay again.
03-11-2014 08:25 AM
Which version of EV?
Wasn't there an issue where the backup mode was a counter which was incrremented, and then decremented afterwards... in some versions of EV?
So if you did:
backup mode
backup mode
clear backup mode
.. you're still in backup mode.
03-11-2014 08:29 AM
Version 10.0.4
if NBU agent is in charge of putting system in backup mode and taking it out of backup mode - How can I control this?
03-11-2014 08:32 AM
I think 10.0.4 does it the way I described it.
You can test it by ... looking at the index table in the Directory Database
Run the powershell command to put the indexes in backup mode (or one of them, or a vault store, or something)
Check SQL
Run the powershell command again
Check SQL again
Run the powershell command to take the location out of backup
Check SQL again
Pretty sure that you'll see the ref count is still 1.. meaning 'still' in backup mode.
Sorry, but I can't test it right now.
How can you control it? Well in 98% of circumstances you won't need to worry about, it's just that if the backup job falls over somewhere, you'll need to remember to take the locations out of backup mode... then the following day/night/week, it'll be okay again.
03-12-2014 02:47 AM
Thanks Rob,
I tested it on the ev, and found:
dbo.IndexRootPathEntry has two columns : BackupMode & BackupModeRefCount.
run the set backup mode twice, BackupMode = 1, BackupModeRefCount = 2
run the clear backup mode once, BackupMode = 1, BackupModeRefCount = 1
another run of clear backup mode = BackupMode = 0, BackupModeRefCount = 0
Meaning - backup job didn't finish successfully, hence system stays stuck in backup mode.
Thanks a lot for the explanation, always good to learn something new!
Sarah.