I have a script which runs as a Windows task scheduler 30 mins before the start of a Full backup job to create a snapshot of a CIFs share on our IBM N series filer.
See below my script (it uses PLINK.exe):
plink -ssh -l username -pw password baystorm snap delete BAYSTORMServer SatFull
plink -ssh -l username -pw password baystorm snap create BAYSTORMServer SatFull
The snapshot is then backed up as a Full backup job via a NetBackup v6.5.3 client.
I then delete the snapshot after a successful completion of the backup.
I need some help to incorporate my script within the NetBackup Pre/Post script to automate the process of creating the snapshot, the backup the snapshot and then delete it after it has successfully completed.