Solved

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

Posted on 2013-11-25
6
793 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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This very simple solution applies to a narrow cross-section of the "needs to close" variety. In this case, the full message in Event Viewer was in applog, Event ID 1000: Faulting application iexplore.exe, version 8.0.6001.18702, faulting module …
This collection of functions covers all the normal rounding methods of just about any numeric value.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

707 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

16 Experts available now in Live!

Get 1:1 Help Now