VMware Cloud Community
ricardoclaus
Contributor
Contributor
Jump to solution

Difficulty with ghettoVCB-restore

Dear,

I am using the ghettoVCB script to perform backup.

I'm trying to restore the backup with ghettoVCB-restore.sh, however, to no avail.

The script ends successfully, but the VM does not appear as restored. The folder is not created in the path.

Can anybody help me?

I use this command line:

# sh ghettoVCB-restore.sh -c vm_restore -l /tmp/ghettoVCB-restore.log -d 2

Archive content vm_restore:

"/vmfs/volumes/datastore1/bkpvm/WIN_8.1_x64/WIN_8.1_x64-2017-05-16_13-27-41;/vmfs/volumes/datastore1;3;WIN_8.1_x64"

Description:

Backup Source: /vmfs/volumes/datastore1/bkpvm/WIN_8.1_x64/WIN_8.1_x64-2017-05-16_13-27-41

Restore destination: / vmfs / volumes / datastore1

Disc type: 3

VM Name: WIN_8.1_x64

In the log I see this:

################## Restoring VM: WIN_8.1_x64  #####################

==========> DEBUG MODE LEVEL 2 ENABLED <==========

Start time: Tue May 16 17:46:24 UTC 2017

Restoring VM from: "/vmfs/volumes/datastore1/bkpvm/WIN_8.1_x64/WIN_8.1_x64-2017-05-16_13-27-41"

Restoring VM to Datastore: "/vmfs/volumes/datastore1" using Disk Format: "thin"

Creating VM directory: "/vmfs/volumes/datastore1/WIN_8.1_x64" ...

Copying "WIN_8.1_x64.vmx" file ...

Restoring VM's VMDK(s) ...

Updating VMDK entry in "WIN_8.1_x64.vmx" file ...

SOURCE: "/vmfs/volumes/datastore1/bkpvm/WIN_8.1_x64/WIN_8.1_x64-2017-05-16_13-27-41/WIN_8.1_x64.vmdk"

        ORIGINAL_VMX_LINE: -->scsi0:0.fileName = "WIN_8.1_x64.vmdk"<--

DESTINATION: "/vmfs/volumes/datastore1/WIN_8.1_x64/WIN_8.1_x64-1.vmdk"

        MODIFIED_VMX_LINE: -->scsi0:0.fileName  = "WIN_8.1_x64-1.vmdk"<--

Registering WIN_8.1_x64 ...

End time: Tue May 16 17:46:24 UTC 2017

################## Completed restore for WIN_8.1_x64! #####################

Start time: Tue May 16 17:46:24 UTC 2017

End   time: Tue May 16 17:46:24 UTC 2017

Duration  : 0 Seconds

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
ricardoclaus
Contributor
Contributor
Jump to solution

The restore was executed successfully by running the command below:

# ghettoVCB-restore.sh -c vm_restore

View solution in original post

1 Reply
ricardoclaus
Contributor
Contributor
Jump to solution

The restore was executed successfully by running the command below:

# ghettoVCB-restore.sh -c vm_restore