backup script, xcopy command not working
This sort of off-topic. I'm writing a script to backup OpManager every night. Here's what I have so far:
______________________________________________________________
cd C:\Program Files\AdventNet\ME\OpManager\bin\backup
call backupdb.bat /sh
xcopy C:\Program Files\AdventNet\ME\OpManager\backup\*.* z: /d /z /y
_______________________________________________________________
The first two lines work fine, but the last line does not. It's supposed to copy the contents of the backup folder on the server to a network location. I don't understand why because this command syntax works in another script I wrote to back up ServiceDesk. I've tried spelling out the file path rather than z:. Does anyone have any ideas?
New to ADSelfService Plus?