Home > Uncategorized > Backup Hyper-V with Windows Server Backup 2012

Backup Hyper-V with Windows Server Backup 2012

April 10, 2013

Backup VM
Backuptarget = drive letter to backup destination (not folder)
VM Host name = identical with VM name in hyperv console

Commands:
wbadmin start backup -backuptarget:[drive letter] -hyperv:[VM name] -quiet

RESTORE VM to a new server
Backuptarget = UNC path to data location on old server
Recoverytarget = path on new server

Commands:
C:\>wbadmin get versions -backuptarget:\\[ip]\[share]
C:\>wbadmin get items -backuptarget:\\[ip]\[share] -version:[versionID]
C:\>wbadmin start recovery -itemtype:hyperv -items:[VM identifier] -backuptarget:\\[ip]\[share] -recoverytarget:[path] -alternatelocation -version:[versionID]

%d bloggers like this: