Results 1 to 3 of 3

Thread: Need help to backup database on remote server using Transact SQL

  1. #1
    Join Date
    May 2009
    Posts
    43

    Need help to backup database on remote server using Transact SQL

    Hi,

    I want to backup my database using Transact-Sql Backup. Can anyone advise on this. I have tried I tried back up of my database to an Alternative Server but it fails, Why is this Query Failing ? Transact SQL query would be better to maintain. even backup to remote for now would be perfect.

    Thanks

  2. #2
    Join Date
    Apr 2008
    Posts
    3,424

    Re: Need help to backup database on remote server using Transact SQL

    Hey,
    You can use xp_cmdshell in a stored process or sql script, that will run the bcp and filecopy. if you want to backup database its not possible by running a backup command on the remote server that specifies a file that is across the network. you can use command line utility bcp to output the data to a file, and then copy the file across the wire.

  3. #3
    Join Date
    Jan 2006
    Posts
    3,792

    Re: Need help to backup database on remote server using Transact SQL

    You can try this http://doc.ddart.net/mssql/sql70/ba-bz.htm. This should help you to backup it up to a remote computer without any problem. Note: Backups created with Microsoft SQL Server version 7.0 cannot be restored in earlier versions of SQL Server.

Similar Threads

  1. Replies: 5
    Last Post: 19-04-2011, 10:37 PM
  2. How to remote connections by MySQL database server
    By Arumugan in forum Software Development
    Replies: 4
    Last Post: 13-02-2010, 01:50 AM
  3. Load SQLite database from remote SQL Server
    By Kieran Blenkarne in forum Software Development
    Replies: 3
    Last Post: 21-11-2009, 11:12 AM
  4. How to backup the database from Apple Remote Desktop 2
    By OS-X-10+ in forum Windows Software
    Replies: 3
    Last Post: 16-10-2009, 10:40 PM
  5. Create cursor in SQL server via transact SQL
    By In2TheBlues in forum Software Development
    Replies: 3
    Last Post: 10-06-2009, 12:59 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,926,463.39376 seconds with 17 queries