- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
BDR - HDFS - exclusion
- Labels:
-
Cloudera Manager
-
HDFS
Created on
‎04-06-2021
10:45 AM
- last edited on
‎04-06-2021
09:55 PM
by
VidyaSargur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, In BDR HDFS replication I want to exclude all files which end with ".tmp" in the directory "/backups/"
Appreciate it if somebody could give the expression for this to add in BDR "Add Exclusion".
Thanks
Created ‎04-07-2021 04:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, @vtpcnk Greetings!
Thank you for posting in Cloudera Community.
You can use a RegEx pattern like this, Try this out:
CM > Backup > Schedules > Actions > Edit Configurations > Advanced > Path Exclusion
^(?!.*.tmp).*$
For more information, here are some nicer reads:
Section 7: CLDR Doc (Adding Exclusion)
How-to: Building/Testing RegEx
Hope this helps!
Is your question answered? If Yes, Feel free to mark the answer as "Accept as Solution".
If you find a reply helpful, say thanks by clicking on the "thumbs-up" button.
Created ‎04-06-2021 10:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
BTW files with ".tmp" extension could be under any subdirectory under "/backups".
Thanks.
Created ‎04-07-2021 04:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, @vtpcnk Greetings!
Thank you for posting in Cloudera Community.
You can use a RegEx pattern like this, Try this out:
CM > Backup > Schedules > Actions > Edit Configurations > Advanced > Path Exclusion
^(?!.*.tmp).*$
For more information, here are some nicer reads:
Section 7: CLDR Doc (Adding Exclusion)
How-to: Building/Testing RegEx
Hope this helps!
Is your question answered? If Yes, Feel free to mark the answer as "Accept as Solution".
If you find a reply helpful, say thanks by clicking on the "thumbs-up" button.
Created ‎10-17-2022 04:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @vtpcnk
Good Day!
Circling back to see if my post helped you with this task.
If yes, Please mark the answer as "Accept as Solution". So this will be highlighted as solution to this ask for other users in our community.
V
