What is the best way to properly backup with compression the .vdi file with the guest OS ?
Is tar.gz applicable or dd command with afterwards gz compression for example ?
best way to backup and compress the .vdi file ?
I usually do
and it compresses a 4GB Windows machine to about 1.3 GB.[/code]
Code: Select all
tar -czf xyz.vdi.tar.gz xyz.vdi
but "gzip file-to-compress" deletes the original file in the process, so do you use "gzip -c file-to-compress > backup.tgz" or any other method ?
As for the recovery is it 'gunzip -c > /path/file' then ?
Otherwise gzip compress the file nicely, I wonder if that gunzip method with rerouting the output is safe for the health of that file
As for the recovery is it 'gunzip -c > /path/file' then ?
Otherwise gzip compress the file nicely, I wonder if that gunzip method with rerouting the output is safe for the health of that file