Restoring Artifacts and Artifact feeds

When you restore your artifacts, you may notice that Backrightup restores your custom packages, but not the publicly available packages. This is not a problem, this is by design and your feed will work as before. This is explained below:

Your original feed may contain a list of both custom and publicly available packages. For example, publicly available packages listed with the source "NuGet Gallery":



However the restored copy does not contain publicly available packages. This is because the setting, "use upstream sources" is on:





When you make use of your new feed and require any publicly available packages, the package will have been cached in the Artifacts and you will likely see it appearing in the feed in due course with the source set to "NuGet Gallery". They are cached packages from upstream sources, so Microsoft do not need to download them again from upstream sources next time they are required by consumers, and the included upstream sources are all approved by Microsoft, so you do not need to worry about them.

Reference: https://stackoverflow.com/questions/60417417/dependencies-getting-copied-to-private-feed-in-azure-devops
Reference: https://stackoverflow.com/questions/64692067/azure-devops-artifacts-feed-fills-with-nuget-gallery-packages

Updated on: 30/06/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!