Before backing up the DSC repository, run the config_repository_backup command.
The run_repository_job command allows you to back up the DSC repository.
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 run_repository_job -t backup, and press Enter.
The run_repository_job command can only be initiated if no operational jobs are running.