how to resolve "back and restore" error in SharePoint server 2019

Basim Alvi 41 Reputation points
2024-05-20T09:56:37.0066667+00:00

I have SharePoint server 2019 in which I am trying to use "Backup and Restore" farm feature.

I make the shared folder for backup in db Server and trying to start backup . but it is showiing below error.

Directory \KHIHV19EPMDEV\backup does not exist or the SQL Server service account and the BAFPK\epmadministrator service account do not have permission to read or write to the backup folder. Specify a different directory or ensure that the SharePoint Timer service and Microsoft SQL Server service accounts have Full Control permission on both the file share and the underlying folder.

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,382 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,865 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,965 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Yanli Jiang - MSFT 27,006 Reputation points Microsoft Vendor
    2024-05-21T08:41:36.49+00:00

    Hi @Basim Alvi ,

    This error typically indicates that the service accounts do not have the necessary permissions to read or write to the specified backup folder.

    Here are some steps you can take to resolve this issue:

    Verify Permissions: Ensure that both the SQL Server service account and SharePoint Timer service account have Full Control permission on both the file share where you want to store backups and on any parent folders.

    Check Backup Directory: Make sure that the KHIHV19EPMDEV directory exists in your intended backup location, or specify a different directory where it does exist.

    Use Correct Tools: Be aware that backing up from one version of SharePoint Server 2019 is not possible for restoring to another version of SharePoint Server 20191. You need to use compatible versions when performing backups and restores.

    For your references:

    Restore farms in SharePoint Server

    Backup and Restore options in SharePoint

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.

    Remember not to use PowerShell’s as it may cause unintended re-provisioning of services SharePoint Products Configuration Wizard.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Basim Alvi 41 Reputation points
    2024-05-22T04:47:05.9233333+00:00

    resolved.

    Because second server was unreachable to first server.

    it is resolved by the help of network department.

    0 comments No comments

  3. Yanli Jiang - MSFT 27,006 Reputation points Microsoft Vendor
    2024-05-22T05:05:14.57+00:00

    Hi @Basim Alvi ,

    Great to know that and thanks for sharing the update here.

    By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others.". and according to the scenario introduced here: Answering your own questions on Microsoft Q&A, I would make a brief summary of this thread:

    [how to resolve "back and restore" error in SharePoint server 2019]

    Issue Symptom:

    I have SharePoint server 2019 in which I am trying to use "Backup and Restore" farm feature.

    I make the shared folder for backup in db Server and trying to start backup . but it is showiing below error.

    Directory \KHIHV19EPMDEV\backup does not exist or the SQL Server service account and the BAFPK\epmadministrator service account do not have permission to read or write to the backup folder. Specify a different directory or ensure that the SharePoint Timer service and Microsoft SQL Server service accounts have Full Control permission on both the file share and the underlying folder.

    Current status:

    resolved.

    Because second server was unreachable to first server.

    it is resolved by the help of network department.

    You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community members to see the useful information when reading this thread. Thanks for your understanding!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.