Solved

restore sharepoint 3 from one server to another server

Posted on 2011-03-02
11
361 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
 

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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Issue with SharePoint Annoymous Access 7 26
Sharepoint 2013 - Bulk Add Users 6 51
Sharepoint KB 2 64
SharePoint List Calculated Field 4 22
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…
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

896 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

11 Experts available now in Live!

Get 1:1 Help Now