question

jham6509-5400 avatar image
0 Votes"
jham6509-5400 asked SadiqhAhmed-MSFT answered

Micosoft Azure Backup (MABS) KeyManager.cpp "Key is expired according to expiry days"

I have been noticing the below error in my "CBEngineCurr.errlog" log file. Would anyone know which key this error is referring to?


28E8 10B4 03/17 20:02:29.824 32 KeyManager.cpp(955) WARNING CKeyManager::IsKeyExpired::Key is expired according to expiry days [180]

azure-backup
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@jham6509-5400 Are you using Azure Key Vault to store keys?

In the past, we noticed that this issue occurs if MARS agent cache folder is located under OS volume. changing the location usually fixes this issue. You may refer to a similar issue here - https://social.technet.microsoft.com/Forums/en-US/0e7e43cd-61ae-4761-9641-216138813b98/error-authentication-token-for-microsoftazurerecoveryservices?forum=windowsazureonlinebackup might be helpful.

Let us know how it goes!


If the response helped, do "Accept Answer" and up-vote it

1 Vote 1 ·

I found the documentation below on how to change the Scratch location. Do the contents really need to be moved? What would I need to do if I wanted to completely get rid of its contents and start over with a new Scratch folder?

https://docs.microsoft.com/en-in/azure/backup/backup-azure-file-folder-backup-faq#backup

0 Votes 0 ·

The scratch folder was moved to a non-OS disk but I am still having issues. Online recoveries appear to be working fine for SQL backups but disk/folder backups are all failing when attempting to do a Online Recovery Point.

This started happening around the same time as the thread below.

@SadiqhAhmed-MSFT Is there someone that I can send my CBEngineCurr.errlog to for review?

https://docs.microsoft.com/en-us/answers/questions/291196/having-problem-backing-up-a-file-disk-using-dpm-to.html

0 Votes 0 ·

@jham6509-5400 You can safely ignore this warning for now. Additionally, moving around the scratch folder is not going to resolve this.
Thanks for bringing this to our attention. We can take a fix in one of the subsequent releases to address this message.

Regarding the question of moving of scratch folder, there are some files and settings which are to be copied (eg: OnlineBackup.kek) since there is no direct way for MARS agent to regenerate this without customer intervention. Hence, it is advised to copy the contents.


If the response helped, do "Accept Answer" and up-vote it

0 Votes 0 ·

1 Answer

SadiqhAhmed-MSFT avatar image
0 Votes"
SadiqhAhmed-MSFT answered

@jham6509-5400 - Sharing the solution with the community



Resolution:

  1.     Moving a large volume of data will take longer than moving a smaller volume of data. In some cases, backup time is related to not only the size of the data, but also the number of files or folders. This is especially true when millions of small files (a few bytes to a few kilobytes) are being backed up.
    

  2.     This behavior occurs because while you're backing up the data and moving it to Azure, Azure is simultaneously cataloging your files. In some rare scenarios, the catalog operation might take longer than expected.
    

https://docs.microsoft.com/en-us/azure/backup/backup-azure-troubleshoot-slow-backup-performance-issue#cause-another-process-or-antivirus-software-interfering-with-azure-backup


If the response helped, do "Accept Answer" and up-vote it

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.