XE vm-export compress options
-
What are the two options for compression from the cli? Obviously I can use
xe vm-export vm=uuid filename=path compress=truebut within XO there are two options, how can I call those via the cli? -
Have you tried
compress=zstd?See these commits --
https://github.com/vatesfr/xen-orchestra/commit/270185d9dcaaad00899722112058fccda814d505
https://github.com/vatesfr/xen-orchestra/commit/bce0bf05e587ca2df46fd78b57d4553a03887b92
-
When xe vm-export is run with compress=zstd, does the xe vm-import command need to be told that compression was used, or does the xe vm-import command see that zstd was used?
-
@Strebor AFAICS,
xe vm-importdoesn't offer an option to specify the compression level, so I am going to assume that it handles this automatically. -
It's handled automatically.
-
THANKS! That is a great addition!
-
Well, to be fair, it's pretty logical: you only have the control on compression format when you export. When you import, you already have your file in a previously selected format. So yeah, it's up to you to detect it, and that's what we do when we added
zstdcompression
-
Haha, I lost belief in 'logical' many years ago. What I think is logical and what others think is logical, often is very different

So, I still think it's great, cause it takes one command out of my CLI VM import pipe line
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login