Exclude collection in mongodb backup

Hi,
I have a collection which weights couple of Go that can be generated from a program. Today, it is being backup, but it takes a lot more time to execute the backup with this collection included.
I know that there is an option to backup only specific collections, but I want to do the opposite, is there a way to do this using pbm ?

Thanks!

Hi Mike, I got it, but there’s no direct variable to do this. The only way is to use the –ns option to list all collections and databases except the one you don’t want to back up.

Also, if you can separate that collection into a new, empty database, your list will be smaller.