restore sharepoint 3 from one server to another server

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

decioracyAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Justin SmithConnect With a Mentor Sr. System EngineerCommented:
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
 
Justin SmithSr. System EngineerCommented:
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
 
Justin SmithSr. System EngineerCommented:
-filename "c:\bkp\site.bak"
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
decioracyAuthor Commented:
When I use -filename "c:\bkp\site.bak" the site,bak is very small ....
0
 
Justin SmithSr. System EngineerCommented:
Ok?

0
 
decioracyAuthor Commented:
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
 
decioracyAuthor Commented:
Hi, ACH1LLES

Do you have another tip ?
0
 
Justin SmithSr. System EngineerCommented:
0
 
decioracyAuthor Commented:
ACH1LLES,

Could you please be more specific ?

0
 
Justin SmithSr. System EngineerCommented:
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
 
Justin SmithSr. System EngineerCommented:
update please.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.