SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Database Backup to a different Server
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

hissein
Starting Member

Malaysia
5 Posts

Posted - 08/02/2012 :  22:56:46  Show Profile  Reply with Quote
Hey guys,

Im new in SQL server, Need you advise on SQL script to do a full database backup to a different server where the database is saved. for example:

Database Server IP Address = "10.1.2.1"
Destination Server IP Address = "10.1.2.34"

Can the saving be done on in C drive folder? does it reques any form of authentication?

Thanks

jeffw8713
Aged Yak Warrior

USA
696 Posts

Posted - 08/03/2012 :  13:56:31  Show Profile  Reply with Quote
The service account running SQL Server on the source system will need access to a shared folder on the destination system. Once that is set up, you can use the UNC path in the backup:

BACKUP DATABASE {database} DISK='\\uncpath\share\folder\backup_file.bak';

Note: backing up across the network can be problematic and may fail if the network has any latency. It is generally a better method to backup locally and copy the file to the other server.
Go to Top of Page

hissein
Starting Member

Malaysia
5 Posts

Posted - 08/05/2012 :  21:27:29  Show Profile  Reply with Quote
Thanks for your reply.

What are the steps i can perform from SQL server to create Shared folder?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000