I'm trying to backup my sql databases to a new mapped network drive and it is not seeing the drive. I am trying to run the following command, but it is getting an error.
exec xp_cmdshell 'net use Z: "\\WDMYCLOUDEX4\SQL Backups"'
Is there something I am putting in wrong?
The backup drive is mapped to Z:
SQL server 2008.