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

lxd-to-incus: Add support for LXD 5.21 #639

Merged
merged 1 commit into from
Mar 21, 2024
Merged

Conversation

stgraber
Copy link
Member

This is a bit of a trickier one as LXD 5.21 has added new DB tables and so requires a DB downgrade to the 5.20 schema prior to being able to move the data over to Incus.

This is a bit of a trickier one as LXD 5.21 has added new DB tables and
so requires a DB downgrade to the 5.20 schema prior to being able to
move the data over to Incus.

Signed-off-by: Stéphane Graber <[email protected]>
@adamcstephens
Copy link
Contributor

Should we prompt for confirmation if we're going to drop tables?

@stgraber
Copy link
Member Author

@adamcstephens the data is moved away from those tables back to the original ones (it's basically running the schema migration steps in reverse) so that's fine to do. We also always make a full DB backup as part of running the migration.

@adamcstephens
Copy link
Contributor

adamcstephens commented Mar 21, 2024

Great, thanks. Supporting 5.21 will be nice since it's an LTS and gives a hopefully gives a long timeline to migrate. :)

@freeekanayaka freeekanayaka merged commit 3843524 into lxc:main Mar 21, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants