-
Notifications
You must be signed in to change notification settings - Fork 930
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
Copy from volume snapshot to remote fails: "Error: not found" #11112
Comments
Confirmed reproducer. |
I guess this is a documentation issue then. I don't specifically need this feature, as I can (and have) do just fine with faking LXD out via |
No its a bug. As it works when doing between storage pools on same server. |
It seems the entire infrastructure for copying custom volume snapshots to a remote server is missing from the migration layer. So its not a small fix. |
Required information
Arch Linux
lxc info
Coping from a volume snapshot does not work
I am attempting to copy a volume snapshot to another LXD instance, using the schema provided by the CLI:
Specially:
lxc storage volume copy $A:$pool/$volume/snap0 $B:$pool/$volume
This fails because it attempts to hit an endpoint that doesn't exist (or, isn't documented at any rate):
See https://linuxcontainers.org/lxd/docs/master/api/#/storage, search
storage-pools/{name}/volumes/{type}/{volume}
and note the lack of a/{snapshot}
endpoint.Steps to reproduce
lxc storage volume copy $A:$pool/$volume/snap0 $B:$pool/$volume
Information to attach
--debug output of copy attempt
The text was updated successfully, but these errors were encountered: