Error backup site collection

Raphael 1 Reputation point
2020-10-07T15:01:13.44+00:00

Hi everyone,

I am trying to backup a site collection in sharepoint 2016, via the shell or the web interface... and this is not working..
I am received this log message:

Error backing up site http://mysite/.... . System.ComponentModel.Win32Exception (0x80004005): The parameter is incorrect
at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferOnFile.EnsureStream()  

the command line is like

Backup-SPSite http://portal.globalsp.com/sites/test -path d:\temp\test.bak

Plus the backup seems to start but it is stopping at few megabytes...
Anyone know how to resolve this, I don't see any information about this error anywhere ?

Thank you very much

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,937 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Sharath Kumar Aluri 3,071 Reputation points
    2020-10-07T15:18:55.78+00:00

    what is the command you used for the backup ?seems like the parameter you are using is incorrect. make sure you have proper permissions and then open SharePoint Management Shell as admin and run the below command and let us know the outcome.

    Backup-SPSite http://portal.globalsp.com/sites/test -path d:\temp\test.bak  
    

    https://learn.microsoft.com/en-us/powershell/module/sharepoint-server/backup-spsite?view=sharepoint-ps

    Thanks & Regards,


  2. JoyZ 18,066 Reputation points
    2020-10-08T03:07:11.307+00:00

    Hi @Raphael ,

    This error is more related to .Net Framework exception.

    Please try to backup other sites to check if others occur the same issue.

    In addition, open the ULS Logs file with ULSViewer for more information.


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    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

  3. Bijay Kumar Sahoo 1 Reputation point MVP
    2020-10-12T08:50:52.137+00:00

    Not sure if the Identity parameter will help, I have used with the -Identity like below and it works fine for me.

    Backup-SPSite -Identity http://mypc/sites/MySP2016SiteCollection/ -Path E:\MySiteCollection.bak

    Even for the restore, you can have a look below, it worked for me.

    https://www.spguides.com/sharepoint-backup-restore/

    0 comments No comments

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.