Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
SQL
ce
clients
clustering
connect
datamining
datawarehouse
dts
fulltext
jdbcdriver
msde
mseq
newusers
notificationsvcs
odbc
olap
programming
replication
reportingsvcs
security
securitytools
server
setup
sqlxml.viewmapper
tools
xml
  
 
date: Fri, 20 Jun 2008 02:22:09 -0700 (PDT),    group: microsoft.public.sqlserver.msde        back       


osql to unc path   
Hi,

If i try to backup to a UNC path it fails but if i try local it works,
any idea ?

for example, this works ok :

backup database model to disk = 'C:\Backup\DailyDatabaseBackups
\live.bak'
go

this fails :

backup database model to disk = '\\myserver\DailyDatabaseBackups
\live.bak'
go


Thanks
Duncan
date: Fri, 20 Jun 2008 02:22:09 -0700 (PDT)   author:   systemtek

Re: osql to unc path   
hi Duncan,
systemtek wrote:
> Hi,
>
> If i try to backup to a UNC path it fails but if i try local it works,
> any idea ?
>
> for example, this works ok :
>
> backup database model to disk = 'C:\Backup\DailyDatabaseBackups
> \live.bak'
> go
>
> this fails :
>
> backup database model to disk = '\\myserver\DailyDatabaseBackups
> \live.bak'
> go

it probably fails (you did not report the exceptions you are prompted with) 
becouse the account running the SQL Server service has not been granted 
adeguate permissions at Share and NTFS level on the destination folder..
-- 
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz        http://www.hotelsole.com
DbaMgr2k ver 0.21.1 - DbaMgr ver 0.65.1 and further SQL Tools
--------- remove DMO to reply
date: Fri, 20 Jun 2008 12:35:58 +0200   author:   Andrea Montanari

Re: osql to unc path   
On Jun 20, 11:35 am, "Andrea Montanari" 
wrote:
> hi Duncan,
>
>
>
>
>
> systemtek wrote:
> > Hi,
>
> > If i try to backup to a UNC path it fails but if i try local it works,
> > any idea ?
>
> > for example, this works ok :
>
> > backup database model to disk = 'C:\Backup\DailyDatabaseBackups
> > \live.bak'
> > go
>
> > this fails :
>
> > backup database model to disk = '\\myserver\DailyDatabaseBackups
> > \live.bak'
> > go
>
> it probably fails (you did not report the exceptions you are prompted with)
> becouse the account running the SQL Server service has not been granted
> adeguate permissions at Share and NTFS level on the destination folder..
> --
> Andrea Montanari (Microsoft MVP - SQL Server)http://www.asql.biz       http://www.hotelsole.com
> DbaMgr2k ver 0.21.1 - DbaMgr ver 0.65.1 and further SQL Tools
> --------- remove DMO to reply- Hide quoted text -
>
> - Show quoted text -

Sorry should have said the account used does have full access to the
given share.  I will re run and post the exact error.
date: Fri, 20 Jun 2008 03:46:07 -0700 (PDT)   author:   systemtek

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us