Data Backup and Recovery

Snap Creator MaxDb Scripts

NAYABSK
7,930 Views

Hi All,

I am trying to configure snap creator for my SAP systems and stuck up at the pre and post scripts , Can anybody help with this i am using Snap Creator 4.0

Thanks,

Nayab

1 ACCEPTED SOLUTION

ktenzer
7,928 Views

Wll inside the config file you will see PRE_* and POST_* commands. If you want to run commands on server you set SERVER: <cmd> and if you want to run commands on agent you set AGENT: <cmd>.

For example run command "echo test" on server as post ntap command:

POST_NTAP_CMD01=SERVER: echo test

on agent

POST_NTAP_CMD01=AGENT: echo test

If you are running commands on agent you also need to edit the scAgent4.0.0/etc/agent.conf file and add permission to execute commands:

command: * - this will allow all commands, not so secure

command: echo test - this will allow the echo test command

You can have multiple commands each specified using command: <cmd>

The only other thing is set all PRE_* and POST_* commands to "echo test" to see where they run within workflow, then you can decide which ones work best for what you are trying to do.

This is documented in IAG (admin guide) and requires playing around with so make sure you have the time to get into this. Most of all have patience and experiement

Good luck!

Regards,

Keith

View solution in original post

15 REPLIES 15
Public