To export a P6 configuration using the command line:
adminpv -CopyConfig "<CurrentConfig>" "<ExportConfig>"
where <CurrentConfig>
is the name of the configuration you want to export (by default, Primavera P6 Configuration) and <ExportConfig>
is the name of the exported configuration.