?
Solved

reason: The system cannot find the file specified

Posted on 2009-06-30
2
Medium Priority
?
649 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 70

Accepted Solution

by:
Qlemo earned 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
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 backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

762 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