How To: Create TFS 2010 Backup Plan

15/09/2010

How To: Create TFS 2010 Backup Plan

In my last post I wrote about Sept 2010 TFS Power Tools Release Available, this post will go though the steps in order to create TFS 2010 Backup plan from the “Team Foundation Server Administration Console”.

Open “Team Foundation Server Administration Console”

Navigate to TFS 2010 installation folder (“C:\Program Files\Microsoft Team Foundation Server 2010\Tools”) and run “TfsMgmt.exe”, this will open the Mgmt Console.

image

Click on “Team Foundation Backups” and “Create Backup Plan”

image

Choose the backup Network drop location and the retention (how long this backup is valid?).

image

Define when you would like to perform a backup

image

After you finished the Backup Plan wizard you can try it by clicking on the “Take Full Backup Now” button:

image

Enjoy

Add comment
facebook linkedin twitter email

Leave a Reply

one comment

  1. Peter21/09/2010 ב 13:29

    When I create a nightly full backup schedule for tfs2010 with the new power tools, all goes well. When I however try to create a schedule using a nightly full backup and a transaction backup every 15 minutes (or every hour it makes no difference) I get an error at the end of the configuration: Value does not fall within the expected range.

    Am I doing something wrong here?

    Part of the log is:

    [Info @11:01:33.859] ALTER DATABASE [WSS_Content] SET RECOVERY FULL
    [Info @11:01:33.875] Successfully prepared database Server=xxxx;Database=WSS_Content;Trusted_Connection=yes;App=Windows SharePoint Services;Timeout=15
    [Info @11:01:33.890] Deleted Task TfsDeleteOldBackup successfully
    [Info @11:01:33.890] Deleted Task TfsFullBackup successfully
    [Info @11:01:34.578] System.ArgumentException: Value does not fall within the expected range.
    at Microsoft.Win32.TaskScheduler.V1Interop.ITaskTrigger.SetTrigger(TaskTrigger& Trigger)
    at Microsoft.Win32.TaskScheduler.Trigger.Bind(ITask iTask)
    at Microsoft.Win32.TaskScheduler.TriggerCollection.Add(Trigger unboundTrigger)
    at Microsoft.TeamFoundation.PowerTools.Admin.Helpers.ScheduledTaskHelper.CreateTransactionalBackupTask(GenericAccountInfo accountInfo, Int32 intervalMinutes)
    at Microsoft.TeamFoundation.PowerTools.Admin.BackupPlanConfigurator.ScheduleBackupPlan(OperationContext context)
    [Error @11:01:34.578] TF255184: An error occurred during operation. Message=Value does not fall within the expected range..
    [Error @11:01:34.625]
    Exception Message: Value does not fall within the expected range. (type ArgumentException)

    Exception Stack Trace: at Microsoft.Win32.TaskScheduler.V1Interop.ITaskTrigger.SetTrigger(TaskTrigger& Trigger)
    at Microsoft.Win32.TaskScheduler.Trigger.Bind(ITask iTask)
    at Microsoft.Win32.TaskScheduler.TriggerCollection.Add(Trigger unboundTrigger)
    at Microsoft.TeamFoundation.PowerTools.Admin.Helpers.ScheduledTaskHelper.CreateTransactionalBackupTask(GenericAccountInfo accountInfo, Int32 intervalMinutes)
    at Microsoft.TeamFoundation.PowerTools.Admin.BackupPlanConfigurator.ScheduleBackupPlan(OperationContext context)