Victor Asuquo
2009-07-18 05:47:23 UTC
I run DPM for backup and I take full daily backup of protection groups
daily. This involves rotating take include previously used one. Each time I
insert a new tape, I have to run this command
ForceFree-Tape.ps1 -DPMServerName MYDPMSERVER1 -LibraryName "Hewlett Packard
LTO Ultrium-3 drive" -TapeLocationList drive-\\.\TapeXXXXXXXX
I need a way to automate this and schedule it to runn daily. I have
researched this and came up with this solution that involves calling the
powershell script from a batch file that is written like this
powershell -command "& 'C:\ForceFree-Tape.ps1'"
I have schedule this batch file now to run daily at a set time. Testing this
fails but running the script directly from DPM Management shell works fine
however.
I need a way to get this script to running daily at a specific time. I need
help and all clues will be appreciated
Thanks in Advance
daily. This involves rotating take include previously used one. Each time I
insert a new tape, I have to run this command
ForceFree-Tape.ps1 -DPMServerName MYDPMSERVER1 -LibraryName "Hewlett Packard
LTO Ultrium-3 drive" -TapeLocationList drive-\\.\TapeXXXXXXXX
I need a way to automate this and schedule it to runn daily. I have
researched this and came up with this solution that involves calling the
powershell script from a batch file that is written like this
powershell -command "& 'C:\ForceFree-Tape.ps1'"
I have schedule this batch file now to run daily at a set time. Testing this
fails but running the script directly from DPM Management shell works fine
however.
I need a way to get this script to running daily at a specific time. I need
help and all clues will be appreciated
Thanks in Advance