![]() is the ID or URL for the site collection you want to back up. For additional information about PowerShell permissions, see Add-SPShellAdmin.Īt the PowerShell command prompt, type the following command: Backup-SPSite -Identity -Path If you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. Securityadmin fixed server role on the SQL Server instance.ĭb_owner fixed database role on all databases that are to be updated.Īdministrators group on the server on which you are running the PowerShell cmdlets.Īn administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint Server cmdlets. Verify that you have the following memberships: To back up a site collection by using PowerShell You can use PowerShell to back up a site collection manually or as part of a script that can be run at scheduled intervals. Use PowerShell to back up a site collection in SharePoint Server You can help avoid performance issues by backing up the farm during hours when farm use is lowest, such as outside office hours. Performing a site collection backup might require resources and might slightly affect farm performance when the backup is running. After the backup is complete, the setting is changed back its normal status. SharePoint Server does this to reduce the possibilities of users changing the site collection while it is being backed up. If the site collection's Lock status is set to Not locked or Adding content prevented, SharePoint Server temporarily sets the site to Read-Only while the backup operation is occurring. For more information about how to create a backup folder, see Prepare to back up and restore farms in SharePoint Server. For better performance, we recommend that you back up to the local computer and then move the backup files to a network folder. You must first create a folder on the local computer or the network in which to store the backups. For more information about what to back up, see Plan for backup and recovery in SharePoint Server.īefore you begin this operation, review the following information: ![]() However, IT practices might require you to also back up a site collection. We recommend that you regularly back up the complete farm. You can back up a site collection in SharePoint Server by using the SharePoint Central Administration website or Microsoft PowerShell. ![]() APPLIES TO: 2013 2016 2019 Subscription Edition SharePoint in Microsoft 365 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |