Re: automatic sql server backup to networked machine
From: Hari Prasad (hari_prasad_k_at_hotmail.com)
Date: 07/09/04
- Next message: Jim Abel: "Jobs stop processing without errors"
- Previous message: Hari Prasad: "Re: automatic sql server backup to networked machine"
- In reply to: Dhruv: "automatic sql server backup to networked machine"
- Next in thread: Geoff N. Hiten: "Re: automatic sql server backup to networked machine"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 9 Jul 2004 22:31:40 +0530
Hi,
Enterprise manager will only show the local disks not the mapped drives.
There are Few Pre requisites to do backup remotely;
1. You Should start SQL server using Domain user who got access to remote
machine Share
2. Should have share in the remote machine
3. If you need to schedule this as a job then SQL Agent should use the same
Domain user in which SQL server was started
4. Restart the services
Now you can execute the Backup script with UNC path
BACKUP Database <dbname> to disk='\\computername\sharename\dbname.bak' with
init
Note:
Backup to remote machine will not work if you start SQL server using Local
system account
How to schedule
-----------------
Enterprise Manager - Management -- SQL Agent -- Jobs -- Right click and
create new job. Give a name to the Job and in Job step mention this above
backup script and schedule the job to be executed based on requirement
Thanks
Hari
MCDBA
"Dhruv" <dmalhotr2001@yahoo.com> wrote in message
news:b6d0b0b.0407090855.43690994@posting.google.com...
> Hi,
>
> I am currently backing up to my machine on my localbox of the database
> I want with enterprise manager.
>
> I would like to do an automatic backup of my database running on a
> schedule on a networked shared/remote machine?
>
> How do I do that?
>
> Thanks,
>
> :DHRUV
- Next message: Jim Abel: "Jobs stop processing without errors"
- Previous message: Hari Prasad: "Re: automatic sql server backup to networked machine"
- In reply to: Dhruv: "automatic sql server backup to networked machine"
- Next in thread: Geoff N. Hiten: "Re: automatic sql server backup to networked machine"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|