Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subproject - Improve profile backups #5591

Closed
ramirezfranciscof opened this issue Jun 29, 2022 · 2 comments
Closed

Subproject - Improve profile backups #5591

ramirezfranciscof opened this issue Jun 29, 2022 · 2 comments
Assignees

Comments

@ramirezfranciscof
Copy link
Member

ramirezfranciscof commented Jun 29, 2022

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

  1. Improve the existing documentation on how to do the backups.
  2. Evaluate the creation of a simple CLI to automate the process (verdi: add backup sub-command to the storage group #5273 ).

Associated topics

May need to be re-structured if we implement some pull/push mechanism in the future.

@ramirezfranciscof ramirezfranciscof self-assigned this Jun 29, 2022
@ramirezfranciscof ramirezfranciscof changed the title Subproject - Improve backup procedures Subproject - Improve profile backups Jun 29, 2022
@ramirezfranciscof
Copy link
Member Author

Some Notes

  • The export already contains some information about the profile (see Simple way to export an entire database #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).

@ramirezfranciscof
Copy link
Member Author

Superseded by aiidateam/team-compass#11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant