Forum Discussion
We're trying to automate the snapshot using the pre-post command here's the script that we used --> c:\Putty\plink.exe -ssh (user@netapphostIP) "snap create VOL_test VOL_test-snap" not really sure if plink can recognize by backup exec to ssh on netapp device.
Running the script manually on backup exec server work fine but when we add the script to pre command it doesn't work.
- Riyaj_S8 years agoModerator
Copy the command which you want to run in a .bat file.
( see this page for more details on how to create .bat file : http://gobruen.com/progs/dos_batch/dos_batch.html )
Once created, call this .bat file in pre-post command. for e.g. - "C:\prejob.bat" (check screenshot from following technote)
- no_name18 years agoLevel 5
Already save the script as bat file but still doesn't work..
So just want to clarify, where should be the bat file save is it on media server or in netapp device?
our goal is to create snapshot using pre command then after that BE will backup to tape the snapshot. Once backup to tape completed it will automatically delete the snapshot using the post command.
- Riyaj_S8 years agoModerator
There is one option called "Run these commands" in pre-post commands : you should choose "on this Media Server" and save the script on the local disk. Specify the same path in the job.
e.g. "c:\prejob.bat"
Related Content
- 4 months ago
- 10 months ago
- 13 years ago