Matthew Lancashire wrote:
> Any one spot what I have done wrong in the script below
> I get Access denied to remote agent, even though the logon I have in the
> script is the System Account Logon that Veritas uses
>
> /* RESTORE SCRIPT */
>
> /* operations: 90 */
>
> [General]
>
> JOB_TYPE=Restore
>
> JOB_NAME=Scripted Restore SOP2 Log
>
> SERVER=VERITASSERVER
>
> USERNAME=DOMAIN\USER
>
> PASSWORD=PASSWORD
>
> JOB_PRIORITY=HIGHEST
>
> [Restore_Options]
>
> /*Device*/
>
> DEVICE_NAME=NTSYSDEV
>
> /*SQL Redirection*/
>
> SQL_REDIRECT_SERVER=TARGETSERVERNAME
>
> SQL_REDIRECT_SERVER_ACCOUNT=DOMAIN\USER
>
> //SQL_REDIRECT_ACCOUNT=
>
> /*SQL*/
>
> SQL_DATABASE_RECOVER=2
>
> SQL_REPLACE_DATABASE=NO
>
> SQL_AUTOMASTER=NO
>
> SQL_POSTRESTORE_DBCC=0
>
> SQL_USE_DEFAULT_INSTDIR=YES
>
> [Selections]
>
> JOBHISTORY_GUID={2617B28F-F3DA-440F-82AC-464390B3D519}
>
> [Schedule]
>
> RUN_IMMEDIATE=YES
>
>


If you try the same backup through the GUI with no attach as info, does
it run?

Local System account will not have any rights on remote machines. If
you create a service account and give that account rights on all target
machines, it should work