This question already has an answer here:
Is it possible to somehow retrieve all metadata for a single custom metadata type via
sfdx mdapi ?
I've tried this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <members>Env_Var__mdt.*</members> <name>CustomMetadata</name> </types> <version>45.0</version> </Package>
but it doesn't work...
I know I can get EVERYTHING with
<members>*</members> but that's not really helpful...