|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Backup database
Hi,
I want to backup my MSSQL database using a script, but here lies the problem: The MSSQL is on its own dedicated server seperated from the dedicated WebServer. I tried to run a script with this sql command: Code:
BACKUP DATABASE <dbname> TO DISK = 'drive:\path\to\file\filename' But, of course, this won't work because the script will try to write on the MS SQL server instead of where the WebServer where my account is. Is there anyway I can do this? I just want to have the backup saved on the folders in my account in the WebServer instead of the MSSQL server. Thanks in advance!
__________________
Scatt-Neko |
|
#2
|
||||
|
||||
|
If you have access to both the webserver and sqlserver, you could share a folder out on the webserver and map a drive on the sql server to that share.....
|
|
#3
|
|||
|
|||
|
Quote:
The thing is... I don't So, I am hoping I can do all this using a script. |
|
#4
|
|||
|
|||
|
Hi,Scatt-Neko!If u have not db master's privilege to control db,u wouldn't run this sql script on the db server..Although u have a account on the web server,u can't control the db..It's my mind..
__________________
Being a Code Headman !
|
|
#5
|
||||
|
||||
|
You could probably create a DTS package to run the backup and then FTP it to your webserver.....
|
|
#6
|
|||
|
|||
|
Quote:
Hi,punkisdead!I'm a newer to ms sql server manage.Can u tell me hwo to create DTS package for backup? ![]() |
|
#7
|
|||
|
|||
|
Ok,I find this introduce about it on microsoft msdn site:http://msdn.microsoft.com/library/d...pkgmng_7uat.asp
And How to use it as backup tools-DTS Import/Export Wizard:http://msdn.microsoft.com/library/d...ls_wiz_8vsj.asp |
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > Backup database |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|