Skip to main content
Solved

Exclude definition in Linux

  • January 11, 2024
  • 2 replies
  • 174 views

Forum|alt.badge.img+11

Hi Team,

On our Linux server, there are folders named /builds/ in different paths and there are many non-critical files in these folders. We want to exclude all folders that are /builds/ on the server and remove them from the backup.
If we define exclude as "***/builds/" in this request, will I achieve my goal?

 

Thanks in advance.

Best answer by MichaelCapon

Hi @0ber0n 

 

Looking at the documentation, To filter any directory named “builds” from backup I think the following filter would work:

/**/builds

 

Best Regards,

Michael

2 replies

MichaelCapon
Vaulter
Forum|alt.badge.img+14
  • Vaulter
  • Answer
  • January 11, 2024

Hi @0ber0n 

 

Looking at the documentation, To filter any directory named “builds” from backup I think the following filter would work:

/**/builds

 

Best Regards,

Michael


Forum|alt.badge.img+14

Hello @0ber0n 

I wanted to follow up with our Documentation on how to syntax the filters.

Content, Filters, and Regular Expressions for UNIX and Linux File Systems - https://documentation.commvault.com/2023e/expert/content_filters_and_regular_expressions_for_unix_and_linux_file_systems.html

 

Thank you,

Collin