Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Replication (2005)
 Nightly Database Push

Author  Topic 

RyanSmith
Starting Member

8 Posts

Posted - 2008-05-20 : 16:25:43
I have a production database that I would like to have copied over to a backup database on a separate server every evening. I don't want to mirror, I just want the databases synced up every evening.

The servers are physically attached through a gigabit switch and the database is relatively small, so I don't think that speed will be an issue.

Could someone point me to an article about the best way to accomplish this?

Thanks.

http://www.dynamicajax.com

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-05-20 : 16:31:21
If speed is not a issue and database is small, you can do transactional replication. google it and you will find lots of articles.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-05-20 : 16:34:16
It's rather simple:

1. Grab latest backup file (I believe I've got a blog on this)
2. Copy file to remote server (use xcopy from xp_cmdshell)
3. Restore database from file

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Database maintenance routines:
http://weblogs.sqlteam.com/tarad/archive/2004/07/02/1705.aspx
Go to Top of Page
   

- Advertisement -