Solved

reason: The system cannot find the file specified

Posted on 2009-06-30
2
636 Views
Last Modified: 2012-05-11
I Created job in sql server 2005 for get backup form netbackup

if i run this from command prompt it works fine.
but same command run from sql server agent server (SQL server job) it giving error.

Command used in sql server job step :

exec master.dbo.xp_cmdshell '"\\RWC-VDBK01\C$\Program Files\Veritas\NetBackup\bin\dbbackex"  
-f \\RWC-VDBK01\N$\NetBackup\Admin_NB_Full.bch -p bkup_RWC-VDBK01-DB01_Admin_Full -np'

Error getting
reason: The system cannot find the file specified)

Please any body give proper command to run backup from netbackup by using sql server job.

Thanks
Rafeeque
0
Comment
Question by:info2rafiq
2 Comments
 
LVL 68

Accepted Solution

by:
Qlemo earned 500 total points
ID: 24752832
The SQL Agent has no network access. You have to change the service account to domain or other named account with access to the share, and that should do.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to shrink a transaction log file down to a reasonable size.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now