Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have made a backup of my Linux OS in a bacukp.tgz, the OS is Centos 6.4. Now I want to create a new VMWare virtual machine from it.

Do I first need to install Centos from CD or ISO, and then overwrite all the files with backup or is there any way I can directly start with the backup?

This is what I used to do the backup:

tar cvpzf /TEMP_BACKUPS/backup.tgz \
  --exclude=/proc \
  --exclude=/lost+found \
  --exclude=/tmp \
  --exclude=/TEMP_BACKUPS \
  --exclude=/mnt \
  --exclude=/sys \
  / > /TEMP_BACKUPS/mylog.txt
share|improve this question
    
Since you are using a virtualization tool(VMWare), the easiest way to backup and restore is using the VM tool's snapshot feature (vmware.com/support/ws4/doc/preserve_snapshot_ws.html) –  number5 Jul 24 '13 at 6:17
    
@number5 No the original server is on Amazon Ec2 and i want to make the local copy of that on my local computer with vmware –  user22 Jul 24 '13 at 6:22
    
You can make an AWS AMI out of your EC2 instance, then using packer.io to convert it to VMWARE image –  number5 Jul 24 '13 at 6:40
    
@number5 I have Amazom AMI but how can i download it –  user22 Jul 24 '13 at 6:41
    
you can follow this guide to download your api, or you can learn to use packer.io/intro to download AMI and convert it to VMWARE image for you –  number5 Jul 24 '13 at 6:50
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.