This project is read-only.
Project Description
A nifty little utility that allows you to automate the backups of sites on a daily, weekly or monthly basis.

Usage: -a || -d || -w [-f <filename>]

Operations and Parameters:
-a Create backup file for all sites
-d Create backup file for all sites that have been modified in the last day.
-w Create backup file for all sites that have been modified in the last week.
-f Output to this file name - default is GEBakOut.bat

GEMBACKUP -d -f fileName.bat

By default, personal sites content is contained in the site database of the portal site. You could use the SharePoint Backup and Restore utility to back up the personal sites content, but then you would not be able to restore individual personal sites. Instead, you would have to restore the entire site database. Stsadm.exe can back up and restore individual users' personal sites, including all subsites, files in document libraries or lists, security and permission settings, and feature settings.

The Stsadm.exe enumsites parameter lists all personal sites that have been created on the portal site. The enumsubwebs parameter lists all subsites within a site collection. Use the enumsites parameter to parse the list of personal sites, and then back up each personal site to a file.

What GEMBackup does is enumerate the sites based on whether they have been changed on the day, week or month, and creates a stsadm -o backup command for each of the sites. This means that you could using a simple routine have a backup / disaster recovery plan set for your sites very quickly.

Full information on how to use this utility is located at on my blog at:

Am trying to build a great bunch of tools for Sharepoint automation - if you like this tool please donate something - it all goes to keeping me toiling away on those apps and makes me feel its all worthwhile! Please donate by going here: and clicking the DONATE button - thanks!

Geoff Evelyn,

Last edited Sep 1, 2011 at 12:14 PM by GeoffE, version 7