Can anyone explain in detail what is really going on(under the hood) during exexuting Backup-SPSite powershell cmdlet ?

Backup-SPSite http://server_name/sites/site_name -Path C:\Backup\site_name.bak
  • Could you please explain, WHY you want this information? There is a lot of stuff happening on SQL-Server and it's not documented. – MHeld Sep 5 '17 at 11:22
  • I just try to understand how i can backup and restore programmatically – isxaker Sep 5 '17 at 11:53

You should not try to build your own backup-solution programatically. It is not supported to query SharePoint-Databases directly.

There are tons of APIs and methods to code against SharePoint. They also exist for backing up SharePoint-Sites. You should make use of them.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.