Solved

restore sharepoint 3 from one server to another server

Posted on 2011-03-02
11
349 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
Comment Utility
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
Comment Utility
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
Comment Utility
-filename "c:\bkp\site.bak"
0
 

Author Comment

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

Expert Comment

by:Justin Smith
Comment Utility
Ok?

0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:decioracy
Comment Utility
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
Comment Utility
Hi, ACH1LLES

Do you have another tip ?
0
 
LVL 38

Expert Comment

by:Justin Smith
Comment Utility
0
 

Author Comment

by:decioracy
Comment Utility
ACH1LLES,

Could you please be more specific ?

0
 
LVL 38

Expert Comment

by:Justin Smith
Comment Utility
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
Comment Utility
update please.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 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

10 Experts available now in Live!

Get 1:1 Help Now