To exclude collections or documents from backup you can use the option --exclude.
-E, --exclude - Comma separated list of excluded paths, use * for document id wildcard.
All documents and subcollections following a match will be excluded. By specifying the document ID a specific subcollection can be excluded. Use * for document ID wildcard.
Exclude collection or document
To exclude collections or documents from backup you can use the option
--exclude
.-E
,--exclude
- Comma separated list of excluded paths, use * for document id wildcard.All documents and subcollections following a match will be excluded. By specifying the document ID a specific subcollection can be excluded. Use
*
for document ID wildcard.Example: