how to trigger a script from NBU admin console
HI,
We have a written a script in the client that does the following:
- search for 60 days old files; copy to backup directory; trigger backup
Other than i schedule this the client's cron; can i call the same script in NBU?
Backup Selection > script.sh
Please advise, thanks.
You can execute scripts on the client by calling them with bpstart_notify. When a backup runs it will look for the bpstart_notify file. If it finds it, it will execute it before the backup runs.
What you could do is setup the folder that you'd like to backup as the backup selection, and use bpstart_notify to copy the files you want into this folder before backing it up.
Below are windows/unix style instructions.
https://www.veritas.com/support/en_US/doc/24437881-126559615-0/v41507330-126559615
https://www.veritas.com/support/en_US/doc/24437881-126559615-0/v41507383-126559615