--- a/backupandrestore/backuptest/burtestserver/TestSteps/src/t_teststeprestore.cpp Mon May 03 13:19:02 2010 +0300
+++ b/backupandrestore/backuptest/burtestserver/TestSteps/src/t_teststeprestore.cpp Fri Jun 25 16:54:01 2010 +0800
@@ -241,9 +241,13 @@
SupplyPassiveSnapshotDataL();
RestorePassiveBaseDataL();
- //active
- SupplyActiveSnapshotDataL();
- RestoreActiveBaseDataL();
+ // do active restore when in partial restore mode
+ if (iIsPartial)
+ {
+ //active
+ SupplyActiveSnapshotDataL();
+ RestoreActiveBaseDataL();
+ }
}
void CBURTestStepRestore::IncrementalRestoreL()
@@ -259,11 +263,14 @@
RestorePassiveBaseDataL();
RestorePassiveIncDataL();
-
- //active
- SupplyActiveSnapshotDataL();
- RestoreActiveBaseDataL();
- RestoreActiveIncDataL();
+ // do active restore when in partial restore mode
+ if (iIsPartial)
+ {
+ //active
+ SupplyActiveSnapshotDataL();
+ RestoreActiveBaseDataL();
+ RestoreActiveIncDataL();
+ }
}