Friday, April 04, 2008

Backing up a SharePoint (MOSS) 2007 Site

  1. Setup a writable share with write permissions, specfically granting the SharePoint (MOSS) 2007 server read and write permissions to this share. For example, if the MOSS server is named TEST, grant DOMAIN\TEST$ read and write permissions to this share (where DOMAIN is the domain or workgroup the server belongs to, and TEST$ is the computer's account name on the domain/workgroup). For this example, a share has been setup on the TEST server called MOSSBackup
  2. Open up a command prompt on the MOSS server (cmd).
  3. Navigate to the BIN folder:cd "%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\12\BIN"
  4. Execute the following command to perform a full backup of the MOSS databases, sites, etc.:stsadm -o backup -backupmethod full -directory \\TEST\MOSSBackup
  5. Add this command to a nightly scheduled task.

No comments: