PrerequisiteBefore scheduling a DSC repository backup job, configure a remote target group for the job. Use the sample_config_repository_backup.xml file to identify the repository backup target group and have scheduling parameters ready.
The config_repository_backup command allows you to schedule a DSC repository backup job.
Before you can recover the DSC Repository, a DSC repository backup job and an export of the repository backup configuration must have completed successfully at least once.
-
Type dsc config_repository_backup -f configRepositoryBackup.xml and press Enter.
For more information, including the xml file template, see config_repository_backup.