Unambiguously specifying the Windows boot drive to backup

User discussion and information resource forum for TeraByte Drive Image products, including TBNetManage.
Post Reply
timg11
Posts: 285
Joined: Sun Oct 02, 2011 4:31 pm

Unambiguously specifying the Windows boot drive to backup

Post by timg11 »

I run Image for Windows from a scheduled task in CMD file.
In the commandline, I have typically used the source drive designation style like /d:w3, because I want all partitions on the drive to be backed up.

I just discovered that the drives can be re-numbered. I added a very large drive for media in a UASP dock, and didn't notice the drive IDs had changed. /d:w3 was now the media drive in the dock.
The next time the automatic backup ran, it backed up the new drive, which filled my backup drive unexpectedly, causing other issues.

So I went back to the old style drive letter designation like /d:?C:.
However that caused IFW to only back up the one basic data partition used for C:, not all the partitions on the drive.

What is the recommended way to specify a specific source drive, but still cause the backup to contain all partitions found on a Windows system drive?

Use the GUID style: /d:{B3AD7CBE-D0B0-46C5-B498-EE9878D7BCBB}

In the ifw manual, it is not clear the difference between "d is the source hard drive number" and "w – Windows device"
In IFW GUI, the source selection page, where it shows a tree from Computer down to HD 0, HD 1, HD 2, etc, are the numbers 0, 1, and 2 the "Hard Drive Numbers" where the second one is corresponding to /d:1, or are they Windows Devices, corresponding to /d:w1?
TeraByte Support
Posts: 3891
Joined: Thu May 05, 2011 10:37 pm

Re: Unambiguously specifying the Windows boot drive to backup

Post by TeraByte Support »

yes, use the guid or disk id. the l/w/d are optional, default devices for the OSes vs o for optical.
Brian K
Posts: 2491
Joined: Fri Aug 12, 2011 1:11 am

Re: Unambiguously specifying the Windows boot drive to backup

Post by Brian K »

timg11,

In IFW Settings, you can use "Output Disk ID to Command line".

A 4 partition backup will look like this...

/d:{684BD68D-BC4D-426D-A7CC-A621A93251E4}@0x1,0x2,0x3,0x4

An Entire drive backup will look like this...

/d:{684BD68D-BC4D-426D-A7CC-A621A93251E4}
timg11
Posts: 285
Joined: Sun Oct 02, 2011 4:31 pm

Re: Unambiguously specifying the Windows boot drive to backup

Post by timg11 »

Thank you - the "/d:{684BD68D-BC4D-426D-A7CC-A621A93251E4}" style works well.
Post Reply