Automating SharePoint backup using Windows PowerShell

I have just started using the following PowerShell script to backup an entire farm to disk every night, the script is called by the Windows Task Scheduler (running the task as the Farm Administrator account).

Add-PSSnapin Microsoft.SharePoint.PowerShell
Backup-SPFarm -Directory \\WW-Backup\SharePointBackup -BackupMethod Full

The backup will then create a new folder for each full backup, as shown in the screenshots below.

SharePointBackup_Folder1

SharePointBackup_Folder2

Note: Depending on your environment backing up an entire farm every night can consume large amounts of disk space!

[BlogBookmark] [Blogsvine] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [LinkedIn] [MySpace] [Reddit] [Slashdot] [StumbleUpon] [Twitter] [Windows Live] [Yahoo!] [Email]