Skip to content

Commit 6d09ee8

Browse files
author
Marcin Przepiorowski
committed
Merge branch 'issue#120' into develop
2 parents e488d87 + 9c82971 commit 6d09ee8

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

bin/dx_snapshot_db.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@
161161
$ret = $ret + 1;
162162
}
163163
}
164+
} else {
165+
$ret = $ret + 1;
164166
}
165167

166168
if (defined($parallel)) {

lib/OracleVDB_obj.pm

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,9 +1271,18 @@ sub snapshot
12711271
my $full = shift;
12721272
my $double = shift;
12731273
logger($self->{_debug}, "Entering OracleVDB_obj::snapshot",1);
1274-
my %snapshot_type = (
1275-
"type" => "OracleSyncParameters"
1276-
);
1274+
my %snapshot_type;
1275+
1276+
if (version->parse($self->{_dlpxObject}->getApi()) < version->parse(1.11.0)) {
1277+
%snapshot_type = (
1278+
"type" => "OracleSyncParameters"
1279+
);
1280+
} else {
1281+
# Delphix 6.0
1282+
%snapshot_type = (
1283+
"type" => "OracleSyncFromExternalParameters"
1284+
);
1285+
}
12771286

12781287
if (defined($full)) {
12791288
$snapshot_type{"forceFullBackup"} = JSON::true;

0 commit comments

Comments
 (0)