Solved

restore sharepoint 3 from one server to another server

Posted on 2011-03-02
11
374 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sharrepoint 2010 DB size 2 45
Error while setting up the Server Farm Account 8 42
Sharepoint 2013 Library List View Limitations 9 61
Sharepoint document already opened 2 40
I have just recently built a new SharePoint 2007 farm on a complete Windows 2008 R2 server platform and part of my standard build procedure is to implement a warm up routine, usually in the form of a script that is scheduled every morning to launch …
Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

837 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