$FileLocation= "C:\testSite.cmp"
Backup:
Backup-SPSite -Identity $SiteCollectionUrl -Path $FileLocation -Force
Restore:
Restore-SPSite -Identity $SiteCollectionUrl -Path $FileLocation -Force -Confirm:$false
Backup:
Backup-SPSite -Identity $SiteCollectionUrl -Path $FileLocation -Force
Restore:
Restore-SPSite -Identity $SiteCollectionUrl -Path $FileLocation -Force -Confirm:$false
No comments:
Post a Comment