Solved

restore sharepoint 3 from one server to another server

Posted on 2011-03-02
11
369 Views
Last Modified: 2012-05-11
Hi,

My sharepoint in server A is http://server_A:4596

I ran from the Server_A:
stsadm.exe -o backup -url http://server_A -directory c:\bkp -backupmethod full

When I try to restore it on Server_B:
stsadm.exe -o restore -directory c:\backup -restoremethod overwrite

I receive an error  WSS_Content in event  OnPostRestore.

Did a miss a step ?

Thank you

Racy

0
Comment
Question by:decioracy
  • 7
  • 4
11 Comments
 
LVL 38

Expert Comment

by:Justin Smith
ID: 35023765
1. You need to specifiy a file name in the -directory switch.  C:\bkp\site.bak
2. You need to copy the .bak file to the destination server
3. On the restore command, you need to specify the file name and the -URL switch.
0
 
LVL 38

Accepted Solution

by:
Justin Smith earned 500 total points
ID: 35023770
Sorry, forget the above.  Since you are doing a SITE backup, use the following format:

stsadm -o backup

   -url <URL name>

   -filename <file name>


Same with restore, just change to -o restore.
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 35023771
-filename "c:\bkp\site.bak"
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:decioracy
ID: 35038106
When I use -filename "c:\bkp\site.bak" the site,bak is very small ....
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 35038119
Ok?

0
 

Author Comment

by:decioracy
ID: 35040015
No, it is wrong .... when I use -directory it is over 3 GB .... and when I use -filename it is around to 15 KB
0
 

Author Comment

by:decioracy
ID: 35097976
Hi, ACH1LLES

Do you have another tip ?
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 35098013
0
 

Author Comment

by:decioracy
ID: 35100345
ACH1LLES,

Could you please be more specific ?

0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 35100371
I posted the link so you would use the correct format of the command. It seems like you are guessing. I didn't understand your last post about using directory and filename switches.
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 35242847
update please.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
onenote 2016 sync 40 238
SharePoint 2010 Errors on SBS2011 8 61
Sharepoint 2013 error 4 54
SharePoint Installation Error - WDSRV.MSI file not found 5 44
When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

810 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