File tree Expand file tree Collapse file tree 4 files changed +19
-5
lines changed Expand file tree Collapse file tree 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+
17## 2.4.22
28
39### Added
Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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' ) {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ use File::Spec;
2929
3030use lib ' ../lib' ;
3131
32- our $version = ' 2.4.22' ;
32+ our $version = ' 2.4.22.1 ' ;
3333
3434my $tz = new Date::Manip::TZ;
3535my $dt = new Date::Manip::Date;
You can’t perform that action at this time.
0 commit comments