GUI Bugfixes: 975f96b176 BUGFIX: (#27718) - Setting media write protection throws exception change: When opening the properties dialog for a migration event where absolute_flag = null, the "Based on" combobox is not correctly initialized from the value set in the corresponding migration task. change: Terminate active VM buffer filler when running longer than one hour. Execution is hard killed to allow the overall buffer refresh to complete. wip: (#27682) - Column 'locked' in saveset view of datastore shows locked state of wrong saveset if migration lays in datastore BUGFIX: (#27682) - Column 'locked' in saveset view of datastore shows locked state of wrong saveset if migration lays in datastore change: Fix NPE in HwLoadersInfo when RDS of a drive is not accessible (ACL) and activate the link between loader objects and associated device server bugfix: Deduplication rate showns as ",00:1" when UI is started with German localization and no data stored to the data store yet. bugfix: Fix NPE when trying to immediate start a migration or replication, but no applicable source media pool is found. bugfix: Maximum date range not applied to "Saveset" view when user has set the default date range to -1. bugfix: Wrong media pools listed in drop down box when loader is changed (archive adjustement) BUGFIX: (#27642) - Selecting the relocation for MSSQL restore leads to a NullPointerException change: Accept also empty DB:hw_drives.access_mode when checking for valid drive access mode. bugfix: Fix NPE in "Loaders" view when user has permission to access the loader but not the RDS bugfix: When the schedule or the event is disabled, the icon name set for the event might be corrupted and therefore no icon is display and some actions are not available. change: Disabled schedules shall not be start able bugfix: Fix 2 issues in media event panel BUGFIX: (#27621) - Option 'Monitoring > Drives' fails with 'Missing parameters' when selecting a particular drive BUGFIX: (#27605) - "sm_update_client" not work if a Location is selected as base change: Fix NPE in "Restore" view mouse listener wip: Fix failing unit tests BUGFIX: (#27609) - sm_cmd unload drive 39 is not possible because of 2 a digits drive number wip: (#21533) - Change "Authorization" schema key from "Bearer" to "X509" BUGFIX: (#27607) - The environment variable (gv_prot/gv_dayfile) handling is no longer correct in 4.4.3.79 with sm_smtp. BUGFIX: (#27604) - It's not possible to switch from a custom update source to the default package source change: V2 restore server now also encodes the transaction type into the restore options. change: Adjust calculation of max screen size available. Take the task bar size into account. BUGFIX: (#27466) - Hide "Exchange Access" tab completely and show "restore granularity" options in expert mode only BUGFIX: (#27594) - Purge button at GUI of disk based stores ignores action change: Fix NPE when trying to show the results of a selected backup from the "All Results" view BUGFIX: (#15298) selection of drive at loader content table will not be taken as initialization for loader action dialog. Problem: only PK of drive is set. Solution: use deep object of drive. BUGFIX: (#27555) - After creating and deleting OS-Access data in a job, you can make changes in the job, but you can no longer accept or save them without the exception CHANGE: With DB authentication enabled, the REST server logs clear text passwords BUGFIX: (#27540) - sbc_vadp doesn't recognize setting of signal semaphore file correctly change: (#27542) - New loader content view/action problems BUGFIX: (#27543) - Drives for loader actions aren't updated, if loader has been changed change: Remove deprecated button from loader content dialog bugfix: Fix report query evaluation for queries containing variables to resolve. new: Report SQL query can now have a "prolog" section to pre-calculate variables required in the SQL query. bugfix: Button 'Start' not visible in "Loader Action" dialog. Button 'Create New' shown instead. wip: (#27533) - Backup report throws exception NEW: (#24614) - Add a column in schedules & show the right information for migrations (followUp) change: "Manage VM Task" create command does not take "Backup as image" into account. change: Check Update/Access state and all Install/Update/Uninstall actions are not visible for clients with access mode PROXY or VIRTUAL. change: Disable "Restore" menu item in "Backup" views context menu when the backup is marked as "extern". wip: (#27492) - Fix NPE in HwDrives.getDisplayLabel BUGFIX: (#27492) - When I open a medium (tape) with an expired EOL, DELETE MEDIA is grayed out. Only when I click on Properties 2 and again on Properties 1, then the deletion works. wip: (#21533) - Change HTTPS certificate lookup order slightly, try command line options always first. wip: (#21533) - Fix failing unit tests change: (#26321) - MEDIENPOOLS Neuer Medium, besser Neues Medium change: (#21533) - UI/WEBUI/API/CLI authentication by certificate and/or keys change: Fix logging configuration setup of CLI change: Use '-z'/'-Z' as command line options for specifying the SSL certificates to use. CHANGE: (#27454) - Replace certificate and key for WebUI access wip: Fix merge errors from previous 2 cherry-picks. wip: Reference correct root class to find logback configuration file for "Extract" command. change: Configure logback bridges correctly and enable a more simpler log configuration overwrite. Now, 3rd-party library logging, like for the Spring Security library, can be enabled and is printed to our log files. CHANGE: (#27471) - RW: Show "Save as Template" only when explicitly enabled BUGFIX: (#27458) - Restore of vSphere VM using VxRail could fail with 'Size of file .ovf is 0 byte' BUGFIX: (#27409) - Datastore saveset overview view stops at 99% BUGFIX: (#27448) - Immediate of backup does not work anymore due to ONPE change: Add additional logging to the LDAP/AD credentials login provider. BUGFIX: (#27439) - Context menu of external backups must not contain option to immediate start it SRC Bugfixes: ff69f8b0d8 bugfix: (#27714) Multiplex backup to tape writes corrupt data. Additional: Right trim saveset name and use SavesetNameShort for old SMS version '1' bugfix: (#27714) Multiplex backup to tape writes corrupt data. Additional: Write Savsetname short, write long saveset name into saveset trailer, read lng saveset name bugfix: bugfix: (#27714) Multiplex backup to tape writes corrupt data. Solution: SMS Version 2 now with SavesetName Short (32 Byte) and SavesetName (255) bugfix: (#27714) Multiplex backup to tape writes corrupt data. Problem: SMS Version 2 allows only saveset name up to 32 chars BUGFIX: (#27714) Multiplex backup to tape writes corrupt data. Problem: Oracle saveset name may be longer than 32 new: (#27728) Readcheck must be able to recognize corrupt data in case of multiplexed backup streams. Additional commit to set return state and message new: (#27728) Readcheck must be able to recognize corrupt data in case of multiplexed backup streams. Solution: Check for valid TapeID (1..99999) and segment number (1..1000000) BUGFIX: (#27714) Multiplex backup to tape writes corrupt data. Problem: Race condition could lead to invalid thread_ID > 99 Partial merge of commit "Revert "Revert "BUGFIX: (#27067) - Data of submounted volumes on Windows is not backed up""" bugfix: (#27714) Oracle restore validate fails from backup to tape. Add sm_loader.exe to SP 1 bugfix: (#27714) Oracle restore validate fails from backup to tape. Problem: With multiple tape drives the tape was not dismounted. Solution: Always call drive_handler('dismount') to dismount other drive after unload NEW: SP1 for Beefalo V2 4.4.3.83 - with GUI NEW: SP1 for Beefalo V2 4.4.3.83 bugfix: Compilation for so_client_lib.exe failed due to missing Gdi32.lib, SSL_LIB and CRYPT_LIB Revert "change: sbc_rhev: report virtual machine target name using new sbc message 3122" change: sbc_rhev: report virtual machine target name using new sbc message 3122 bugfix: (#27684) Backup to Store Once Catalyst Store with Low Bandwidth Mode Only fails. Problem: Since commit for '(#27654) HPE StoreOnce compresses data with the Catalyst profile 'High Bandwidth'' the WritePolicy.WriteBandwidthMode was not retrieved with osCltData_OpenObjectDataSession() - which also sets the sessionOptions(!). So now use osCltCmd_ListObjectStores() to get OSCMN_sObjectStoreType change: (#27654) HPE StoreOnce compresses data with the Catalyst profile 'High Bandwidth'. Change: Print always the trace message ''Ctl_OpenObject: Bandwidth mode '...' - set BodyPayloadCompressionDisabled/PayloadChecksumsDisabled=.'' CHANGE: (#27654) HPE StoreOnce compresses data with the Catalyst profile 'High Bandwidth'. CHANGE: Only in cse of Low Bandwidth Mode the Payload Compression and the Payload Checksums are enabled change: Increase default index size for Si3-NG to avoid full index problems in case of low deduplication ratio change: Do not set first letter of saveset name to 'S' for migrations new: Add Si3-NG in v4_4_3_5 branch BUGFIX: (#27679) STPD_Main cores if MAX_CONNECTIONS exceeds. Problem: Close handle without check may cause core. Solution: Add handle check before close BUGFIX: (#27679) STPD_Main cores if MAX_CONNECTIONS exceeds. Problem: Sub process PID does not saved, which cause incorrect check is process alive. Solution: Save PID for further checks BUGFIX (#27686) Restore VM over RDS with transport mode https fails: pass tapeserver to sbccom openjob call during restore too BUGFIX: (#27686): Restore VM over RDS with transport mode https fails: pass tapeserver to sbccom openjob call during restore too BUGFIX: (#27670) Browsing RHEV Fails if VM has direct attached lun as storage disk: catch exception new: (#21359) Better error message, if external job expires in pending queue bugfix: Java heap for Si3-NG: '-Xmx4096M' instead of '-Xmx4096' change: Message, if external job has been stopped in pending queue BUGFIX: (#27502) - sbc cores during HCL Domino COPY backup. Possible reason: Access to memory that was free before. WIP: (#27434) SAP ASE backups end with error: 'ERROR: No Total: ... line found in LIS file'. If '-a action=sleep:{seconds}' is set then wait seconds after successful processing NEW: If SQL statment failed with SQLITE then add message to SEP sesam daily log - {day}.prot file bugfix: (#27655) Core dump of STPD process when handling Oracle backups. Problem: Oracle still use dot in saveset name which cause core. Solution: Improve saveset name handling to accept dot in saveset name BUGFIX: (#27650) Start of http process blocks STPD main too long. Problem: STPD_MAIN wait for STPD_HTTP to be started, and this take a long because of lot stuff (HPE communication, Authorization). Solution: Remove long running operations from start process lock bugfix: (#27424) - All backups on UEFI systems fail on master with volume mount problems Fix merge conflict in 'sm_config_drives.c' change: prevent memory leak when using pipes on linux; handles not closed on pipe close BUGFIX: (#27263) FSCK for data stores may report inconsistence, when backup starts before 'FSCK' and ends before DB select for active backups. NEW: (#27644) Update 'DB:data_store.msg' during 'check_space' operation too NEW: (#27208) Remove temp files under 'gv_rw_work:templates/rythm' by 'sm_pur_status' bugfix: fix build after sm_dedup_interface merge from master new: vs2019 build changes in existing sources change: Reuse variable to decrease function calls change: improve status message new: add "dirfast" option into sm_client ("sm_client dirfast /home/user/sesam/su/src/vfs/*") new: (#27312) Add listen port to sm_dedup_interface status output. Problem: missing listening interface in "di status". Solution: add missing listening interface bugfix: di status core. Problem: In case of old Si3 server used active tasks object is NULL. Solution: Check active tasks object for NULL before usage bugfix: (#27256) sm_ssh merge STDOUT and STDERR sometimes. Workaround: Combine stderr and stdout on INI option "combine=True" bugfix: di init on plain store may return error due to _data_ dir already exists. Problem: di init called on plain DS few times. Solution: Hide this error for Plain DS bugfix: fix some of STPD warnings bugfix: Allow di put read from stdin (-) bugfix: Active tasks missing in "di status" output. Problem: Current Active tasks implementation needs some additional calls to server. Solution: Simplify Active tasks get from server bugfix: "di status" is too slow. Problem: While status retrieve we have to got through each DDL file to get Encryption status. Solution: Temporary avoid getting of Encryption status bugfix: fix warnings in sm_dedup_interface change: remove unused code change: di status is still too slow. Add timers to get the slowest part of di status bugfix: di analyse failed to start from non Store directory. Problem: di analyse similar to most of functions ask for server connection, which it do not need. Solution: Avoid server connection for di analyse bugfix: (#26987) Extend status information for 'sm_dedup_interface delete' function. Fix compilation warnings change: (#26987) Extend status information for 'sm_dedup_interface delete' function change: (#26836) sm_dedup_interface delete takes very long if data-store holds many savesets. Problem: If full saveset name set we still need some FS walk. Solution: Optimize "di delete" for Plain Path store Change SOB no xbsa version to 4.4.3.83 NEW: (#27577) Avoid deadlock by 2 external restores requesting tape medium mounted in other drive, then restore has started on new: 'sm_sbc_com' log with 'PID', to allow log of external multistream backups into one logfile new: Trace logs by 'sm_loader' including PID, because it is called sometimes with same log file name in parallel new: Trace function including PID of process bugfix: sob no_xbsa build failed due to changed evp_crypt signature NEW: (#27026) Correct path relocation for restore over mount saveset on Windows. Check if mount point is a dirctory or a Windows drive letter New SOB version for no xbsa build BUGFIX: Oracle module: Ignore unknown keys returned by Sesam server, instead of stop with error. This allows Sesam server to send more information, without checking client version before Check 'glibc' version fo Linux only NEW: Use Postgresql 12 for on Ubuntu 20.04 change: Kopano 'dir' command. Do not print out useless time stamps NEW: (#27569) Add support for Kopano 8.7.12 (kopano-admin output has been changed) NEW: Allow Postgresql 12 for Debian 10 to support Ubuntu 20.04 added kernel\python sm_reformat_lis.exe and kernel\python sm_vmdk_interface.exe to SP Add accedently removed 'drop trigger update_tasks_results_sts' line bugfix: (#27611) Re-activate DB trigger on SQLite for 'DB:results.mtime' new: changed version number from 4.4.3.82 to 4.4.3.83. BUGFIX: (#27560) 2 STPD process are running on the same stream number at the same time. Problem: Race condition between different STPD processes for the running stream. Solution: Use lock guard for new STPD process creation until process started BUGFIX: (#27586) Insert an enforce switch for SP update. If release field is present in sm.ini than this version is used to compare with the SP version, otherwise the version field is used. bugfix: (#27571) sm_sms_interface logfile includes x_Snprintf: Error vsnprintf truncated messages. Solution: Size increased to keep 512 characters BUGFIX: (#27563) Kopano backup removes own full index files needed for incr. backups after 7 days bugfix: (#27422) One data block isn't written to next tape after EOM. Problem: Recent commit lead to increased block number after segment header BUGFIX: (#27422) One data block isn't written to next tape after EOM. Solution: Write data block first and then the file mark with segment header but only if EOM area was not yet reached bugfix: (#26970) Fixed NDMP restore to alternate file system for Dell-EMC Unity server bugfix: (#26970) NDMP - correctly count failed restore items on Dell-EMC Unity server wip: (#26766) 'sm_client dir -o noapp /' to show file systems only BUGFIX: (#27502) sbc cores during HCL Domino COPY backup. Problem: Concurrent thread may access same string array. Solution: Access to string array only in critical section change: Do only dump up to 1024 bytes if MTF stream ID was not found new: SP1 for Beefalo V2 - added sbc_w32_os2\sbc BUGFIX: (#27182) - Exchange DAG backup fails if the sesam service user have no administrative access to the entire Exchange organization BUGFIX: #(19312) - Backup with source 'VSS:/Performance Counters Writer' failed with wrong item [\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy4\Windows\System32\Prfc????.dat] change: target framework 3.5 to 4.5 BUGFIX: (#25670) - Browsing Exchange Server 2019 source does not longer set the 'not_selectable' for logs and files change: Comment revised: -n [:[:]] wip: (#27166) Fast job termination in 'sm_break'. Improve 'pack item' processing by checking global termination flag: immediate break away from pack item loop BUGFIX: (#26392) - 'sm_reformat_lis' complains about missing Exchange log files from excluded database bugfix: fix potential place of core BUGFIX: (#27293) SAP Hana doesn't recognize successful backup correctly. Problem: SAP Hana backup ends with 'backint did not respond for 600 seconds'. Solution: Avoid waiting for semaphore bugfix: (#27506) sm_config_drives crashes when configuring HPE StoreOnce Data Stores. Problem: When calculation is set to 'auto' for an already set up HPE Catalyst Store with Physical or Logical quota then 'free' space was used instead of capacity ('All') wip: (#27389) Check DB triggers regarding performance and use case. Improve performance by avoiding mtime triggers for 'cal_sheets','sesam_events','results','result_lbls'. Note: mtime triggers for sesam_events haven't been used for sqlite new: SP1 for Beefalo V2 - Add new BSR Windows Pro O&O DiskImage 15.4.196 new: SP1 for Beefalo V2 - Add sms\sms_interface to get fixes for sm_data_server.exe and sm_stpd_main.exe bugfix: SP1 for Beefalo V2 - client SP bugfix: SP1 for Beefalo V2 - Use correct: sbc_com\sbc_com_interface_l sbc_com_interface.exe bugfix: SP1 for Beefalo V2 - Use correct: sbc_com/sbc_com_interface_l sbc_com_interface.exe NEW: SP1 for Beefalo V2 BUGFIX: (#27506) sm_config_drives crashes when configuring HPE StoreOnce Data Stores. Solution: Avoid PROT() with arbitrary data in format specifier. Adapt scanf for HPE answer with 'Physical_Storage_Quota_Byte' or 'Logical_Storage_Quota_Bytes' BUGFIX: (#27508) SAP Hana restore/inquire: Do not return migrated savesets, if SAP Hana queries backups done by Sesam BUGFIX: (#27498) Core dump of sm_data_server in 'x_DumpEx()' function. Solution: Avoid to call trace function with arbitrary data in format argument wip: (#27389) Call trigger to update DB:mtimes. for statement and not every row change: Remove 'mtimes' trigger for 'DB:sesam_events' CHANGE: (#24688) Enable 'CTRLD' service again, if a GroupWise installation is detected BUGFIX: (#25064) New BSR registry key for DiskImage 15.0 is missing. Problem: Since 15.0 the DefaultPath doe not end with path delimiter. Solution: Use os.path.join(directory,filename) to generate proper file name NEW: (#27489) Include O&O version 15.4.196 - in Sesam kit build BUGFIX: (#27478) All child processes started by sm_startup hang on Windows 2012R2. Problem: New improved read output function is stalled on some Windows Server 2012 R2 systems. Solution: Use old pipe reader if operating system is Windows Server 2012 R2 or older. Allow to override with GLBV gv_new_read or gv_old_read bugfix: (#26565) Use of SSH_CLIENT variable in sbc arguments. Problem: SBC finish with error in case if host IP resolved as IPv6. Solution: In case of IPv6 use brackets around IP BUGFIX: (#27480) 'sm_config_drives' removes loader assignment of disk change (SayFuse) drives bugfix: Recent commit used i_GLBV_SET() which is not resolved for qm BUGFIX: (#27478) All child processes started by sm_startup hang on Windows 2012R2. Problem: New improved read output function is stalled on some Windows Server 2012 R2 systems. Solution: Use new function only if GLBV gv_new_read is set BUGFIX: (#26605) Backup to tape fails because of wrong (unsupported) read block_size - errno EBUSY. Solution: Set Linux default block sizes for LTO-3/LTO-4/LTO-5/LTO-6 reduced to 128KB BUGFIX: (#26214) Purge of DataStore does not work anymore when vSphere VM is part of VM-folder with mutated vowels. Solution: Decode UTF-8 with ignore errors to skip non utf8 chars BUGFIX: (#27433) Check interface (http://...) during vSphere restore against data mover and not client name, because on vCenter no Sesam client is (mandatory) be installed BUGFIX: (#27386) Update of Sesam GUI RPM package: Ignore error, that Sesam service not running, because this is OK for a GUI only installation bugfix: Catch format exception in 'df()' function and return with correct error message BUGFIX: (#27432) Added missing MsiCloseHandle called for all calls of MsiRecordSetInteger and replaced CloseHandle calls with MsiCloseHandle due to possible some memory leak issues with CloseHandle. Also made a small code review and removed all unneeded comments. BUGFIX: (#27440) DB2 restore: Do not return migrated savesets, if DB2 queries backups done by Sesam CHANGE: (#27172) - Citrix XenServer can be CBT based backed up by using certicate signed by CA