Re: SQL Backup and Restore

From: lwood (lwood_at_discussions.microsoft.com)
Date: 01/06/05


Date: Wed, 5 Jan 2005 22:13:02 -0800

Keith,

the remote restore works great from query analyzer, but when i try to run it
from a job it appears to receive a login failure. I have tried all ID's in
the list but it will not run. Any ideas on how to setup the access in the job
to run appropriately. The job failed initially thru query analyzer until I
modified the authentication on the linked server?
Thanks Again for all of your help!!

Lisa

"Keith Kratochvil" wrote:

> Yes, it is easy if the file name does not change.
>
> You could create a job on your remote server that issues the restore
> command. When the backup job on the primary server is complete you can add
> one more step to your backup job on the primary server that looks something
> like this:
>
> exec TheRemoteLinkedServerName.msdb.dbo.sp_start_job @job_name = 'Name of
> the restore job goes here', @server_name = 'the remote server name goes
> here'
>
> --
> Keith
>
>
> "lwood" <lwood@discussions.microsoft.com> wrote in message
> news:82842BE8-EAFD-4EEB-A5B6-828F6885416C@microsoft.com...
> > I would like to backup my SQL db every night copy to a remote server and
> > restore it nightly. I have not been able to locate information on how to
> > automate the restore. I currently have an automated backup copied to the
> > second server but am manually restoring the file. Would it be easiest if
> the
> > filename to backup to remained the same each day? Currently the backups
> > default to db name date and time. Any help is greatly appreciated!
>
>



Relevant Pages

  • Problems restoring Exchange database
    ... I'm attempting some D&R practice runs using SBS 2003 and VMWare server, ... I'm utilizing two methods of backup, one is the built-in SBS backup wizard ... Exchange mailbox store, the system state, and the companyweb databases. ... Few hours later, restore complete, reboot server, ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS two adapter setup with Netopia Router. Help Save my weeked
    ... >> When you click OK on this message, the server restarts. ... >> are not able to start the server or restore the system state from backup. ...
    (microsoft.public.windows.server.sbs)
  • Re: Thoughts - bare metal disaster recovery
    ... Bare metal restore to recovery server following the latest SBS2003 Backup ... Les Connor [SBS Community Member - SBS MVP] ...
    (microsoft.public.windows.server.sbs)
  • Re: Thoughts - bare metal disaster recovery
    ... Bare metal restore to recovery server following the latest SBS2003 Backup ... Les Connor [SBS Community Member - SBS MVP] ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS two adapter setup with Netopia Router. Help Save my weeked
    ... > posting to the SBS Newsgroup. ... > When you click OK on this message, the server restarts. ... > are not able to start the server or restore the system state from backup. ...
    (microsoft.public.windows.server.sbs)

Loading