File tree 4 files changed +19
-5
lines changed 4 files changed +19
-5
lines changed Original file line number Diff line number Diff line change
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
+
1
7
## 2.4.22
2
8
3
9
### Added
Original file line number Diff line number Diff line change @@ -950,7 +950,8 @@ sub login {
950
950
my $domain ;
951
951
my %mylogin ;
952
952
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 +)/ ) {
954
955
if (uc $2 eq " DOMAIN" ) {
955
956
$domain = " DOMAIN" ;
956
957
$user = $1 ;
Original file line number Diff line number Diff line change @@ -293,9 +293,16 @@ sub snapshot
293
293
# backupUUID: (required)
294
294
295
295
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
+ }
299
306
} else {
300
307
301
308
if ($self -> getStagingPush() eq ' yes' ) {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ use File::Spec;
29
29
30
30
use lib ' ../lib' ;
31
31
32
- our $version = ' 2.4.22' ;
32
+ our $version = ' 2.4.22.1 ' ;
33
33
34
34
my $tz = new Date::Manip::TZ;
35
35
my $dt = new Date::Manip::Date;
You can’t perform that action at this time.
0 commit comments