Question

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

  • 29 August 2023
  • 3 replies
  • 130 views

Userlevel 2
Badge +4

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

Userlevel 4
Badge +10

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

Userlevel 2
Badge +4

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

Userlevel 4
Badge +10

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

Reply