SharePoint - When to use Backup/Restore from Central Admin / Backup-SPFarm/Restore-SPFarm

Marc Cumos 126 Reputation points
2020-10-22T00:33:29.77+00:00

Hey Everyone,

First time posting here! I believe SharePoint categories got removed except for one on technet.
Anyways, hope you're all doing well.

I had a question regarding backup-spfarm/restore-spfarm and when these are useful to use.

As an example, during cumulative update/public updates, if something goes wrong and I can't resolve and need to revert (this is probably very unlikely) - I can't use restore-spfarm, because the update has already been recorded in the config database.

In the central admin "perform a backup", I see the "configuration database" as the backup component. So I'm curious why that's being backed up when it cant be restored.

So if the config database / central admin database cant be restored from these backups, then what scenarios does backup-spfarm/restore-spfarm come in handy?

To resolve the issue with the cu/pu patching above, I would have to recreate the farm entirely and use db backups and restore them onto the new server.
redeploy all your wsps, and reconfigure everything else.

If I was to create a test/development farm I would do the same process.

Maybe I'm completely misunderstanding how to use backup/restore and can use backup/restore to help me with creating these farms.

Rather than just thinking its used to restore granular items such as site collections.

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,938 questions
0 comments No comments
{count} votes

Accepted answer
  1. Trevor Seward 11,701 Reputation points
    2020-10-22T02:25:41.207+00:00

    Backup-SPFarm extracts configuration elements from the Config database (such as WSPs, Web App settings, etc.). While you cannot restore the Config/Admin database, you can restore a farm configuration to a new farm should you run into a catastrophic issue with a patch, for example. Though I would contact Microsoft support before attempting to restore to a new farm.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.