Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 396
  • Last Modified:

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

0
decioracy
Asked:
decioracy
  • 7
  • 4
1 Solution
 
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:
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:
-filename "c:\bkp\site.bak"
0
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!

 
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

  • 7
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now