NetBackup™ Web UI Cloud Object Store Administrator's Guide
- Introduction
- Managing Cloud object store assets
- Protecting Cloud object store assets
- About accelerator support
- Managing Cloud object store policies
- Recovering Cloud object store assets
- Troubleshooting
Example of conditions and tag conditions
Here is an example to illustrate the use of conditions and tag conditions.
Consider the container/bucket has the following files/directories:
Following blobs tagged with "Project": "HR" tag
OrganizationData/Hr/resumes/resume1_selected.pdf
OrganizationData/Hr/resumes/resume2_rejected.pdf
OrganizationData/Hr/resumes/resume3_noupdate.pdf
Following blobs tagged with "Project": "Finance" tag value
OrganizationData/Fin/accounts/account1/records1.txt
OrganizationData/Fin/accounts/account2/records2.txt
OrganizationData/Fin/accounts/account3/records3.txt
OrganizationData/Fin/accounts/monthly_expenses/Jul2022.rec
OrganizationData/Fin/accounts/monthly_expenses/Aug2022.rec
Following blobs tagged with "Project": "Security"
The blob Getepass.pdf: Has one more tag with "TypeOfData":"ID_Cards" so this is tagged with two tags (that is: Security and ID_Cards)
OrganizationData/newJoinees/tempPassesList.xls
Following blobs tagged with "Project": "Environment"
EnvironmentContribution.xls
NewPlantedTrees.xls
Example prefix conditions:
Case 1: To backup all resumes irrespective of their status (like, selected or rejected) from
OrganizationData
add the query:prefix Equal to OrganizationData/Hr/resumes/resume
Result: All records that start with
OrganizationData/Hr/resumes/resume
are backed up.Case 2: To backup all resumes and records from Fin and HR, add any of the following queries:
prefix Equal to OrganizationData/Hr/resumes/resume
Or
prefix Equal to OrganizationData/Fin/accounts/account1/rec
Note:
You can add multiple prefixes with OR conditions.
Result: All records starting with OrganizationData/Hr/resumes/resume
or OrganizationData/Fin/accounts/account1/rec
are backed up.
Example object conditions:
To backup a specific object/blob add the following query:
object Equal to OrganizationData/Fin/accounts/monthly_expenses/Jul2022.rec
Result: Only the blob with the name Jul2022.rec
is selected.
Example tag conditions:
Case 1: To backup all blobs tagged with "Project": "Finance", add the following query:
tagKey Equal to 'Project' and tagVal Equal to 'Finance'
Result: All object/blobs tagged with "Project" = "Finance" are selected.
Case 2: To backup data that matches with project Finance or Security, add the query:
tagKey Equal to 'Project' and tagValue eq 'Finance'
tagKey Equal to 'Project' and tagValue eq 'Security'Result: All object/blobs tagged with "Project": "Finance" or "Project":"Security" are selected.
Case 3: To backup data from "Project":"Security" and "TypeOfData":"ID_Cards" add the queries:
(tagKey Equal to 'Project' and tagValue Equal to 'Security')
(tagKey Equal to 'TypeOfData' and tagValue Equal to 'ID_Cards')Result: Data with tag "Project":" Security" and "TypeOfData": "ID_Cards" are selected.