Skip to main content
Question

How to add a filter to Exclude stub files from backups.

  • August 29, 2023
  • 3 replies
  • 194 views

Forum|alt.badge.img+3

I need the syntax to add the stub files on the backup filters at the subclient level

eg :

normal file exclusion : *:\**\*.xlsb

Stub file : What’s the syntax

 

3 replies

SparshGupta
Vaulter
Forum|alt.badge.img+10
  • Vaulter
  • August 30, 2023

Hi @Kavya 

 

Could you please elaborate on the use case here? Why are we trying to avoid stub files backup?


I am assuming you are referring to commvault stubs i.e. stubs created by commvault driver for let’s say archiving solution. If not, kindly let me know.

 

Thanks,

Sparsh


Forum|alt.badge.img+3
  • Author
  • Novice
  • August 30, 2023

We have a client requirement to exclude stub files  for backups at File agent backup.

Hence making sure I use right filters at the subclient level to define it


SparshGupta
Vaulter
Forum|alt.badge.img+10
  • Vaulter
  • August 30, 2023

Hi @Kavya 

 

Can you try adding the below additional setting -

 

https://documentation.commvault.com/additionalsetting/details?name=%22bDoNotBackupStubs%22&id=12538

 


 

Please note that -

 

  • We will not backup stubs on archiving subclient if this key is set.
     
  • Stubs will still get backed up by the Filesystem subclient.
     
  • Minimum Service Pack level required = SP26

 


 

Thanks,

Sparsh