Site collection Backup/Restore SharePoint Management
Shell commands
There are a lot of ways to take backup of a Site collection/Web application but frequently used method is using SharePoint Management Shell.
Backup-SPSite -Identity http://ABC:2020 -Path C:/Mybackups/Mywebapp.bak -Force
Where http://ABC:2020 is the URLof the desired web application/site collection for taking backup and C:/Mybackups/Mywebapp.bak is the path to the physical drive where want to keep the backup.
2) Restore Command:
Restore-SPSite -Identity http://XYZ:3030 -Path C:/Mybackups/Mywebapp.bak -Force
Now http://XYZ:3030 is the URL of desired web application/site collection and C:/Mybackups/Mywebapp.bak
is the location of backup.
No comments:
Post a Comment