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

[ENH] - Implement backup and restore for environments #854

Open
kcpevey opened this issue Jul 22, 2024 · 1 comment
Open

[ENH] - Implement backup and restore for environments #854

kcpevey opened this issue Jul 22, 2024 · 1 comment

Comments

@kcpevey
Copy link
Contributor

kcpevey commented Jul 22, 2024

Feature description

It would be very nice to implement a backup and restore functionality to conda-store. Specifically, I'd like to backup and restore the environments such that if my system where I have conda-store running, I'd like to be able to recreate the pre-existing state of conda-store.

I expect that we only need to backup the lockfiles and restore would handle recreation. As a POC, we could only target the latest successful build for each environment.

Value and/or benefit

This would be helpful for long-term running of conda-store as a service. Additionally, Nebari is working on implementing backup and restore and this will provide this option to conda-store running on Nebari.

Anything else?

No response

@kcpevey
Copy link
Contributor Author

kcpevey commented Jul 22, 2024

Perhaps the first question here is: Can we rebuild an environment from a lockfile via the conda-store API?

If we cannot currently do this programmatically via an API, then implementation of that process may be the first part of this effort.

ANSWER: yes, we can but it requires extra scripting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: New 🚦
Development

No branches or pull requests

1 participant