How to properly extract a compressed VDI file

0

I have a VM in VirtualBox with 3 snapshots. weeks ago I had a problem with disk space usage, so I decided to compress one of my snapshots. I used bzip2 in tar.

tar jcvf {4d905600-161f-4e13-a106-58344d38faec}.vdi 

output of "file" command is :

{4d905600-161f-4e13-a106-58344d38faec}.vdi: bzip2 compressed data, block size = 900k

But when I want to extract the file, the result is not a .vdi file, insted it is the original file and folders which were in the virtual disk. How should I decompress this bzip2 file?

Ali Kargar

Posted 2019-09-09T01:53:18.243

Reputation: 1

No answers