A registry migration needs an inventory that you can verify. Organization package exports include metadata and immutable artifact bytes for npm, PyPI and Files.
Export organization packages
An administrator can open Settings → Export packages after a recent sign-in. The export streams a private tar archive to the browser. It does not delete packages or create credentials. Exports remain available during subscription recovery.
The archive includes npm tarballs and dist-tags, PyPI distributions and available metadata sidecars, and Files objects and channel pointers. Metadata preserves quarantine annotations and PyPI yank status. Credentials and records from other organizations do not appear in the archive.
A storage or read failure aborts the download. Verify the archive before you use it.
Prepare the CLI before offline verification
You need an authorized PrivateNPM source checkout or a supplied operator CLI. From a source checkout, build the CLI while build dependencies remain available:
go build -o ./privatenpm-com ./cmd/serverWith the built binary, verify the archive against the expected organization ID:
./privatenpm-com archive verify organization-packages.tar --organization org_EXPECTEDThis command needs no database or registry connection. It checks the completion manifest, organization ID, inventory and SHA-256 hashes. It rejects duplicate and unsafe paths.
Download the archive through your own authenticated session. Matching hashes establish integrity. They do not establish the identity of another sender.
Prepare files in a new directory
./privatenpm-com archive prepare organization-packages.tar --organization org_EXPECTED --output ./package-migrationThe command verifies the archive before it writes files. It refuses an existing output directory and restricts file access to the current user. The plan records artifact hashes, byte counts and metadata paths. The command neither connects to a destination nor executes lifecycle scripts.
Verify the destination
- Review the inventory and release annotations.
- Publish artifacts to a separate test destination.
- Compare artifact hashes with the export.
- Restore the necessary tags or channel pointers.
- Test representative installs with a fresh client cache.
- After these checks pass, update recipient registry configuration.
The archive does not recreate access policies, credentials, publish provenance or usage history at another provider. It reads a live view. Pause release, unpublish and tag changes for a final migration copy. A package export does not establish a point-in-time recovery guarantee.
The registry guides describe the client configuration that a migration must preserve.