How to migrate from Org-roam v1?
Those coming from Org-roam v1 will do well treating v2 as entirely new software. V2 has a smaller core and fewer moving parts, while retaining the bulk of its functionality. It is recommended to read the documentation above about nodes.
It is still desirable to migrate notes collected in v1 to v2. To migrate your v1 notes to v2, use ‘M-x org-roam-migrate-wizard’. This blog post provides a good overview of what’s new in v2 and how to migrate.
Essentially, to migrate notes from v1 to v2, one must:
- Add IDs to all existing notes. These are located in top-level property drawers (Although note that in v2, not all files need to have IDs).
- Update the Org-roam database to conform to the new schema.
- Replace
#+ROAM_KEYinto theROAM_REFSproperty - Replace
#+ROAM_ALIASinto theROAM_ALIASESproperty - Move
#+ROAM_TAGSinto the#+FILETAGSproperty for file-level nodes, and theROAM_TAGSproperty for headline nodes - Replace existing file links with ID links.