14.5. Scheduling the Backup Process

For scheduled backup procedures you need to run STSADM, since the backup procedure in SharePoints Central Administration tool cannot be scheduled. For example, say that you want to schedule a backup job of the complete SharePoint farm at 04:00 am every day, saving these files to the location \\srv2\bkup, and without listing any details. The following Try It Out shows how to configure that.

Try It Out: Schedule Backup Procedures with STSADM

  1. Log on to the SharePoint server as the administrator.

  2. Open Windows Scheduler: Starts All Programs Accessories System Tools Scheduled Tasks, then enter these settings:

    1. Click File New Scheduled Task.

    2. Enter a name for this task, for example, MOSS Backup.

    3. Double-click on this new task to open and configure it (see Figure 14-2).

    4. Run: stsadm –o backup directory \\srv2\bkup –backupmethod full –quiet.

      Figure 14-2. Figure 14-2 ...

Get Beginning SharePoint® 2007 Administration: Windows® SharePoint® Services 3.0 and Microsoft® Office SharePoint® Server 2007 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.