GUI Changes commit 4086172a7b (tag: v_5_0_0_12_sp1) to commit 65ea36b8bcd (tag: v_5_0_0_15) * BUGFIX: (#31708) - The restore of a .nvram works only with the same folder name * BUGFIX: Client report cannot be opened from Java UI via context menu of 'Topology' view. * BUGFIX: (#31546) - A new super user can be created via "sm_cmd add user ..." * change: Improve message when CBT operations fails. * CHANGE: (#31600) - Unclear error printed when parameter for 'resetcbt' command contains invalid values * NEW: Allow pre authenticated users by external authentication source (X-SEP-Authenticated). * BUGFIX: (#31655) - Java exception during creation of more than 2 Si3-NG data stores * BUGFIX: (#31582) - Can't define loader ctrl type for loader in CLI * BUGFIX: (#31556) - Can't delete taskevent via the CLI * BUGFIX: (#31562) - Can't delete command event via the CLI * NEW: (#15302) - Termination of Sesam Command Events * BUGFIX: (#31492) - End time from start time frame in DB:cal_sheets is not adjusted from schedule * BUGFIX: (#31496) - vSphere single host only visible in flat view when connected to the same datacenter as the cluster * BUGFIX: ClassCastException in Delete Panel occurs when trying to delete a drive with active event. * BUGFIX: (#31461) - CLI option 'generate' creates wrong option when vSphere custom attributes are specified * BUGFIX: (#31460) - 'Manage VM tasks' generates wrong CLI command according vSphere Tags * BUGFIX: (#31448) - Specific vSphere VM is not shown when using filter option * CHANGE: Make the "Schedules" tab visible for migration and replication task also when "Events without Schedules" is disabled. * BUGFIX: (#31414) - vSphere virtual machines with specific special characters are not shown * CHANGE: Disable media pool crypt key length constraint for release branch as customers used longer keys than allowed with SQLite * BUGFIX: (#31284) - VDDK disconnect is not executed as separate call when sbc cores * BUGFIX: (#31388) - CLI does not show content for some values of a schedule SEP sesam Core (Kernel/SBC) commit 1b637de80 (tag: v_5_0_0_11_sp1) to commit 68a61f3ff (tag: v_5_0_0_15) * NEW: (#15302) Termination of Sesam Command Events. CHANGE: Wildcards '$PID' and '$CMD' in abort command allow to define specific command line parameters. * NEW: (#31474) Backup with many sources should not fail if one of the sources does not exist. Change: Use option '-o ignore_missing_source' if any source not accessible -> end with warnings. Usage adapted. * BUGFIX: (#31749) Relokation at MSSQL just shows one entry due to wrong format at catalog file. * BUGFIX: (#31682) Aborting an Exchange backup sets wrong state, so GUI does not show it anymore. Solution: In case of unknown state the state is now set to 'X' * BUGFIX: (#31692) Microsoft Exchange backup finishes with warning when VSS snapshot cannot grow anymore * BUGFIX: (#31717) Primary key error in DB:cal_sheets, because same id created for migrations and restores. Use semaphore 'sesam_id' for action types except backup (which has additional UUID part in ID) * BUGFIX: Set 'DB:results.stop_time' correctly for command events and task goups without active tasks * BUGFIX: (#31614) Restore fails because sometimes the wrong segment number is used. Problem: Since commit 715d879 the requested segment was set to current position if requested < current. Solution: Set only for disk after calling set_disk_position(). * CHANGE: (#30874) Extend sbc -k function to send signal to non sbc programs * BUGFIX: (#31732) Manual delete of original backup saveset from data store with 'purge' option set, removes backup results entry. Do not call 'REMOVE_SAVESET()' function, if saveset has already been deleted by 'sm_remove_saveset' * BUGFIX: (#31722) sm_reformat_lis fails with 'invalid start byte' when MSSQL manual backup contains mutated vowels. Corrected lis and not files decoding * BUGFIX: (#31718) Fixed mount of IMG Incremental backup. In older versions, mount works because VMDK meta files of Full backup are used. reverted the change for now, vmdk meta files are not found for incremental IMG backup * NEW: (#31709) Exclude '.vmem' files during vSphere backup * NEW: (#31146) SEP sesam Unit License. Logic changed: Clients without backup tasks are not counted. Logic for 'L2Physical' improved * BUGFIX: (#31700) Fixed VMware network mount for a VM backed up on Windows Sesam server or Windows RDS, mounted on a Linux client. * NEW: (#31689) Write DB:migration_results.target_saveset for replication tasks too, so further migrations will find DB:migration_results entry * BUGFIX: (#31681) SIR doesn't work if 'guestmount' will be started by 'sm_sshd'. Start 'guestmount' in new process group * bugfix: Fixed RHEV mount for RHEV backups. Fixed check status returned from start_vfs * change: (#25920) Restrict NFR license to only allow using recent Sesam release. Set SESAM_VERSION from sm.ini [SETUP] 'release=.....' in case of relicense of an NFR license file * NEW: (#26883) Adopt community license. Check SESAM_VERSION >= installed version * NEW: (#31146) SEP sesam Unit License. Check for 'SEP Unit' or if show all (sm_info C) then print Tier 3/2/1 to license output * CHANGE: Extend buffer size for getting IP address of Sesam server, if it has many interfaces * NEW: (#29724) Nutanix VHD/VFS mount for Windows * BUGFIX: (#28987) Sesam S3 backend. Problem: "di list compact" works only for Si3-NG. Solution: Handle "compact" list mode for all store types * CHANGE: Improved Si3NG - Merge Si3 from develop branch to release * BUGFIX: (#31667) If existing VFS is running and .bat file cannot be read for mounted drives, mount is not possible. * BUGFIX: (#31505) Restore of virtual machine fails after restoring VMDK data because temporary directory cannot be removed. * BUGFIX: (#21461) Stop time for migration group is wrong in Sesam status log file * BUGFIX: (#31584) Hyper-V RCT restore of COPY VM backup fails with 'ERROR: Didn't got any matching selected items!' * BUGFIX: (#30520) Different block sizes used for backup to tape. Set 'default_block_size' in 'DRV_PROP' struct every time * CHANGE: (#31515) Add information about active jobs to Sesam overall backup status message * CHANGE: (#31390) Powerscale backups save less data than with Version 4.4.3. Problem: Folder '$WINDOWS.~BT' must not be excluded by hard coded pattern. * BUGFIX: (#31450) Next Execution time is calculated incorrectly because of the summer-winter-time change * BUGFIX: (#31599) sm_newday and sm_startup do not create unique saveset id * BUGFIX: (#31517) Backups with state '2' (no LIS file) are counted as warning instead of error * BUGFIX: (#31640) SAP Oracle 'backint' cores on Windows. Function ssb_stderr_popen() did only use up to 2048 for commands. Now size increased to 20KB and error checking improved. * CHANGE: (#31634) Hyper-V Backup fails with "Exception Caught: sm_reformat_lis.py: 115 'Invalid xml metadata format'". Print the error instead of raising exception * CHANGE: 'sm_rexec -d' for writting separate streams for STDOUT and STDERR * new: sm_rexec always merge stdout and stderr on Windows. Problem: stdout and stderr merge may cause wrong output. Solution: add sm_rexec option to avoid stdout and stderr merge * BUGFIX: (#31638) sbc_vmware '-A disconnect' does not work during restore with error 'Decryption [-a PASSWD] failed' * BUGFIX: (#31635) Sesam unique ID function returns same for concurrent processes * BUGFIX: (#31631) Error while reading block range is interpreted as Warning during Hyper-V RCT Inc Backup. * BUGFIX: (#31624) Mount of VMWare VM fails on Windows mount client if mount of the same backup already exists * BUGFIX: (#31183) The command net start sm_main, which was used in the runas command, always exited with error since the waiting time until the start of the service has to be done was set from 3 seconds. Now it is 5 minutes. This is necessary since the change of the sm_main waiting for the rmi to start. * BUGFIX: (#31183) If the service user is changed after sesam installation the access rights of the Program Files\SEPsesam and ProgramData\SEPsesam were not adjusted, since this functionality was added to the installer. Now the sm_qm_main sets the access rights. * BUGFIX: (#31509) Restore of Nutanix with VM with 2 disks fails. Return matching VHD saveset correctly during restore * BUGFIX: (#31472) VFS mount of a Nutanix VM Incremental backup does not contain incremental changes. Manually merged relevant changes from develop branch * BUGFIX: (#31617) Un-mount of vSphere CBT savesets uses wrong VMDK meta file names. This bug was a regression on develop branch, but with this fix there is also improvement that vmdk meta files of incremental disk backups are for mounts. Before, vmdk files of full backups were always used * BUGFIX (#30984) sm_qm_main log gets too large due to loop with shared drives configuration * CHANGE: (#30967) Print job PID immediately after start * BUGFIX: (#30919) sm_qm_main does not add new priority slot if queue is reinitialized; fixed some memmory leaks * BUGFIX: (#30919) Changed display of prority queues allocation - use same approach as with normal queues * BUGFIX: (#18362) 'File Option' VM Clients. Add missing VM Clients for KVM and NUTANIX AHV * BUGFIX: (#31611) DB:results.stored_size becomes negativ, because of wrong format specifier used * BUGFIX: (#31608) Hyper-V SIR mount of RCT FULL fails with 'There is no images files...". * CHANGE: (#31595) Start the BSR Windows verify by 'sm_restore'. Solution: Use restore command from table task_types, Do not set '-F none' and do not search for SBC checksum * BUGFIX: Fixed VMWare network mount and unmount with server Linux and mount client Windows. Paths were wrong with gv_rw_tmp_rds ending with "/" * BUGFIX: (#31521) Do not change TMPDIR value in sbc_proxy REAR Linux * BUGFIX: (#31590) Hyper-V RCT backup fails with: Failed to write configuration file. Added "ftp://", "http:\\", "https:\\", "ftp:\\" for HOST name regex_replace * BUGFIX: (#28470) Extend the column update_state from 1 char to 5 chars since it can also contain return codes from MSI installer e.g. 3010. * NEW: (#31578) Add 'mkisofs' as dependency on RHEL9 for BSR Linux * CHANGE: (#31553) A closejob request with empty saveset must return an answer anyway. Solution: End with appropriate message * BUGFIX: (#31470) Enhance openjob/closejob handling of external jobs. Now openjob/closejob for session will update results and cal_sheets as long as state is queued or active * CHANGE: (#31537) Increase default memory and index size parameter Sesam Immutable Store (SiS/Si3NG) for at least 3 TiB of data after deduplication. TODO: Automatically adaption using disk size * BUGFIX: (#31573) Correct purge of old log files on Sesam SiS server. Correct path in 'crontab' entry * BUGFIX: (31471) closejob of external requests takes 10 minutes when no saveset has been specified. Solution: Distinguish between executing or pending sm_sbc_com_ext job and call 'sm_qm del_entry ...' appropriate * NEW: (#29655) VFS mount for Hyper-V RCT backups * BUGFIX: (#31527) Fixed Nutanix incremental backup for VM with multiple disks. In function save_changed_regions there was a return inside the disks loop. Improved code structure. * BUGFIX: (#31449) sm_dedup_interface is not able to delete savesets in specific case when switching to a 'plain' DS. Problem: di -r delete does not work. Solution: -r option have to be checked correctly * BUGFIX: (#30787) Savesets in old file structure are not purged, after data store has migrated to type 'plain' * bugfix: (#31488) The check for the parameter of the Sesam Server -S did not work if the parameter was given without a space. Now it is also accepted if no space is given. * bugfix: (#31500) Selective restore of the folders and/or files that have non-latin characters failed. Added implicit encoding for read and write operations. * BUGFIX: (#31494) Showing entry number of QM returns follow up event when entry does not exist, but follow up is running at that time. Solution: Use origin entry number for follow up job to avoid invalid entry number 0. * change: (#30969) Enter in the NOT log in the overview whether a HyperV backup is backed up via RCT or VSS. Solution: Added function SET_FULL_TASK_NAME, which for the Hyper-V task creates a full task name as a combination of fields 'szBckType' and 'szBckSubType'. * CHANGE: (#31408) sm_ssh exception during copy of .lis file using sm_client fails with EOFError. WIP: Catch exception EOFError within output_reader thread and turn exit code into 255. This results in up to 5 retries and if still failed then .lis file will not be removed * BUGFIX: (#31376) Canceling vSphere backups does not work correctly if started by a task group. Add 'order by start_time' to SQL statement to get the correct sub-task entry from 'DB:results' * NEW: (#31348) Configuration of AWS S3 object lock for Si3 by GUI: Use 'DB:data_stores.retention_eol' to configure S3 object lock * BUGFIX: (#31416) DB2 module doesn't reset certain Sesam values between calls. Problem: DB2 do not call "close". Solution: add "close" call and PID in trace for easier debug * BUGFIX: (#31362) DB2 backups are started without saveset name and com errors not checked. Solution: Additional check for error message while reply=OK and empty saveset name returned by server * BUGFIX: (#30987) Hyper-V backup leads to sm_reformat_lis-error "'utf-8' codec can't decode byte". * BUGFIX: (#30499) Hyper-V backup fails with exception in sm_reformat_lis: 98 name 'ERROR_CANT_OPEN_METADATA_FILE' is not defined . Solution: Added the necessary error code into the enum. * BUGFIX: (#31417) All volumes are backed up, if source have name with "all" at the end (e.g. E:/AG,E:/ALL). * change: (#25440) Release Hyper-V snapshots created by SEPsesam FULL/INCR backup. If no reference points were found for the VM, enforce the FULL backup. * change: (#31383) Backup current VHD snapshot state only. Removed condition NHyperV::SnapshotRecovery. Synchronously call the "_DestroyUserSnapshots" function because async mode leads to "Asynchronous job failed" and not all snapshots were deleted. * change: (#28131) Show the total disk space required by VM (VHDX+AVHDX) not only the VHDX during VM browsing in GUI. The "hidden" to "not_saveable" property has been changed for *.avhdx files. * change: (#31368) HyperV Backup fails: Production checkpoints cannot be created for ... . Added a function that returns the current "UserSnapshotType" for the Hyper-V VM * change: (#24085) Give Hyper-V VM backup the ability to switch transaction log processing for VSS aware applications. Added the consistency level switching possibility (application or crash) * bugfix: (#26083) Switch to FULL backup for Hyper-V if a new volume was added between FULL and INCR. Trying to perform a FULL backup instead of raising an error. * bugfix: (#26083) Switch to FULL backup for Hyper-V if a new volume was added between FULL and INCR. Problem: Hyper-V RCT backup does not take into account if a disk has been added, removed, or renamed. Solution: Added a function which compares the list of the disks before and at backup time. * change: (#25093) Restore VM with same name using a new UUID. For Hyper-V VSS and RCT variants, the VM's UUID is now printed in the *.not log file. * change: Display all VHDX disks in the 'not' logfile despite their exclusion from backup. * change: Added information related to which reference point has been used for INCR/DIFF backups for the Hyper-V RCT module. * bugfix: (#31221) Hyper-V backup of same VM by multiple Sesam servers. Problem: Backups of the same VM to different servers work, if only the task names are different. Solution: Added the Sesam server name to the *.config file name and moved to */times directory * bugfix: (#31158) When a *.vhdx file is excluded from backup, the Hyper-V RCT module writes to the saveset all available *.vhdx files. Problem: The VHDX exclude list has not been included in the RCT module. Solution: Added exclude list processing. * bugfix: (#31097) The Hyper-V did not fully restore from chain (FULL<--INCR...<--INCR) backup. Problem: Not removed leading symbols from the RCT writer's path. Solution: Added path checking and correction if needed. * bugfix: (#30715) Hyper-V VM restore is not possible if no vm exists on the hypervisor. Problem: If Hyper-V does not have any virtual machines, the restore task always fails with the error "No virtual machine is found in the system." Solution: Removed the redundant check for the number of existing virtual machines, which was accompanied by the generation of an exception. * change: (#28929) Adjust meta-data information of Hyper-V virtual machine objects for 'dir' function. Solution: Added 'hostnames', 'guest_os' and 'IPaddress' reformatted to 'ips' for output data when sbc called with '-a details' key. * change: (#25666) Browse Hyper-V client does not show used size of VMs and VMDKs description of changed functionality. Problem: Virtual Machine size requested only when 'sbc' application executed with '-a details' key. Solution: Now size will be added to the default output and other additional info under '-a details' key. * bugfix: (#31449) sm_dedup_interface is not able to delete savesets in specific case when switching to a 'plain' DS. Problem: di delete -t