Skip to content

Commit 92c6896

Browse files
author
Marcin Przepiorowski
committed
v2.4.22.1
2 parents 55a1535 + 93aa30c commit 92c6896

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 2.4.22.1
2+
3+
### Changes
4+
- Fix to support backupuuid in dx_snapshot_db
5+
- Fix to support dots in the user names while using @DOMAIN or @SYSTEM
6+
17
## 2.4.22
28

39
### Added

lib/Engine.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,8 @@ sub login {
950950
my $domain;
951951
my %mylogin;
952952

953-
if (($domain) = $user =~ /(\w+)@(\w+)/) {
953+
# allows dots in the user name when specified with domain or SYSTEM
954+
if (($domain) = $user =~ /([\w\.]+)@(\w+)/) {
954955
if (uc $2 eq "DOMAIN") {
955956
$domain = "DOMAIN";
956957
$user = $1;

lib/MSSQLVDB_obj.pm

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,16 @@ sub snapshot
293293
# backupUUID: (required)
294294

295295
if ( $frombackup eq "yes" ) {
296-
%snapshot_type = (
297-
"type" => "MSSqlExistingMostRecentBackupSyncParameters"
298-
);
296+
if (defined($uuid)) {
297+
%snapshot_type = (
298+
"type" => "MSSqlExistingSpecificBackupSyncParameters",
299+
"backupUUID" => $uuid
300+
);
301+
} else {
302+
%snapshot_type = (
303+
"type" => "MSSqlExistingMostRecentBackupSyncParameters"
304+
);
305+
}
299306
} else {
300307

301308
if ($self->getStagingPush() eq 'yes') {

lib/Toolkit_helpers.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use File::Spec;
2929

3030
use lib '../lib';
3131

32-
our $version = '2.4.22';
32+
our $version = '2.4.22.1';
3333

3434
my $tz = new Date::Manip::TZ;
3535
my $dt = new Date::Manip::Date;

0 commit comments

Comments
 (0)