Restoring a partition to a different VMDK

VMware specific discussions

Restoring a partition to a different VMDK

Veeam Logoby marius roma » Tue Sep 20, 2016 10:24 am

I have a Windows VM with a single VMDK disk hosting 2 NTFS partitions, let's say partition C: and partition E:.
I need to split the VMDK disk so that each partition is hosted by its own VMDK disk.
Can Veeam B&R help me solving the problem?
given that each night the VM is backed up, I imagined the following scenario:

- Power off the VM
- Perform a backup
- Add a new VMDK to the VM
- Restore the E: partition to the new VMDK
- Power on the VM
- Rename the old E: partition as Z:
- Rename the new partition as E:
- Verify that all the shares pointing to folders in E: work fine
- Delete the Z: partition
- Reboot the VM

Have anybody performed a similar procedure?
Is there any issue I should consider?
Is there any better or smarter Solution I can consider?
Suggestions, pointers and hints welcome...
Regards

Marius
marius roma
Expert
 
Posts: 317
Liked: 3 times
Joined: Wed Feb 01, 2012 12:04 pm
Full Name: Mario

Re: Restoring a partition to a different VMDK

Veeam Logoby foggy » Tue Sep 20, 2016 10:35 am 1 person likes this post

Hi Marius, wouldn't it be easier just to copy the data to the newly added and formatted VMDK?
foggy
Veeam Software
 
Posts: 14742
Liked: 1079 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Restoring a partition to a different VMDK

Veeam Logoby marius roma » Tue Sep 20, 2016 10:38 am

Sure, but how can I ensure to keep *all* the information related to each file and/or folder (ownership, permissions, creation and modification date, and so on)?
Regards
marius
marius roma
Expert
 
Posts: 317
Liked: 3 times
Joined: Wed Feb 01, 2012 12:04 pm
Full Name: Mario

Re: Restoring a partition to a different VMDK

Veeam Logoby foggy » Tue Sep 20, 2016 10:58 am 1 person likes this post

In this case yes, using FLR will help, however, will take considerable time. Probably using Veeam Endpoint Backup to backup the VM and then restore disk in VMDK format will be a better solution.
foggy
Veeam Software
 
Posts: 14742
Liked: 1079 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Restoring a partition to a different VMDK

Veeam Logoby nmdange » Tue Sep 20, 2016 7:10 pm

marius roma wrote:Sure, but how can I ensure to keep *all* the information related to each file and/or folder (ownership, permissions, creation and modification date, and so on)?
Regards
marius


Use "robocopy /E /SEC" to copy everything as is.
nmdange
Expert
 
Posts: 193
Liked: 57 times
Joined: Thu Aug 20, 2015 9:30 pm


Return to VMware vSphere



Who is online

Users browsing this forum: Bing [Bot] and 16 guests