Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2013-11-25
6
Medium Priority
?
877 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 9

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 9

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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

Author Comment

by:knightdogs
ID: 39675926
vaderj,

It is Windows 2003.
0
 
LVL 9

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 2000 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

715 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