I have been asked several times for a Farm backup script and I have been meaning to get to it, so finally here is one I use frequently.
The attached script is one I accumulated through details from various online sources so this blog is designed to be an instructional overview from those posts.
I can obviously not take responsibility for any errors or issues with the script - please read the instructions carefully.
This script has a DAYS ($days variable) setting so you can configure it for how many days back-up you would like to keep and it will delete the old back-ups off disk and also remove them from SharePoint Back-up history as well.....AWESOME.
Steps to get this script running:
NB: A back-up is only as good as it's first restore so test the back-up. (On a TEST server)
A few key points to remember about a Full SharePoint Farm Backup:
A full Farm restore does not put all of the Service Applications and proxies back and does not link them to their proxy group so there are manual steps that need to be taken (Hopefully I will get a chance to cover that in another blog).
To compliment your back-up and effectively back-up your server use BareMetal.
SharePoint 2010 and 2013 PowerShell Back-up Script
Cloud to cloud backup for leading online SaaS application. SharePoint Online are very powerful cloud-based collaboration and storage services. It backup all or selected sites. For further details visit: