GUI Bugfixes: 72779fcb38 CHANGE: (#27229) - Show checkbox 'HPE Bandwidth Optimized Data Transfer' with grey color and tool tip to inform customer BUGFIX: (#27323) - NPE when opening properties of a Hyper-V restore task without existing savesets CHANGE: (#27277) - Change default time range for migration tasks BUGFIX: (#27307) - RW: Show disaster recovery checkbox in Advanced mode BUGFIX: (#27234) - When opening tab 'Actions' at DataStore just actions of current sesam day are shown, though filter is set different BUGFIX: (#27280) - The GUI displays incorrect information after uninstalling a client via the GUI BUGFIX: (#27302) - List vSphere snapshots via CLI works correctly, but error message is written to exception log of GUI server BUGFIX: (#27299) - Do not use default date range filter for backup results in media properties change: Remove count of physical clients in MSP unit license report. BUGFIX: (#27018) - Misleading example for restore task BUGFIX: (#27202) - Print human readable error message in case the host name resolution fails BUGFIX: Reports are empty if "-L " is specified on command line. BUGFIX: (#27173) - KVM restore fails with "Unable to define VM: "XML error: name hda:/vm/maxdb01.img cannot contain / " BUGFIX: (#27155) Restore Wizard don't submit date restrictions in search function (sm_search_lis). Problem: convert String from date combobox 'from/to' to date 'Feb 25, 2020)' failed. Solution: add date pattern 'MMM dd, yyyy' for string->date converter. BUG: (#27159) - sm_cmd restore does not recognize -S switch BUGFIX: (#27121) - Backup of vSphere VM fails due to NPE when export of OVF is not permitted BUGFIX: (#27125) - 27125 - Column "Last Successfull run" and "Last Full Backup" don't use the correct date-time format BUGFIX: (#27134) - Restart Exchange Server restore fails with NPE BUGFIX: (#27131) - NPE in RW Exchange try to browse path for RDB NEW: (#27102) - No option to set the data mover for a backup task BUGFIX: (#27111) - Backup task exclude maximum length not in sync with DB BUGFIX: (#14086) Port table at loader content dialog show wrong data. Problem: filled data of the tables port, transport are interchanged. Solution: fill data to corresponding table BUGFIX: (#26875) add mount points to all mountable task type types with mount option is set (param -d ymountpath> for command 'sm_copy_files' change: (#27075) It is not possible to select all media pools, when creating a 'new media event' in a schedule CHANGE: (#27077) - After opening the day log, the GUI doesn't respond for minutes BUGFIX: (#27075) - It is not possible to select all media pools, when creating a 'new media event' in a schedule change: (#27053) - Change wording of tab (Si3 State -> State) - in the GUI (DATASTORE - PROPERTIES - ACTIONS - CHECKSPACE - second tab) bugfix: Rendering "failed jobs" report failed because of '\' in SQL query result source. change: (#26768) User defined calendar: Handling improvements to avoid user confusion SRC Bugfixes: 6e49de7538 BUGFIX: (#19315) Backup fails with 'Medium is mounted' if the current medium of the tape drive is in mount state in another drive. Solution: Try to occupy other drive (sm_sbc_com_ext) and if successful then load it into required tape drive. bugfix: (#26385) slu: topology adds device and loader_drive to standalone drives -> results in wrong update statement setting hw_drives.loader_drive to invalid value for remote controlled drives, e.g. ACSLS drives bugfix: (#27184) info.dat contains too little/incorrect information. Problem: Extra log line is printed with 'Warning:' - this must be avoided BUGFIX: (#27324) sm_ssh needs 10 sec to start command on remote host. Problem: gethostbyaddr() returned after 10 seconds with 'Host not found'. Solution: Remove the call to gethostbaddr() which was only used for log purpose. Attention: Merged from commit ab68a8a with modifications for (#27256) 'sm_ssh merge STDOUT and STDERR sometimes' bugfix: (#27179) Added missing OOUNINSTALL15 check to Setup.rul and adjusted the order of the Uninstall,Install chained packages. Conflicts: src/msi/sesaminstaller.ism due to missing commit e8e8e9f (#25580) Check for pending reboots due to Windows Updates ... new: changed version number from 4.4.3.79 to 4.4.3.80. BUGFIX: (#27149) - Hyper-V Cluster VM backup fails with 'file is not found in the LSL file'. Cause: mess with lower/upper characters handling in the LSL file parser. BUGFIX: (#27250) Error during read operation doesn't return error correctly to Oracle and Sesam server. Solution: All BSA errors are now passed to SOB BUGFIX: (#27251) Oracle session list is not implemented correctly. Solution: Now an array of sob sessions is used to allow direct access of sob session via handle (index) BUGFIX: (#27067) - Data of submounted volumes on Windows is not backed up BUGFIX: Correct 'http' port for client to server access check NEW: (#27179) Include O&O version 15.3.179 in kit build. NEW: (#25064) New BSR registry key for DiskImage 15.0 is missing. Add registry key detection for version 15.0.xx to executable sbc_bsr.exe and sm_client.exe BUGFIX: (#27070) - Hyper-V VMs are no longer listed when browsing with sbc. Cause: The specified source "/Hyper-V" unlike to "Hyper-V" is not handled in the correct way. change: hdbbackint: Send signal SIGINT to sub processes instead of SIGTERM CHANGE: (#27294) 'i_FIND_MEDIUM()': Use segment number from DB:result_lbls, instead of searching it in SGM file change: Backport function for correct termination of SAP Hana backups to v4_4_3_5 branch NEW: (#27288) Correct handling of termination signal send by Hana DB during backup and restore NEW: (#27000) SAP Hana multi stream backup and restore: Do not continue, if a backup or restore fails, but return with error for all remaining items CHANGE: SAP Hana module: Reduce default pipe read/write timeout for 'sbc' to 60 sec. Can be adopted by 'UTL' file: 'SBC_TIMEOUT=' CHANGE: backint SAP Hana: do not enclose backup id by quotes for '#SAVED' line in output file new: Add 'source' to Python 'sbccom' class change: Oracle module: Change log level for some important messages to be logged by default level 1 NEW: (#27252) Log level for Oracle backup: Set XBSA log level after getting it over 'SEND' command again to have same XBSA logs as if set by 'ENV' command new: (#26789) Add date string to Oracle SOB log file name CHANGE: (#23052) Oracle backup script: Set default log level to '1' NEW: (#24107) Oracle backup module: Adopt log level for important log messages to be printed out with every log level set change: Add milliseconds to trace line time stamp BUGFIX: (#27259) Set EOL for savesets imported from S3 snaphot correctly by adding EOL from media pool to current date BUGFIX: (#27196) Determination of the BSR version failed due to missing quotes. Enhanced the error logging during BSR uninstallation and installation. Included all missing changes from master. bugfix : (#27257) Process 'sm_sms_watch' does not leave idle mode up from the beginning when gv_use_qm_lib is set. Problem: LL list does not allow to add empty strings - zero sized elements are treated as end of list. Solution: InsLLf() does not longer insert zero sized elements wip: (#27255) SAP on Oracle backup: Support source side duplication. Buffer space for backup device has been increased to hold SSDD specific infoemation BUGFIX: (#27196) Some directory separator were still missing during the installation of BSR Pro. Should now work as expected. BUGFIX: (#27196) The path for the subdirectories OO_SOFTWARE_APPDATA may not include the subdirectory 'SEP sesam BSR Pro' since it is automatically added by O&O BUGFIX: (#27196) Used the wrong registry key for SEP sesam BSR Pro, no use the right one. BUGFIX: (#27196) Added registry insert statements to adjust the app data folder in the registry of the SEP sesam BSR Pro installation. In case of the installation this is done before the SEP sesam BSR Pro installation in case of the update using sm_execute_update.cmd it is done after the SEP sesam BSR Pro installation. BUGFIX: (#26304) Removed the program sm_java.exe from the firewall rule. Now port 11401 is open for all programs. new: changed version number from 4.4.3.78 to 4.4.3.79. BUGFIX: (#27069) sm_rexec sporadically omits STATUS and MSG which was reported by child program. Solution: Do not write GitID to STDERR, to avoid problems reading STATUS and MSG line correctly BUGFIX: (#27196) Pass installation var and bin directory to BSR Pro installation. Workaround: Even with installation under 'D:' the registry pathes may refer to volume 'C:' so adapt registry keys appropriate BUGFIX: (#27196) Additionally use the parameters OO_SOFTWARE for the bin directory and OO_SOFTWARE_APPDATA for the var directory of BSR Pro. CHANGE: Restore with verify option set: Set status to failed, if no checksum could be found in 'sbc' log BUGFIX: Compare of checksum hasn't been done any more during restore with 'verify' option set, because of wrong 'sscanf()' format specification BUGFIX: (#27196) Pass installation var and bin directory to BSR Pro installation. BUGFIX: (#27225) 'sm_restore' creates wrong SGM file name, if restore should use migrated saveset. 'cnt' and 'sesam_date' will be read from 'DB:results' again, after saveset id to be used has been set BUGFIX: (#27223) Restore fails, because restore tries to use a 'write' only drive bugfix: (#27221) Using 'HPE Bandwidth optimized transfer' for SAP ASE backup failed with 'Error: Could not init XBSA lib. Problem: Connecting to local stpd failed due to missing port, and size for drive increased. Note: Common function ParseCLIHostSpec(...) should be used! BUGFIX: (#27222) Set correct queue allocation (media pool) for external backups and migration write sied again bugfix: (#27203) Backup to HPE Data Store without credentials and option 'Bandwidth optimized transfer' fails. Problem: Last commit skipped first char from HPE StoreOnce AccessKey (Client) wip: Delete entries from 'DB:sesam_events' older then 31 days, until this is configurable bugfix: (#27203) Backup to HPE Data Store without credentials and option 'Bandwidth optimized transfer' fails. Solution: Adapt logic for connect string without user and password new: changed version number from 4.4.3.77 to 4.4.3.78. NEW: Do not include table 'DB:sesam_events' into bootstrap file, because it can become quite large and it is not necessary for Sesam disaster recovery BUGFIX: (#27190) Restore of a replicated saveset with preferred media may use origin saveset. Solution: Use only the preferred media pool in the SQL where clause bugfix: Avoid message 'Error: NOT_LOG: Invalid log file name [] -> skip message [... smk-3526: Info: Interface ...'. Note: Interface is printed together with other backup arguments BUGFIX: (#27177) - Restore of a selected Exchange database with import to original database via RDB fails with 'Failed to match string from msl file' new: In case of restore validate image the PWD file is removed to assure that the interface from the sbc_bsr command line is used for data transfer, e.g. HTTP interface NEW: (#27179) Include O&O version 14.5.415 in kit build. BUGFIX: (#26431) Do not set error message to 'Checksum of saveset copy does not match' for failed backups, but continue to check log file for real error BUGFIX: (#22663) Failed backups with message 'Operation successful'. This usually happened for backup types using sub tasks (like vSphere), because a 'sbc' success message has been found in log output before error message. Now message will be overwritten with error BUGFIX: (#27086) Get saveset tree returns wrong media availability for a FDI saveset chain. For a backup saveset with highest 'availability' can be used, but for FDI chain lowest one change: sm_qm sho/sta supported in sm_lib qm_cmd_ll function bugfix: (#27024): clear buffer before using iPIPE_READ_STDERR2 and iPIPE_READ2 BUGFIX: (#27163) - Restore of Exchange database via generated RDB fails with '.COMException (0x80004005): Database::Dismount:ExchangeManagementShell::DismountDatabase: Couldn't dismount the database that you specified.' bugfix: (#27174) 'qm_lib_get_answer_win - broken pipe - closed by peer (first error 109)' messages in all sm_sms_watch.logs. Solution: Trace level revised BUGFIX: (#26841) Always execute log on as a service policy if runas different user has been selected. BUGFIX: (#26841) Give inserted service user 'Log on as a service' policy during installation as well as if service user is changed via services. Use newly inserted parameter logon_as_service of sm_qm_main.exe during installation. new: Now after successful restore 'validate image' the summary line is printed: 'sbr-3052 Items processed correctly: [1]. Not processed or incorrectly processed items: [0]' change: Two calls to Si3 server needed for finish backup (close + add KV). Problem: Additional call may cause performance slow done and potential issues. Solution: Basic KV add should happen together with close operation BUGFIX: (#27163) - Restore of Exchange database via generated RDB fails with '.COMException (0x80004005): Database::Dismount:ExchangeManagementShell::DismountDatabase: Couldn't dismount the database that you specified. change: If called for restore with option '-o verify=list' or level '-l list' then create script to validate given saveset bugfix: (#27151) BSR Pro (Quick-Start) restore starts external jobs, but nothing else happens. Problem: Reading from end of saveset failed since commit a641fe5 '(#27078) Restore of Linux saveset fails with 'Data Synchronization lost' when no tree structure should be created'. Solution: Fill buffer before move to end of saveset bugfix: Correct move for old RPM kits into directory 'old' BUGFIX: (#27161) Installation of new client failed because no fitting package could be found. Solution: Architecture for a new client is None. Use a default architecture x64 in this case. BUGFIX: (#27158) Restore of Exchange database via generated RDB leads to overwriting of the original database and data loss. Solution: MTF meta data stream must be closed with ESET bugfix: (#27153) GUI shows wrong deduplication ratio for HPE-SO data store with logical quotas. Solution: In case of Physical Storage Quota the calculation of the values for use, free and used (%) must only use DedupedDataSizeOnDisk and DedupedDataSizeOnDiskLimit (DedupeMetaSizeOnDisk is included in DedupedDataSizeOnDisk) bugfix: HPE SO di df return with new line char. Problem: sm_rexec function catch only first line. Solution: Remove new line char BUGFIX: (#27103) Windows: qm_lib uses PeekNamedPipe and burns too much CPU power. Solution: If ReadFile() failed with error ERROR_PIPE_LISTENING then avoid WaitForSingleObject() change: Add stack size to link rule to avoid error STATUS_STACK_BUFFER_OVERRUN bugfix: (#27129) Restore of Exchange database ends with 'Empty Saveset' error. Solution: Additional logic in PREPARE_SLL_FILE() required for SEL type 'Db' bufgix: (#27103) - replace PeekNamedPipe with WaitForSingleObject and async pipes CHANGE: Use new 'sm_qm sho/status' function, to check, if queue is idle. Avoids reading much data from QM, because of many pending jobs BUGFIX: QM fixes and improvments fetched from master branch CHANGE: (#27138) Allow to set timeout for suspending VM during cold Citrix XenServer backup bugfix: #(27137) Backup for Citrix XenServer fall back to standard snapshot if quiesce snapshot returns error MESSAGE_REMOVED BUGFIX: (#26841) Add log on as service right to given user if user of sesam service is changed e.g. during installation with a special user. bugfix: (#27130) - Windows - refactored handles bugfix: (#27130) - windows handle not initialized warning bugfix: (#27130) - windows pipe handles were not closed correctly BUGFIX: (#27129) Restore of Exchange database ends with 'Empty Saveset' error. Solution: If mailbox database is selected in the Mailbox view then restore whole mailbox database BUGFIX: (#27141) Active connections for sm_sshd are not reset, so at some point the limit of 256 is reached and then only 'maximum connections reached. Problem: Additional check for running process may cause infinite thread. Solution: Remove any additional stuff BUGFIX: (#27123) Oracle Restore Validate with more then 64 Pieces failed. Problem: When using HTTP interface the session was not released in BSATerminate(). Solution: Release XBSA and SOB session. bugfix: (#27116) VMware restore fails on Windows data mover for unknown reason. Problem: Since commit 7d9bd2b DB_Close start return int, which is not parsed correctly. Solution: Keep return BOOL as it was before BUGFIX: (#17924) Exclude with umlaut in exclude list for Windows doesn't work. Problem: If exclude list is given with a file beginning with BOM then first pattern is corrupt. Solution: Use ReadSourceFromHandle() function which is used for include list file and handles BOM encoding properly bugfix: (#27052) Authentation logs of STPD are not been deleted on Windows, but on Linux. Problem: Log file handler still open. Solution: Close all file handles before file remove BUGFIX: (#26484) Domino backup will stop if the last item is excluded. Solution: Process item thread must call WakeConditionVariable() in case of excluded items too BUGFIX: (#17924) Exclude with umlaut in exclude list for Windows doesn't work. Solution: Exclude uses UTF-8 therefor pattern must be converted to UTF-8 if not yet given with UTF_8 encoding. Implemented for -x {exclude} and -X {exclude_file} BUGFIX: Media readcheck: Avoid SQL error during 'select from result_lbls' becaus of missing cast to integer NEW: (#27098) Citrix Xen: Set system encoding to UTF-8, so item names with UTF characters can been shown without causing Python encoding exception BUGFIX: (#27109) sm_sshd main process consumes 100% CPU during command execution. Problem: To many attempts to read from queue cause high CPU usage. Solution: Read from queue using 15 sec timeout to decrease CPU load new: changed version number from 4.4.3.76 to 4.4.3.77. BUGFIX: (#26474) Kopano backup: Correct parsing of folder names including comma (',') BUGFIX: (#26474) Kopano backup: Replace all double quotes by underscore in mail subjects to avoid problems duing parsing in restore wizzard CHANGE: SAP Hana: Set exit code for backup to '2', if sbc has been killed bugfix: (#26852): Optimize read in common 'popen' function - read using fgets and read bigger chunks - introduce iPIPE_READ2 and optimise only i_PIPE_OPEN_CMD BUGFIX: (#26101) Notes backup does not consider 'tmp_dir' in section [SBC_NOTES] from sm.ini. Solution: New installation will not create this obsolete entry. Note: The temporary SEP sesam path is given with 'gv_rw_tmp' in [PATHES] section in the sm.ini file. BUGFIX (#27028) - Parallel Hyper-V backups not possible. Now it's possible with option -a "force_unlock" but it's done just as workaround. The main focus is "HYPER-V RCT" solution. CHANGE: (#19488) Lotus Notes INC must backup all transaction logs with mode Archive and Active, also the transaction control file (nlogctrl.lfh). SOlution: Add LOGCTRL file nlogctrl.lfh to backup items BUGFIX: (#22891) Notes backup of Transaction logs must not perform NSFDoneArchivingLog if backup failed. Solution: Create list of processed transaction logs and call NSFDoneArchivingLog() in DB_CloseOperation() only in case of STATUS==0 bugfix: (#26531) Domino backup: sbc occupies more and more memory when processing many excludes. Problem: The DB_ItemFinishStatus() must not be called for following item otherwise the LL_CurrentItemListlist in sbc_lotus_notes sbcln.c may be out of sync BUGFIX: (#26988) Update of a client by GUI does not work. Problem: BSR uninstall key was not set in the right file during kit build. Solution: Set BSR uninstall key in the sm_execute_update.cmd of the src\skel folder during kit build. BUGFIX: (#24792) Inserted an additional key to the reboot required check (HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending). Also the key to detect PendingFileRenameOperations is checked and printed to the log file but not evaluated. bugfix: (#23022) - A clustered VM is in state "not clustered" after restore with rename NEW: (#26859) Restore of SAP Hana LOG backups: Check backup level in Sesam DB and do not start parallel restores, if level is 'I' (incr=LOG) BUGFIX: (#26505) Cancelling a running Domino backup via Sesam GUI leads to a crash of the Domino server. Solution: If sbc is aborted after already retrieving last item (SBC_BCK_NO_MORE_ITEMS) then the MTF end-of-set padding block 'ESPB' writting failed. Now ESPB is not written in this case. BUGFIX: (#23851) - Since the last Windows 10 update, the system state restore fails to set standard attributes for Windows defender files