Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Zipping file which is on remote machine

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-01-15 : 07:38:28
deeps writes "Hello

i am taking backup of database which is on remote machine(Web server and i am not super user ). As size of backup file is large i want to zip tht file . for this i am using xp_cmdshell ... proc . but tht remote machine is not giving me accesss to use xp_cmdshell ... proc
how do i use this ?


Dipti"

SamC
White Water Yakist

3467 Posts

Posted - 2004-01-15 : 08:30:02
Sounds like a permissions problem with the username.
Go to Top of Page

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2004-01-15 : 20:21:26
Yep
Make sure that the account that your SQL server is running under has write permissions on the destination machine.


Damian
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2004-01-15 : 20:38:53
If this is through a job, then the account that the SQLSERVERAGENT uses needs permission to the remote machine to write the file. If you are doing this outside of a job, then the person logged into the machine running the commands must have write permissions on the remote machine.

Tara
Go to Top of Page
   

- Advertisement -