Importing an existing PACS storage folder into Orthanc without copying studies
You can make studies from another PACS's file store searchable in Orthanc without copying the files, provided Orthanc can read the store in place and index the DICOM objects it finds there. The practical route is the Advanced Storage plugin's indexer mode and its import scenario, with the Folder Indexer plugin as an alternative for continuous filesystem synchronization. The effort depends on three things: how the source store is laid out (flat, nested by patient or date, or with sidecar files), how large the existing index is, and whether the source store must stay untouched. An in-place index is cheap to start but leaves Orthanc reading files that another system may still write, move or delete, so confirm that ownership before the first run.
This work is an import of a file store, which is different from two neighboring jobs. A DICOM network transfer moves studies across C-STORE or DICOMweb and leaves both systems holding their own copies. A database change, such as moving the index from SQLite to PostgreSQL, changes where Orthanc keeps its own metadata but does not bring in a foreign archive. Importing a folder sits between them: Orthanc builds its index over files that already exist, and the source system remains the place those files live. Be clear with the source PACS owner about which side will write new objects, because a file that Orthanc has indexed and then the old system rewrites or prunes will leave the index out of step with disk.
What maps from a PACS storage folder into Orthanc
This table compares common capabilities of a PACS file store with how Orthanc handles the same concern when it indexes existing files. Read each row as a question to answer for your source system before the import, because the source's own index, access model and audit trail do not carry over automatically. The main takeaway is that Orthanc indexes the DICOM files it can read, while identity, permissions and history must be rebuilt or confirmed separately.
| Source capability | Orthanc equivalent or gap | Migration notes |
|---|---|---|
| File layout and folder hierarchy | Indexer mode reads files where they sit, so the folder structure is not reorganized into Orthanc's own storage layout. | Confirm in the Advanced Storage and Folder Indexer pages how the watched or imported paths are configured for your version. |
| DICOM metadata and tags | Orthanc reads DICOM headers from each file to build its index of patients, studies, series and instances. | Files that are unreadable, non-DICOM or missing required tags may be skipped. Test a sample of each modality type before a full run. |
| Study and series hierarchy | Orthanc rebuilds the patient, study, series and instance hierarchy from DICOM UIDs and tags, not from the source's database. | Duplicate UIDs or inconsistent patient IDs in the source can merge or split studies. Reconcile counts against the source index. |
| File naming and file identity | Orthanc identifies instances by its own internal identifiers, derived from the content of the files. | Source file names are not used as Orthanc identifiers. Keep a mapping from source paths to Orthanc identifiers if other systems refer to file names. |
| Deletion and file removal | Whether Orthanc deletes or keeps the source files when a study is deleted depends on the mode used. Confirm this in the Advanced Storage and Folder Indexer documentation. | Deleting studies in Orthanc can remove files the source still needs. Confirm deletion behavior on a copy before enabling it on the live store. |
| Ongoing synchronization | The Folder Indexer plugin continuously synchronizes Orthanc with a filesystem of DICOM files without copying them, and the Advanced Storage plugin offers an alternative implementation. | Choose one approach deliberately. Confirm which plugin is supported for your version and how new files written by the source are picked up. |
| Access control | Orthanc does not inherit the source PACS user accounts or roles. Access is governed by Orthanc's own authentication settings and, where used, the advanced authorization plugin. | Define users, roles and permissions in Orthanc before exposing the imported archive. Confirm the authorization plugin route for your version. |
| Audit trail | The source's access logs and history do not transfer. Orthanc keeps its own logs, which you must configure and retain. | Export or archive the source audit records separately if your retention obligations require them. Confirm Orthanc log settings for your version. |
Documented import paths Orthanc offers for existing files
Orthanc documents two ways to make files that already sit in another system's storage visible to the server without copying them. Both work at the file level, so the choice depends on whether you need a one-time bulk import or a folder that stays in sync, and on which plugin your Orthanc version supports. Confirm the route against the plugin documentation for your release before you plan the cutover.
Advanced Storage plugin indexer mode
The Advanced Storage plugin can index files that already exist on disk so Orthanc records them without rewriting them into its own storage layout. Ask the vendor or your own tests whether indexer mode keeps the original file paths intact and how it treats files that Orthanc cannot parse as DICOM. Confirm that the index and the file store stay consistent if the source folder is later changed by another system.
Advanced Storage docsImport all studies scenario
The Advanced Storage plugin documents a scenario for importing all studies from another PACS, which is the case most relevant to a migration. It is a one-time operation over a known file set, so the work is in preparing the inventory: counting studies and instances at the source, then comparing those counts with Orthanc after the run. Plan a pilot on a copy of the folder before importing the production archive.
Folder Indexer for continuous sync
The Folder Indexer plugin keeps Orthanc synchronized with a filesystem of DICOM files without copying them, so files added to the folder later appear in Orthanc. This suits a source system that keeps writing to the same location during a transition. Check how it handles files that are deleted, moved or partially written, because those events determine whether the index can drift from the folder.
Folder Indexer docsChoosing between the two implementations
The Book notes that Advanced Storage now offers an alternative implementation to the Folder Indexer. Before choosing, confirm which of the two is supported and maintained for the Orthanc version you run, and whether the plugin you plan to use is compatible with your database plugin. Record that decision in the migration plan, since switching later means reconfiguring how files are indexed.
Read-only source and file permissions
Indexing a folder without copying means Orthanc depends on the source files staying in place and readable. Decide whether the source store will remain writable by the legacy PACS, and whether Orthanc will need read-only access to its paths. Test file ownership, permissions and mount options on the Orthanc host, including on network shares, before the import starts.
Limits and verification after indexing
Neither route removes the need for verification. Compare study, series and instance counts between the source and Orthanc, sample a set of studies for pixel and metadata integrity, and check how deletions in Orthanc affect files that the legacy system still uses. Ask the plugin maintainers which operations are unsafe on indexed files, such as deletion or anonymization, and restrict them until the migration is signed off.
How indexer mode leaves source files in place
The diagram starts at the source PACS file store on the storage area, which the Orthanc indexer reads but does not write. The indexer records study, series and instance metadata in the Orthanc index database, and REST and DICOM clients query Orthanc rather than the files. The dashed boundary marks where the source store must stay read-only, and the operator should confirm that the source is never written to and that any later write path goes through Orthanc only.
Indexer reads source files in place and stores only metadata in Orthanc.
Indexer mode or one-time import: choosing the route for the source store
The first decision is whether the source store stays live after the move. An indexer keeps Orthanc synchronized with a filesystem of DICOM files that another system is still writing to, so new studies appear in Orthanc as they land. A one-time import scenario from the Advanced Storage plugin reads the existing files once and builds the index, after which Orthanc is the only system that manages that catalog. If the source PACS will keep receiving studies for weeks or months during cutover, the indexer route is the one to test. If the source is frozen or retired on a fixed date, a one-time import is usually simpler to reason about. Confirm which of these your source PACS actually does before choosing, because its write pattern, not the plugin, sets the requirement.
The two routes differ most on deletion, rebuilds and growth. Ask what happens when a file is removed or overwritten at the source, whether Orthanc deletes its own index entry, and whether a deletion from Orthanc ever touches the source files. Ask how the index is rebuilt after a crash, a restore or a core upgrade, how long that takes on your study count, and whether a rebuild rescans the whole store. Growth matters as well: an indexed store grows in Orthanc's index while the files stay where they are, so storage planning must count both the source volume and any new files Orthanc writes. The Folder Indexer and the Advanced Storage alternative differ in these details, so compare them against the exact behavior you need instead of assuming they match.
Because the Orthanc 1.13.0 release rewrote storage-area access and DICOM parsing and transcoding, behavior documented for earlier cores may not hold on the version you deploy. Pin the exact core and plugin versions in the pilot, run the import or indexer against a copy of a representative source folder, and record study counts, instance counts, deletion results and rebuild times. Check the limits in the Orthanc Book Folder Indexer plugin page and the Advanced Storage plugin page against what the pilot shows. Treat any gap between the documentation and the pilot as a blocker to resolve with the plugin documentation or the vendor before production cutover.
How the import runs in phases with a parallel run and cutover
The sequence moves a foreign file store into Orthanc in gated stages, so each stage proves the index matches the source before modalities and viewers depend on it. The output is a documented cutover with a frozen, recoverable source.
Inventory the source file store and index
Before any import, the team records how the source PACS stores files: directory layout, naming, whether files are one instance per file, transfer syntaxes in use, compression, and whether a database index maps study UIDs to paths. The source vendor or the PACS administrator should confirm which files are authoritative and whether any files are temporary, partial or cached. The team also counts studies, series and instances from the source's own query interface so there is a baseline to compare against. This step is done when the inventory lists every storage root, the index source, and the baseline counts, signed off by the person who owns the source PACS.
Build a test Orthanc on a representative subset
The team stands up a non-production Orthanc with the Advanced Storage plugin or the Folder Indexer plugin, pointed at a copy of a representative subset of the source folders. The subset should include studies from each modality, each transfer syntax found in the inventory, and at least one study with unusual content such as multi-frame images or missing tags. The Orthanc Book's indexer and import documentation should be read against the exact Orthanc and plugin versions being deployed, and the team should confirm which mode is supported for their version. The output is a running test instance and a log of files that were rejected or skipped, with reasons.
Validate counts and sample studies against the source
The team compares Orthanc's study, series and instance counts with the baseline from the inventory, accounting explicitly for files the indexer skipped. They open a sample of studies in both systems and compare patient, study and series identifiers, image counts, and a few pixel-level checks in a viewer. Any mismatch is traced to a cause: a duplicate, a non-DICOM file, an unreadable file or an indexing rule. The gate is passed only when every discrepancy is explained and the remaining skipped files are accepted by the owner of the source archive. The output is a signed reconciliation report.
Run the parallel period for query and retrieve
Orthanc is attached to the full source folders and runs alongside the source PACS. Test modalities and workstations are configured to query and retrieve from Orthanc, while production traffic still uses the source. The team checks that new studies arriving at the source appear in Orthanc through the synchronization method chosen, that retrieves return identical files, and that the file store is not modified by Orthanc. The team should confirm with the storage administrator that Orthanc has read-only access to the source paths during this period, since write access would create risk. The gate is passed when new arrivals are indexed on schedule and retrieved objects match the source.
Cut over modalities and viewers
Modality worklists, the storage destinations of acquisition devices, and viewer endpoints are re-pointed to Orthanc in a change window agreed with clinical and operations owners. Each device's DICOM AE title, port and network route are recorded before and after the change, and a test study is sent from each device class. The team checks that viewers launch the expected studies and that DICOM C-STORE from devices lands in the intended storage. The output is a dated change record and a rollback plan that names the configuration to restore if a device fails.
Freeze, verify and decommission the source
After cutover, the source PACS is set to read-only for new ingestion and kept available for a period agreed with the data owner, so any missed study can be recovered. The team runs a final count reconciliation between the source and Orthanc, confirms retention and deletion rules for the source files, and records who may authorize decommissioning. Decommissioning happens only after the owner signs off that the frozen source is no longer the system of record. The output is a closed migration record that states the final counts, the freeze date and the retention decision for the old file store.
What drives the cost and duration of a storage folder import
This table lists the factors that change how much work a storage folder import takes, whether each factor is paid once or recurs, and what to ask a partner for in a written quote. Read it before you request a scope, because most of the effort sits in the source data and the validation depth rather than in the import command itself.
| Driver | Why it changes cost or effort | What to ask for in a quote |
|---|---|---|
| Number of files and studies | Indexing time, disk reads and verification passes grow with the number of DICOM files on the source share. Scale also determines whether the SQLite index is still appropriate. | Counted inventory of files, studies and instances from the source, and the database back end assumed for the target. |
| Storage layout and nesting | Folder trees built by another PACS may use patient, date or accession paths, or mix several layouts. Irregular nesting needs custom discovery rules and extra testing. | A written description of the source layout, sample paths, and whether the partner will write or adjust the indexing configuration. |
| Compression and transfer syntaxes | Files stored in several transfer syntaxes, including compressed ones, can behave differently when indexed and served. Mixed syntaxes add test cases for viewers and modalities. | A syntax inventory of the source, and confirmation of which syntaxes must be served unchanged to downstream clients. |
| Metadata quality | Missing, duplicated or inconsistent tags (patient IDs, study UIDs, dates) lead to merged or split studies that someone must review and resolve. | A sample audit result, the rules for handling duplicates, and who signs off on exceptions. |
| Source PACS index integrity | The source system may hold an index that no longer matches its files. Orphaned or missing files surface only when the folder is read, which can extend investigation. | Whether the partner will compare the source index with the files on disk, and how discrepancies are reported. |
| Required validation depth | Checking counts only is quicker than sampling pixel data, comparing tags or testing retrieval from each viewer. Each added check is extra effort, one time. | A named list of checks, the sample size or coverage for each, and the evidence delivered at the end. |
| Parallel run length | Keeping the source and Orthanc both available for comparison extends the period of shared support and storage, and the decision to stop it sits with the client. | The agreed run period, who monitors both systems during it, and the criteria for ending it. |
| Integrations to rewire | Modalities, viewers, routers and downstream systems that point at the old PACS must be re-pointed and retested. Each integration adds configuration and test work. | A list of every system that reads from or writes to the source, and which ones the partner will reconfigure. |
| Team familiarity with Orthanc | A team new to Orthanc needs more time for configuration review, plugin behavior and operations handover. Partner hours can cover that gap, or internal staff can learn it during the project. | A plan for knowledge transfer, the named staff involved, and whether support hours are included or priced separately. |
Limits of each approach by environment
When the source store sits on local disk or a network share mounted into the Orthanc host, the central question is whether Orthanc can reach the same paths in the same way on every node that reads them. Indexing works in place, so the mount becomes part of the design. The Advanced Storage plugin documents an import scenario for bringing in all studies from another PACS, and the Folder Indexer documents continuous synchronization with a filesystem. Neither page removes the need to test the mount itself.
- Path stability: Indexed entries depend on file paths. A remount under a different drive letter or export path needs a test before the import starts.
- Network protocol behavior: Read performance and file locking over NFS or SMB depend on the share and protocol version. Ask your storage vendor how caching behaves under heavy read scanning.
- Scan time on large trees: Initial indexing walks the whole tree. Confirm in the Orthanc Book how each route handles very large folder counts and whether it resumes after an interruption.
- Service account permissions: The Orthanc service account needs read access to every file. Verify this on a representative subset.
- Fallback: If in-place indexing does not fit the mount, copy studies into Orthanc storage through a DICOM network transfer from a reader that has access to the share.
Before pointing Orthanc at the production share, confirm the mount path, permissions and resume behavior on a copy of a representative subset.
A source store that keeps receiving studies during the move changes the job from a one-time import into a synchronization problem. The Folder Indexer is described as continuously synchronizing Orthanc with a filesystem, which suits an ongoing feed. The Advanced Storage import scenario is described as bringing in all studies from another PACS, and the Orthanc Book should be checked for how that scenario treats files that arrive after the initial pass. Overlap is where most errors appear.
- Partially written files: Confirm how each route detects a file that a modality or the legacy PACS is still writing.
- Deletions and moves at source: Ask what happens to Orthanc's index when the legacy system prunes, renames or relocates files.
- Final delta: Plan a last synchronization pass at cut-over, and confirm the Book's guidance on re-running an import or resynchronizing without duplicates.
- Duplicate handling: Confirm how repeated instances are identified when the legacy PACS and Orthanc both receive the same study during overlap.
- Fallback: If the store changes faster than either route can track, run dual ingestion from the modalities into Orthanc and the legacy PACS, then retire the legacy write path once counts match.
Run a rehearsal with both systems receiving studies, then compare study and instance counts on each side before retiring the legacy write path.
When an audit or legal hold requires the source store to remain unchanged, indexing in place is only acceptable if neither route modifies, deletes or annotates the source files. Read-only access is the strongest control, but the Orthanc Book must confirm that each route functions correctly from a read-only mount and that it writes nothing into the source tree. This is the environment where an assumption about deletion behavior can cause the most damage, so confirm it before any test with real data.
- Read-only mounts: Test each route from a read-only mount and record the result for the audit file.
- Deletion behavior: Confirm whether removing a study in Orthanc can remove or alter files in the source folder.
- Write side effects: Confirm whether either route writes index, cache or metadata files into the source tree.
- Integrity evidence: Take checksums of the source tree before and after the import, and record the Orthanc version used for the test.
- Fallback: If the route cannot run read-only or can alter files, copy studies into a separate Orthanc store through DICOM transfer and keep the legacy store as the untouched record.
Ask the auditor which change evidence they will accept, and confirm with your storage vendor how the source array enforces write protection.
What usually goes wrong when Orthanc indexes a foreign file store
Indexing a file store that another PACS still writes to creates a few predictable failure modes. Most of them come from assumptions about counts, paths, file contents and who else touches the files. The checks below are meant to run before the first import and again after each cleanup or migration step.
Study count drift
Study and instance counts in Orthanc often differ from the source system after an index run, because some files are skipped, duplicated or still being written during the scan. Record counts in the source PACS and in Orthanc for the same date range before and after indexing, and reconcile differences study by study. Ask the indexer's documentation which files it ignores and log those skips so every gap has a reason.
Advanced Storage docsDuplicate and orphaned instances
The same SOP Instance UID can appear in more than one folder when a store has backup copies, resent images or partially deleted studies. Orphaned files may remain on disk after their index entries are removed by the source system. Before indexing, decide which copy is authoritative, exclude backup and quarantine folders, and sample directories for files with no matching study in the source database.
Unsupported transfer syntaxes
Some files in a legacy archive use compressed transfer syntaxes or private encodings that the Orthanc build in use cannot parse or serve to a viewer. These studies may index but fail on retrieve or display, which surfaces only when a clinician opens them. Scan a representative sample across modalities and years, list every transfer syntax found, and test retrieval from the viewers you plan to use before committing to the import.
Paths that change after the move
An indexer keeps file paths as references. If the store is later remounted at a different path, moved to a new server, or mapped to a different drive letter, Orthanc loses its links to the files. Use a stable mount point, document it in the deployment record, and test that a restart of Orthanc resolves every indexed path. Treat any change to the storage mount as a reindexing event with its own count check.
Source store changed by cleanup jobs
The legacy PACS may run retention, compression or deletion jobs that rename, rewrite or remove files Orthanc is indexing. Orthanc then points at missing or altered files, and the change may not be obvious until a retrieve fails. Ask the source team for every scheduled job that touches the store, pause or exclude those jobs for the import window, and agree in writing who owns the store during the parallel run.
Security settings left open
A test instance used for the import often keeps the defaults, the execute-script route and the export route enabled, and HTTP remote access open. The Orthanc security FAQ warns that the script route can run system commands and the export route can overwrite files, so both should stay disabled. Keep remote access behind authentication with users in RegisteredUsers, serve it over HTTPS through a reverse proxy, and confirm these settings before any clinical user connects.
Orthanc security FAQHow much effort and what the import needs from our team
What does it cost to import an existing PACS storage folder into Orthanc?
The cost depends mostly on how much work sits around the files, not on the files themselves. Orthanc's Advanced Storage and Folder Indexer plugins are open-source, so the software line is zero, and there is no paid Orthanc edition. The cost you pay for is people: planning the storage access, configuring the indexer, testing a sample, running the full scan, and verifying counts against the source. Those hours recur only if you add sources or change the layout later. Ask any provider, including DeployOpen, for a quote built from a written scope that lists each of these tasks separately. Orthanc Team SRL sells deployment and configuration services on request, and that is one option to compare.
How long does a storage folder import usually take?
No researched figure for import duration is available for this page, so treat any number you hear with caution. The duration is driven by the number of studies and instances, the speed of the storage the files sit on, whether the files are indexed in place or copied, and how many validation rounds your clinical and PACS teams require. Ask for a timeline split into planning, a pilot on a representative subset, the full indexing run, and count reconciliation. A fixed-scope agreement should state those phases in writing before work starts.
What does the import need from our storage, PACS and clinical teams?
Expect to supply four things. Your storage team must give the Orthanc host read access to the source folder, with a stable mount path and permissions that will not change during the run. Your PACS administrator must confirm the source's folder layout, file naming, and whether the source keeps writing new files during the import. Your clinical or radiology lead must approve the acceptance criteria, such as which study counts and sample studies are used for sign-off. Your security team should review who can reach Orthanc during the migration window, because the REST API is closed to remote access unless you enable it.
Can our own team import the PACS storage folder without a partner?
Yes, if your team already runs Orthanc and has someone comfortable with Linux file permissions, Orthanc configuration and the REST API. The plugins are documented in the Orthanc Book, and the Advanced Storage plugin lists importing all studies from another PACS as one of its typical scenarios. The risk is in the verification step. Your team needs a documented way to compare study and instance counts between source and target, a rollback plan, and a clear owner for sign-off. If any of those are missing, a short advisory engagement on the plan and validation is often cheaper than a failed import.
Can the source PACS keep running during the import?
It can, but you must decide how new and changed files are handled. The Folder Indexer plugin continuously synchronizes Orthanc with a filesystem of DICOM files, so files added to the folder after the first pass can be picked up. The Advanced Storage plugin's indexer mode should be checked against the same question before you rely on it. Ask the source PACS owner whether files are ever rewritten, deleted or moved in place, because those actions can leave the index out of step with the disk. Plan a freeze window or a final delta pass if you need an exact cutover.
What should a fixed-scope quote for this import include?
A useful quote lists the systems in scope, the source and target versions, and the storage paths. It should name the plugin route, either the Advanced Storage plugin or the Folder Indexer, with the reason for the choice. It should also include a pilot on a representative subset, the full import run, the count reconciliation method, the acceptance criteria your clinical lead signs, the rollback steps, and a handover document for your operations team. Ask what is excluded, such as later migration of the database or storage back end, and what happens if the source contains files Orthanc cannot parse.
Which parts of the import are one-time and which recur?
The indexing setup, storage access, pilot, full run, and count verification are one-time work. Recurring work starts after the import, when you must keep the mount healthy, monitor the indexer, and handle sources that keep producing files. Support hours, if you buy them, recur as a retainer or pre-paid block. Orthanc Team SRL offers pre-paid dedicated support hours valid for 12 months, quoted on request, so ask whether any support block is included or separate. Confirm which recurring tasks your own staff will own once the engagement closes.
How DeployOpen scopes and delivers a storage folder import
DeployOpen plans the import of an existing PACS storage folder into Orthanc as a fixed-scope piece of work, starting with an inventory of the file store and the decision between the Advanced Storage plugin and the Folder Indexer. The work is built and checked in your own infrastructure, then handed over with documentation your team can operate and audit.
How we scope
- Inventory the source file store, folder layout, file formats and transfer syntaxes before choosing an import route.
- Record which studies must be indexed, which stay on the source system and who owns each path.
- Agree the written scope, deliverables and timeline with you before any work starts, since engagements are fixed-scope.
How we build
- Configure the chosen plugin, either the Advanced Storage plugin's indexer mode or the Folder Indexer, in a test Orthanc instance first.
- Set access to the source folder as read-only where the design allows, and confirm file permissions for the Orthanc service account.
- Run a trial import on a representative subset and compare study and instance counts against the source before the full run.
How we hand over
- Document the configuration keys, folder paths, indexing schedule and the known limits of the chosen route for your operators.
- Provide a reconciliation report listing counts, unreadable files and any studies excluded, so your team can verify the result.
- Walk your operations and archive staff through the runbook covering source file changes, deletions and reindexing.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the import is complete.
- Retest the configuration after each Orthanc core or plugin upgrade so indexing behavior is confirmed on your version.
- Confirm with your team the retention, access and audit requirements for the source folder before the import is closed.

