Solved

SharePoint restore with stsadm -Access to the path XXXXX is denied

Posted on 2013-11-25
6
815 Views
Last Modified: 2013-12-02
I am trying to do a restore and keep getting the error:
I am
I am trying to restore our site to a subsite of our site.
site https://mysite.com
restore site https://mysite.com/restore
when I do i get the following error

SharePoint restore with stsadm -Access to the path XXXXX is denied

The command I use is:
c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm -o restore -url https://mysite.com/restore -filename E:\SharePointBackup\spbr0000 -Overwrite

I can run the backup as myself and it will create the folder

c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm -o backup -directory "E:\SharePointBackup" -backupmethod full

E:\SharePointBackup\spbr000

I have verified that all the *Files are not Read-Only
I have gone into Central Administration > Application Management > Site collectin administrators> and added myself as the secondary site colleciton administrator.

I am running this on the server that the site is on
0
Comment
Question by:knightdogs
  • 3
  • 2
6 Comments
 
LVL 8

Expert Comment

by:vaderj
ID: 39675723
When you open your command prompt, can you Run as Administrator?
0
 

Author Comment

by:knightdogs
ID: 39675834
vaderj,
I am a domain administrator and I also tried to run it as spadmin account.
0
 
LVL 8

Expert Comment

by:vaderj
ID: 39675864
Is this Server 03 or Server 08?

If its 08, please open a powershell prompt, type the following:

start-process powershell -verb runas

Open in new window


and then attempt your STSADM command again.


If it is 03, I guess my next attempt would be somthing like a content deployment job from your test farm to prod
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:knightdogs
ID: 39675926
vaderj,

It is Windows 2003.
0
 
LVL 8

Expert Comment

by:vaderj
ID: 39675964
Have you created, in Central Admin, an Explicit Inclusion Managed Path for this specific site collection?
I just realized that you are trying to backup / restore on the same farm - since, with STSADM, you can only backup a Site Collection, and you cannot create a Site Collection within another Site Collection (vs a subsite / subweb), you will need to specifically specify a separate location for the new site collection to be created
0
 
LVL 8

Accepted Solution

by:
sandipkharde earned 500 total points
ID: 39676033
i had similar problem 2-3 year back when i was using 2007 ,  i created shared folder same location where current backup folder is created and used shared fodlerpath during restoring backup, you can try.so it will becaome E:\SharePointBackup =  \\machine name\SharePointBackup
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now