CBbackupmgr exclude bucket

I know we have the parameter that excludes bucket from the backup.
Reading through the documentation, we can exclude the buckets by adding the bucket name(s) to the list .

I want to exclude inmemory buckets only and I do not want to keep adding the new inmemory buckets to the list of excluded buckets.

Does anyone know a way couchbase can detect a Inmemory buckets and exclude them

Thank you