Linux ih01.iridiumhosting.com 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
LiteSpeed
Server IP : 67.227.241.211 & Your IP : 216.73.217.87
Domains :
Cant Read [ /etc/named.conf ]
User : dustinhy
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
MXB /
rear /
usr /
share /
rear /
verify /
TSM /
default /
Delete
Unzip
Name
Size
Permission
Date
Action
389_check_TSM_connection.sh
1.51
KB
-rw-r--r--
2026-04-01 09:39
390_request_point_in_time_restore_parameters.sh
2.27
KB
-rw-r--r--
2026-04-01 09:39
400_verify_tsm.sh
4.85
KB
-rw-r--r--
2026-04-01 09:39
Save
Rename
# Test connection to the TSM server. # # Additionally this requests a general TSM password from the user # when there is no TSM password file 'TSM.PWD' in the recovery system # cf. https://github.com/rear/rear/issues/1642 # but it does not request possibly further TSM passwords from the user # like passwords for encryption or decryption of files, cf. # https://github.com/rear/rear/issues/1534#issuecomment-351313623 # # Regarding usage of '0<&6 1>&7 2>&8' see # "What to do with stdin, stdout, and stderr" # in https://github.com/rear/rear/wiki/Coding-Style # # Test with "dsmc query session" (it is faster than e.g. "dsmc query mgmt") # and it is also enough for the prompt of the general TSM password, cf. # https://github.com/rear/rear/issues/1534#issuecomment-351067465 LogUserOutput "Testing connection to TSM server" dsmc query session 0<&6 1>&7 2>&8 local dsmc_exit_code=$? # When 'dsmc query session' results a non-zero exit code inform the user but do not abort the whole "rear recover" here # because it could be an unimportant reason why 'dsmc query session' finished with a non-zero exit code. # What usual exit codes mean see http://publib.boulder.ibm.com/tividd/td/TSMC/GC32-0787-04/en_US/HTML/ans10000117.htm # and see the code in usr/share/rear/restore/TSM/default/400_restore_with_tsm.sh if test $dsmc_exit_code -eq 0 ; then LogUserOutput "Testing connection to TSM server completed successfully" else LogUserOutput "Testing connection to TSM server completed with 'dsmc query session' exit code $dsmc_exit_code" fi