db sync

  • Hi Experts,

    I need to automate task to sync db from server1 to server2. The process we manually do is backup from server1.db1 to a share folder in server2 and then restore server2.db1 from that backup in shared location.

    The problem i face when automate job is to take backup of server1.db1 from server2.

    Is it possible if i create a linked server of server1 in server 2 ?

    Please help

    TIA

  • I would absolutely waive off on linked servers. What is the second server used for? Maybe log-shipping?

    CEWII

  • Is it Replication??

    Regards
    Sushant Kumar
    MCTS,MCP

  • I don't quite understand the problem. You can automate all the steps.

    I did something similar a while back with 2 sql servers on different domains.

  • Thanks all for the response

    Not replication and log shipping..

    Month end task to sync databases on server2 with server1.

    I am able to do via linked server by creating job that will backup server1.db to a shared location on server2 and restore from there..

    Is there any better way to achieve this?? what about a snapshot replication??

  • I don't see a linked server being necessary at all.

    If the requirement is a once a month sync then a restore is probably the simplest. The other options are better for more current data.

    CEWII

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply