cancel
Showing results for 
Search instead for 
Did you mean: 

Index in backup mode while event show the opposite?

Sarah_Seftel1
Level 6
Partner Accredited

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  

1 ACCEPTED SOLUTION

Accepted Solutions

Rob_Wilcox1
Level 6
Partner

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.

Working for cloudficient.com

View solution in original post

4 REPLIES 4

Rob_Wilcox1
Level 6
Partner

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.

Working for cloudficient.com

Sarah_Seftel1
Level 6
Partner Accredited

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?

Rob_Wilcox1
Level 6
Partner

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.

Working for cloudficient.com

Sarah_Seftel1
Level 6
Partner Accredited

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.