DTS Package

  • How do I, create a DTS package to backup a database on Server A, copy the file to Server B and restore the database on Server B?

    Thanks in advance.

  • Please clarify which SQL Server version you're working with - 2000 or 2005. My suggestion would be different for each.

    Greg

    Greg

  • Thanks Greg.

    I managed to create the DTS package.

  • You need to create a connection on Server A, then perform the backup using this connection.

    An ActiveX task is needed to perform the copy. The FileSystemObject in VBScript is probably the easiest way to accomplish this. You can find examples around, here's one

    http://www.sqldts.com/292.aspx

    Then you need a connection on Server B to execute the restore with. When you do the copy, I'd copy to the same file name on Server B everyeim, which makes this easier.

  • Thanks Steve.

    I did not use an ActiveX Script, however, based on the example in the link that you specified, I will now do so.

    Thanks again.

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

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