The mccli group export command exports a group, group settings (that is, name, domain, encryption method, and so forth), and assigned policy objects (dataset, schedule, and retention policy) to an XML file. However, groups exported in this way do not contain a list of client members.
Synopsis
mccli group export [--domain=STRING(/)] --file=STRING --name=STRING [--force=Boolean(false)]
--domain=STRING(/) > Specifies the Avamar server domain that contains the group specified by the --name argument.
--file=STRING > Specifies the name of the export XML file to create. This option is required.
--force=Boolean(false) > If true, then the option forces the overwrite of an existing XML file.
--name=STRING > Specifies the group to export. This option is required.
The mccli mcs import command accepts an XML file created by the group export command and imports the group and its policy objects (that is, dataset, schedule, and retention policy) into the target Avamar server. The group name remains the same, but you can specify a new target domain.
There is a method which can be used to export group settings and assigned policy objects (dataset, schedule, and retention policy) to a XML file and this XML file can be imported to another Avamar server.
A simple question to you - Do you want to export - import only dataset or all policy objects ?
pawankumawat
1 Rookie
•
355 Posts
6791
0
Posted January 29th, 2014 07:00
Hello,
The mccli group export command exports a group, group settings (that is, name, domain, encryption method, and so forth), and assigned policy objects (dataset, schedule, and retention policy) to an XML file. However, groups exported in this way do not contain a list of client members.
Synopsis
mccli group export [--domain=STRING(/)] --file=STRING --name=STRING [--force=Boolean(false)]
--domain=STRING(/) > Specifies the Avamar server domain that contains the group specified by the --name argument.
--file=STRING > Specifies the name of the export XML file to create. This option is required.
--force=Boolean(false) > If true, then the option forces the overwrite of an existing XML file.
--name=STRING > Specifies the group to export. This option is required.
The mccli mcs import command accepts an XML file created by the group export command and imports the group and its policy objects (that is, dataset, schedule, and retention policy) into the target Avamar server. The group name remains the same, but you can specify a new target domain.
Synopsis
mccli mcs import --file=STRING [--force=Boolean(false)] --target-domain=STRING [--prefix=STRING]
Example -
mccli group export --name=group-name --file=filename.xml
mccli mcs import --file=filename.xml --target-domain=domain-to-import-to
I Hope this will be helpful for you
Regards,
Pawan