-
Notifications
You must be signed in to change notification settings - Fork 933
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 recover
does not restore profile configs
#14754
Comments
I think that's to be expected because its for instance recovery not server recovery. Yes the profile config is stored in the instance's backup.yaml file, but modifying the server's existing profile with settings from (potentially multiple conflicting) instance backup.yaml files seems problematic and risky. |
Fair point but that |
If memory serves one is created on startup, so technically it did have an empty one. Maybe there's some room for maneuver there. |
Yeah, that's probably the key distinction here. I've always been using Since it's an interactive tool, having additional questions to support the "server recovery" scenario would be useful IMHO. |
Just went through a
lxd recover
(see #14753) and thedefault
profile obtained in the end lacked all the configs it initially had.Initially, the
default
profile was created with:After the recovery:
The text was updated successfully, but these errors were encountered: