編輯

共用方式為


pac data

Import and export data from Dataverse.

Note

These commands are intend to handle configuration data. They are not suitable for large volumes of data. These commands use the Configuration Migration tool and the same limitations and recommendations apply.

These commands are only available for the .NET Full Framework version of the PAC CLI.

Commands

Command Description
pac data export Export data
pac data import Import data

pac data export

Export data

Required Parameters for data export

--schemaFile -sf

Schema file name. It can be created using the Configuration Migration Tool.

Optional Parameters for data export

--dataFile -df

File name for data zip file. Default data.zip

--environment -env

Specifies the target Dataverse. The value may be a Guid or absolute https URL. When not specified, the active organization selected for the current auth profile will be used.

--overwrite -o

Allow overwrite of the output data file if it already exists.

This parameter requires no value. It's a switch.

--verbose -v

Output more diagnostic information during data import/export

This parameter requires no value. It's a switch.

pac data import

Import data

Required Parameters for data import

--data -d

Zip file or directory name with data for import.

Optional Parameters for data import

--connection-count -c

Number of parallel connections to use during import. Default: 5

--dataDirectory -dd

Deprecated: This parameter is ignored.

--environment -env

Specifies the target Dataverse. The value may be a Guid or absolute https URL. When not specified, the active organization selected for the current auth profile will be used.

--verbose -v

Output more diagnostic information during data import/export

This parameter requires no value. It's a switch.

See also

Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview