Online backup #5859
Replies: 2 comments 5 replies
-
Good question. Here are a few thoughts:
I would expect that, for practical purposes, this approach works well enough - however, to my knowledge there is currently no solution that guarantees consistency between file repository and database in a "live" backup. If that turns out to be important in practice, you or others may want to open an enhancement proposal for it. |
Beta Was this translation helpful? Give feedback.
-
I use Is there any problem stopping the daemon? Even if you have long-running jobs stopping the daemon should not be an issue. Just for the peace of mind I always do my backups with the daemon stopped. |
Beta Was this translation helpful? Give feedback.
-
We have a dedicated machine only for AiiDA-based workflows. Currently, there is a file system backup job based on BorgBackup to create nightly backup snapshots. However, these snapshots are not guaranteed to be consistent, since our users have long-running jobs which can take several days, so the AiiDA daemon is not stopped during the backup process. Is there any recommended way to handle this situation? What we need is some kind of online backup. I already thought about using file system snapshots (like LVM can do) but in this case, the database and file repository must also be synchronized before the snapshot is created.
Beta Was this translation helpful? Give feedback.
All reactions