1. Navigate to Central Admin
2. From the Central Admin screen – select ‘Backup and Restore’
Using stsadm
Open the Command Prompt on the SharePoint server as an administrator.
C:\>stsadm -o export -url http://siteurl/site1 -filename c:/site1.cmp -includeusersecurity
C:\>stsadm -o import -url http://newsiteurl/site1 -filename c:/site1.cmp -includeusersecurity
2. From the Central Admin screen – select ‘Backup and Restore’
3. Form here click ‘Export a site or list’ from the Granular Backup links:
4. Select the relevant Site collection from the drop down
5. Once you’ve selected the Site collection, site and list select a file location (note the .cmp file extension and the fact that it needs to be a network location)
6. Select the version number:
7. You’re now good to go and can hit ‘start Export’
8. Once you’ve started the Export, you’ll get a screen notifying you about the status
9. Once done you’ll notice 2 files:
i) The actual file
ii) A log file which is handy in case things don’t go so well.
10. SharePoint 2010′s Central Admin doesn’t have a UI to facilitate the importing of this so you’ll have to use PowerShell .
11. Open the PowerShell in Administrative mode nad type the below command.
Import-SPWeb -Identity http://win-8qo9cqdq6hn:13000 -Path c:\Backupsharepoint\Customer11000.cmp -includesecurity –force
12. Upon navigating back to your SharePoint list you should notice it on the root /homepage of your site which is where it was imported to.
Using stsadm
Open the Command Prompt on the SharePoint server as an administrator.
C:\>stsadm -o export -url http://siteurl/site1 -filename c:/site1.cmp -includeusersecurity
C:\>stsadm -o import -url http://newsiteurl/site1 -filename c:/site1.cmp -includeusersecurity
0 comments:
Post a Comment