aiida-core
aiida-core copied to clipboard
Subproject - Improve profile backups
The verdi export
command currently allows users to export their AiiDA graph based on provenance rules, starting from a specified set of nodes. A common use case for this is to export the entire AiiDA graph, e.g. for backup purposes, yet this objective often involves other additional actions and external tools. While we document how to create backups, with all the recent changes in AiiDA core these procedures need to be revised and clarified. Moreover, we should consider if there is a way to make a shorthand in verdi
to easily export and import the entire profile (including configuration settings).
Tasks
- Improve the existing documentation on how to do the backups.
- Evaluate the creation of a simple CLI to automate the process (#5273 ).
Associated topics
May need to be re-structured if we implement some pull/push mechanism in the future.
Some Notes
- The export already contains some information about the profile (see #974 for linked PRs)
- When backing up the disk-objectstore (file repository), one also needs to backup the SQLite db while it is live, which requires special care (currently no way to do it automatically in the disk-objectstore, there is an issue open for it).