4

I would like to be able to copy the entire site collection http://server.ltd/sites/ABC to http://server.ltd/sites/DEF

is there any easy solution, because I tried to Save as template at the site level then tried to upload the solution to the newly created site collection but it failed.

Is this even possible ?

Rabie K
  • 43
  • 2
  • 6
  • Using stsadm command, you can able to copy entire site collection and then you go for restoring to destinatioin. Open cmd, then navigate stsadm.exe location till c:\program files\common files\microsoft shared\web server extentions\14\bin then type stsadm, this will give update that stsadm working or not, m cIf u found the list of stsadm command. Then type stsadm -help backup, tihs will give guidence to use stsadm -backkup and – Lokesh Jun 29 '13 at 06:46

2 Answers2

2

You can use powershell for that:

Backup-SPSite -Identity http://server.ltd/sites/ABC -Path c:\temp\abc.bak

and then restore with:

Restore-SPSite http://server.ltd/sites/DEF -Path c:\temp\abc.bak

Make sure you check the available options like preserving security information, versioning, etc:

http://technet.microsoft.com/en-us/library/ee748617(v=office.14).aspx

http://technet.microsoft.com/en-us/library/ff607788.aspx

Luis
  • 5,979
  • 2
  • 31
  • 51
  • Hi @Luis I tried this. When I try to visit the new site collection, it says 'Website declined to show this webpage' with status code 403. – a_rahmanshah Feb 16 '14 at 09:19
  • @a_rahmanshah its forbidden, goto central admin -> site collection admin and add your user account – Ali Jafer Aug 22 '14 at 10:49
  • Hi @Luis, in SP2010 there is no option to preserve security information, versioning etc, so your suggestions are not applicable. – Andreas Sep 15 '15 at 14:55
  • Hi @Andreas, applicable to what? The OP did not mention security information. – Luis Sep 16 '15 at 00:47
  • You wrote: "Make sure you check the available options like preserving security information, versioning". In SharePoint2010 you don't have this options available, so your suggestion is not applicable for SP2010. – Andreas Sep 16 '15 at 11:13
0

you can backup sitecollection with powershell and restore it again in new path , this link could help you.

fatima Na
  • 72
  • 1
  • 12