Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

archive_stage and archive_stage_repeat to different NSR_POOLs

Hello,

we are using networker for our maxdb backups. At the moment archive_stage is called

via scripts twice:

dbmcli -d TQ2 -U c -uUTL -c archive_stage NSRLOG Autolog NOVERIFY KEEP

dbmcli -d TQ2 -U c -uUTL -c archive_stage NSRLOG Autolog NOVERIFY

The 2 dbmcli-calls run with different env-Files where different NSR_POOLs are specified.

This can be done with setting the environment-Variable NSR_ENV to different files.

This solution has a drawback. In the second call, autolog-files are saved, which were

not saved in the first call. Our LiveCache-OneDB-Server-System generates a lot

of autolog-files.

So, I wanted to use archive_stage and archive_stage_repeat. But this only works

within one dbmcli-session. Within a dbmcli-Session is it not possible to change

the OS-Environment in order to the switch the NSR_ENV-File.

We have to save the autolog-Files twice and to differnt NSR_POOLs.

Does anybody know, how to manage this?

Regards

Thomas

Not what you were looking for? View more on this topic or Ask a question