system image of C: to other PC's C drive

Under Cygwin under Windows 8.1 Pro x64, I've successfully used:

/cygdrive/C/WINDOWS/SYSTEM32/WINDOWSPOWERSHELL/V1.0/powershell.exe -command 'C:\Windows\Sysnative\wbAdmin start backup -backupTarget:X: -include:C: -quiet -vssFull -allCritical'

to backup a PC onto an external drive, run with elevated privileges as a scheduled task.

However, our current Thinkpad Carbon X1 laptops only have one hard drive, and I'd rather not backup onto other external drives.  Our 240 GB SSDs have room to support one or two images.  I'd like to store a system image of each laptop under a "backup" folder on the other laptop, running the following three lines with elevated privileges as a scheduled task.


net use X: "\\OtherLaptop\backup"
/cygdrive/C/WINDOWS/SYSTEM32/WINDOWSPOWERSHELL/V1.0/powershell.exe -command 'C:\Windows\Sysnative\wbAdmin start backup -backupTarget:X: -include:C: -exclude:C:\backup -quiet -vssFull -allCritical'
net use X: /DELETE

This is not an experiment I'd like to do without getting some feedback as to how I might mess up one or both laptops.

Thanks.

Lester

February 22nd, 2014 10:09pm

Hi

-exclude parameter cannot be used with -allcritical parameter.  iexclude:C:\backup would be ignored.

You can refer to the link below for the explaination:

http://technet.microsoft.com/en-us/library/cc742083.aspx

Free Windows Admin Tool Kit Click here and download it now
February 26th, 2014 3:11am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics