create table [pubs].[dbo].[test3](
[counter][CHAR](128)NULL
) on [PRIMARY]
そして、ここに対して、1分おきにunixtimeで時刻を追加していく、というもの
下記はとりあえず40分実行するサンプル
declare @i int
declare @date numeric
set @i = 1
while @i < 40
begin
SELECT @date = DATEDIFF(s,'1970/1/1', GETUTCDATE() );
insert into [pubs].[dbo].[test3](counter)values (@date);
set @i = @i + 1
waitfor delay '00:01:00'
end
C:\Windows\system32>"\Program Files\Veritas\NetBackup\bin\goodies\nbcomponentupdate.exe" -Product NetBackup -component jre -path "c:\Program Files\Java\jre1.8.0_171"
Command line: C:\Program Files\Veritas\NetBackup\bin\goodies\nbcomponentupdate.exe -Product NetBackup -component jre -path c:\Program Files\Java\jre1.8.0_171
Java Runtime Envrionment(JRE) version installed with product 'Veritas NetBackup' : 1.8.0_101 (64bit)
Java Runtime Envrionment(JRE) version found at path 'c:\Program Files\Java\jre1.8.0_171' : 1.8.0_171 (64bit)
This utility will update the Java Runtime Envrionment(JRE) binaries present at 'C:\Program Files\Veritas\NetBackup\jre' path
This utility may start and stop all (or some) services depending upon the present state of services.
Do you want to continue (Y[es]/N[o]): y
Performing upgrade steps ...
[1/4] Pre-installation step is in progress
[1/4] Pre-installation step is completed successfully
[2/4] Installation step is in progress
[2/4] Installation step is completed successfully
[3/4] Post-installation step is in progress
[3/4] Post-installation step is completed successfully
[4/4] Commit and Cleanup step is in progress
[4/4] Commit and Cleanup step is completed successfully
After upgrading, Java Runtime Envrionment(JRE) version installed with product 'Veritas NetBackup' : 1.8.0_171 (64bit)
Successfully upgraded Java Runtime Envrionment(JRE) for Veritas NetBackup.
The log file generated for this operation is C:\Users\ADMINI~1\AppData\Local\Temp\2\logs\nbcomponentupdate\nbcomponentupdate_20-06-2018_17.17.37.log
C:\Windows\system32>
なお、NetBackupサービスはバージョンによっては自動的に起動されたりするようだ。
自働起動しなかった場合は「bpup」を実行して起動する
6. Javaのバージョンを確認する
C:\Windows\system32>"\Program Files\Veritas\NetBackup\jre\bin\java.exe" -version
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
C:\Windows\system32>
7. 更新完了
2021/04/26追記
Oracle JRE 1.8.0u291にアップデートをかけてみたところ、NetBackup Web Management Consoleが起動できなくなるという問題が発生しました。