Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

restore sharepoint 3 from one server to another server

Posted on 2011-03-02
11
Medium Priority
?
394 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 2000 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
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

886 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