hands on lab - tfs backup and restore power tool

Upload: asurada120

Post on 01-Jun-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/9/2019 Hands on Lab - TFS Backup and Restore Power Tool

    1/11

    TFS 2010

     © 2010 

    La

    Over

    During 

    2010 Po

    execute 

    restore 

    SysteIn order

    publical

    ExercThis Ha

    Estimat

     

     – Configurat

    Enhance ALM

     1 –

    iew 

    his lab, you 

    wer Tools in

    a full backu

    them from t

     Requi to complet

    ly available f 

    ises ds‐On Lab c

    Installin

    Creating

    .  Trigger 

    Restorin

    .  Check T

    d time to c

    ion and Admi

     Pty Ltd 

    FS

    will use the 

    September 

    p of  your TF

    he backups. 

    ements this lab yo

    or you to d

    omprises th

     the TFS 20

     a TFS Back

    ackup and 

    g from back

    S is restore

    mplete this

     

    nistration

    ack 

    new TFS Bac

    2010. You 

    Server. Op

     will need t

    wnload fro

    e following 

    0 Power To

    p Plan 

    erify 

    lab: 30‐35 

    p a

    kup Plan po

    ill install th

    tionally, you

    e Visual St

     the Micro

     

    xercises: 

    ols 

    inutes. 

    Modu

    d Re

    wer tool wh

     Power Too

     and then d

    dio 2010 R

    oft website.

    le 2/Lab 1  – 

    stor

    ich first app

    ls, create a 

    lete your T

    M virtual m

     

    FS Backup an

     

    ared in the 

    FS Backup 

    S database

    achine that i

    d Restore 

    Page 41 

    TFS 

    lan and 

    and 

  • 8/9/2019 Hands on Lab - TFS Backup and Restore Power Tool

    2/11

    Module 

    Page 42 

    Ex

    Before 

    You will

     

    Power 

    If  you n

    locally, 

    Task 

    Logging 

    virtual 

    Install t

     

    /Lab 1  – TFS 

    rcis

    you begin 

    need to

     che

    ools installe

    ed to instal

    ou can dow

    onto the la

    achine 

    e Power To

    Backup and 

    1: I

    ck to

     see

     if  

    d on your sy

    l the Power 

    nload the fil

    Det

      1. 

    2. 

    ols 1.

     

    2. 

    3. 

    4. 

    5. 

    6. 

    7. 

    8. 

    estore 

    stal

    ou already

     

    stem. If  you 

    ools, and y

    e from the 

    ailed Steps

    Start the lab

    Log in as Ad

    is P2ssw0r

    Install the

     P

    If  the “Open

    On the Wel

    Click “I acce

    On the Setu

    For the purp

    “TFS Backu

    To allow yo

    Tools selec

    Click Install

     Allow  approx 

    On the

     Setu

     

    ing t 

    ave the

     Se

     already hav

    ur trainer 

    isual Studio

     Virtual Mac

    ministrator  i

     

    wer Tools

     b

     File  – Securi

    ome screen, 

    pt the terms 

    p Type page, 

    ose of  this e

    p Plan”. 

    u to explore 

    ed as shown 

    imately  5 mi 

    p Completed

     

    TFS 2010

    he P

    tember 201

    e it installed

    oes not hav

     Gallery at h

    ine if  it is not

     you have no

     double

    ‐click

    y Warning” 

    click Next 

    in the license

    click Custom

    ercise, the o

    he other Po

    above and cli

    utes  for  the i 

    Successfully 

     – Configurat

    © 201

    wer

    0 release

     of 

     

    , you can ski

    e the install 

    ttp://tinyurl

    already start

    t already don

    ng the

     TFPT.

    ialog is displ

    agreement” 

    and click Nex

    ly required P

    er Tools, lea

    ck Next. 

    stallation 

    age, click

     Fin

    ion and Admi

    0 Enhance AL

    Tool

    the TFS

     201

    ip to exercis

    file availabl

    .com/2ufvw

    ed 

    e so. The pas

    SI file.

     

    yed, click Ru

    and click Nex

    ower tool is t

     

    e the other 

    ish 

    nistration 

    M Pty Ltd 

    s

    e 2. 

    fh 

    sword 

    he 

    ower 

  • 8/9/2019 Hands on Lab - TFS Backup and Restore Power Tool

    3/11

    TFS 2010

     © 2010 

    Ex

    In this e

    SharePwill exe

    Task 

    Lab Pre

    Shared 

    VHD ISS

    WORKA

    Creatin

    backup 

     – Configurat

    Enhance ALM

    rcis

    xercise you 

    int and

     SQL

     

    ute your ba

    equisite ‐ C

    older 

    UE 

    ROUND 

    a nightly fu

    plan 

    ion and Admi

     Pty Ltd 

    2: C

    ill create a 

    Reporting S

    ckup every 

    Det

    eate 1. 

    2. 

    3. 

    If  y

    will 

    con

     

    1. 

    2. 

    3. 

    4. 

    5. 

    ll 1. 

    2. 

    3. 

    nistration

    reati

    full nightly 

    rvices data

    orning at 2

    ailed Steps

    Create a n

    named “T

    Shared the 

    Ensure the 

    Control in 

    for the fol

     

    u are using 

    need to co

    iguration is

    Start Repo

    Start | All 

    Tools | Re

    Enter the

     f 

    Server na

    Report Se

    Click Repo

    Click Apply

    Click Exit 

    Start the T

    Start | All 

    Team Fou

    Select the 

    Click Creat

    NOTE  – It 

    you click t

     

    ng a

    ackup to b

    ases. You

     

    am. 

    w folder on 

    S2010_Bac

    folder as “T

    NT AUTHO

    both the Sh

    der. 

    the publicall

    plete the f 

    ue with the

    ting Servic

    Programs | 

    porting Serv

    llowing det

    e: WIN‐GS

    ver Instanc

    t Manager 

    S Administ

    Programs | 

    dation Ad

    eam Found

     Backup Pl

    might take a

    his. 

    Modu

    FS

    ckup all TFS 

    ill also

     acce

    the C: drive 

    ups” 

    FS2010_Bac

    ITY\LOCAL 

    are Permissi

    y download

    llowing ste

     virtual mac

    s Configura

    Microsoft S

    ices Configu

    ails then

     clic

    GMUJITS8

    : MSSQLSE

    RL 

    ation Cons

    Microsoft T

    inistration 

    ation Backu

    n in the ma

     few mome

    le 2/Lab 1  – 

    ack 

    databases a

    pt the

     defau

    in your virt

    ups” 

    ERVICE acc

    ons and the 

    ble VHD fr

    s to work ar

    ine. 

    ion Manag

    L Server 20

    ration Mana

    k Connect

     

    VER 

    le 

    am Founda

    onsole 

    ps node in t

    n content p

    ts to start t

    FS Backup an

    p Pl

    s well as th

    lt schedule

     

    al machine 

    ount have F

    NTFS permi

    m Microsof 

    ound a 

    08 | Configu

    ger 

    ion Server 

    he left pane

    anel. 

    he wizard af 

    d Restore 

    Page 43 

    n

    hich 

    ll 

    sions 

    t, you 

    ration 

    010 | 

    ter 

  • 8/9/2019 Hands on Lab - TFS Backup and Restore Power Tool

    4/11

    Module 

    Page 44 

    /Lab 1  – TFS Backup and 

    4. 

    5. 

    6. 

    7. 

    8. 

    9. 

    10.

    11.

    estore 

    The Backup 

    Click Next

    In the Prov

    enter the 

    where the

    For this la

    \\WIN‐GS

    You can al

    The defaul

    999 days.

    Click Adva

    extension

     

    Click Next

    On the Sel

    to backup 

    databases 

    On the Pro

    accept the

    click Next

     

    If  email ha

    an email a

    has not be

     Accept the 

    backup at

     Schedules 

    Plan Wizar 

    ide Backup 

    etwork Ba

     backup file

    , enter the 

    9GMUJITS8

    so specify h

    lt is 30 days 

    ced Option

     for the bac

    ct External 

    both the Re

    in this plan.

    ide Task Sc

     NT AUTHO

     been confi

    ddress to se

    en configur

    default Nig

    2am every

     Options to 

    TFS 2010

     starts 

    Plan Initial 

    ckup Path. T

     should be 

    following pa

    TFS2010_B

    w long the 

    and you can

    s. Notice yo

    kup files. 

    Databases 

    porting data

    Click Next 

    heduler Acc

    RITY\LOCAL 

    ured on yo

    nd backup f 

    d, choose 

    tly Full Sch

    orning. Yo

    see what ot

      – Configurat

    © 201

    onfiguratio

    his should b

    laced. 

    th 

    ckups 

    backups sho

    set a value 

    can specify

    age, accept 

    bases and t

    ount Infor

    SERVICE sy

    r TFS Serve

    ilure notific

    o email ale

    dule. This 

    may wish

     t

    er options 

    ion and Admi

    0 Enhance AL

    n Settings s

    e a UNC pat

    uld be kept 

    between 30 

    the files 

    the default 

    e SharePoi

    ation page, 

    tem accoun

    , you can pr

    ations to. If  

    rts. Click Ne

    ill schedule 

    o click

     Adva

    re available

    nistration 

    M Pty Ltd 

    reen, 

    for. 

    and 

    alues 

    t and 

    ovide 

    email 

    a full 

    ced . 

  • 8/9/2019 Hands on Lab - TFS Backup and Restore Power Tool

    5/11

    TFS 2010

     © 2010 

     – Configurat

    Enhance ALM

    ion and Admi

     Pty Ltd 

    12.

    13.

    14.

    15.

    16. 

    nistration

    Click Next.

     Review the

    Click Next

     Once the v

    “Passed”, 

    The backu

    shown as 

    Click Next

    Click Close

     

    settings an

    to verify th

    rification s

    click on

     Cre

     plan is the

    omplete w

    to finish the

    Modu

     correct an

     settings. 

    eps have co

    te Plan.

     

    created an

    hen the pla

     wizard 

    le 2/Lab 1  – 

    values the

    mpleted an

     you shoul

     has been c

    FS Backup an

     are not cor

     all 5 steps 

    see four st

    eated. 

    d Restore 

    Page 45 

    rect. 

    how 

    ps 

  • 8/9/2019 Hands on Lab - TFS Backup and Restore Power Tool

    6/11

    Module 

    Page 46 

    Ex

    Now th

    backup 

    Task 

    Trigger 

    verify t

    /Lab 1  – TFS 

    rcis

     TFS backu

    iles are

     cre

    he backup 

    e results 

    Backup and 

    3: T

     has been c

    ted. 

    Det

    nd 1.

     

    2. 

    3. 

    4. 

    5. 

    You 

    fold

    you 

    estore 

    rigg

    eated, we 

    ailed Steps

    Start the T

    Start | All 

    Team Fou

    Select the 

    Click Take 

    Once the b

     

    Using Win

    the backu

     

    should see 

    er assuming

    created the 

    r ba

    ill trigger th

    S Administ

    Programs | 

    dation Ad

    eam Found

    ull Backup 

    ackup repor

    ows Explor

     files in. Thi

     bunch of  fi

     you did not

    TFS Backup 

    TFS 2010

    kup

    e backup pl

    ation Cons

    Microsoft T

    inistration 

    ation Backu

    Now in the 

    ts “Successf 

    r, open the 

    s should be 

    les with “ba

     change the

    Plan. 

     – Configurat

    © 201

    and

    n manually 

    le 

    am Founda

    onsole 

    ps node in t

    ain conten

     

    l completio

    folder you c

    C:\TFS2010

    k” and “trn” 

    e extension 

    ion and Admi

    0 Enhance AL

    erif 

    and confir

    ion Server 

    he left pane

    t panel. 

    n”, click Clo

     

    reated to st

    Backups 

    extensions 

    defaults w

    nistration 

    M Pty Ltd 

    the 

    010 | 

    re 

    n the 

    en 

  • 8/9/2019 Hands on Lab - TFS Backup and Restore Power Tool

    7/11

    TFS 2010

     © 2010 

     – Configurat

    Enhance ALM

    ion and Admi

     Pty Ltd 

    6. 

    nistration

    Close Wind

     

    ows Explor

    Modu

    le 2/Lab 1  –  FS Backup an

     

    d Restore 

    Page 47 

  • 8/9/2019 Hands on Lab - TFS Backup and Restore Power Tool

    8/11

    Module 

    Page 48 

    Ex

    NOT

    In this e

    the pre

     

    Task 

    Start th

    and con

    is availa

    Delete 

    databas

    restore 

    /Lab 1  – TFS 

    rcis

    : This 

    xercise, we 

    ious exercis

    e Restore W

    firm backup

    ble 

    xisting TFS 

    es so we ca

    them 

    Backup and 

    4:

    xercis

    ill delete t

    es. 

    I

    re

    Thi

    Det

    izard 

    set 1.

     

    2. 

    3. 

    4. 

    5. 

    1. 

    2. 

    estore 

    esto

     is opti

    e TFS SQL D

    W

    n this exerci

    storing the

     exercise sh

    ailed Steps

    Start the B

    Start | All 

    Power To

    Plan Resto

    Once the w

    Enter the l

    GS9GMUJ

     

    Click List B

    complete

    Leave the 

    section to 

    them. 

    Start SQL 

    Start | All 

    Managem

    Enter the f 

    Server Typ

    Server na

    ing

    onal. 

    atabases an

    RNIN

    se you will 

    from the b

    ould ONLY 

    ckup Plan 

    Programs | 

    ls | Team F

    re Wizard 

    izard starts,

    cation of  th

    ITS8\TFS20

    ckups and 

    in the

     prev

    estore wiza

    delete the S

    anagemen

    Programs | 

    ent Studio 

    llowing val

    e: Databas

    e: WIN‐GS

    TFS 2010

    rom

    d restore th

      – REA

    elete all TFS

    ackup you c

    e done on c

    systems

    estore Wiz

    Microsoft T

    undation S

     click Next 

    e backup fil

    0_Backups 

    elect the en

    ious entry.

     

    rd on the sc

    QL databas

     Studio 

    Microsoft S

    es and click

     Engine

     GMUJITS8

      – Configurat

    © 201

    Back 

    m from the

    D THIS 

    databases f 

    eated in th

    lassroom‐ba

    rd 

    am Founda

    rver Backu

    s. This shou

    try for the b

    een and co

    s so we can 

    L Server 20

     Connect 

    ion and Admi

    0 Enhance AL

    up

    backup cre

    FIRST 

    or the purp

     previous e

    sed, non‐pr

    ion Server 

    Plan | Bac

    ld be  \\WI

    ackup you 

    plete the n

    then restor

    08 | SQL 

    nistration 

    M Pty Ltd 

    ted in 

    se of  

    ercise. 

    duction 

    010 

    up 

     

    ext 

  • 8/9/2019 Hands on Lab - TFS Backup and Restore Power Tool

    9/11

    TFS 2010

     © 2010 

    Continu

    Founda

    Restore 

     – Configurat

    Enhance ALM

    e with the T

    ion Server 

    Wizard 

    ion and Admi

     Pty Ltd 

    3. 

    4. 

    5. 

    6. 

    7. 

    8. 

    eam  Yo

    th

    ea

     

    1. 

    1. 

    2. 

    nistration

    Authentic

    Expand the

    Right‐click 

    context m

    In the

     Dele

    connectio

    Click OK 

    Repeat ste

      R

      Tf 

      Tf 

      Tf 

     

    W

      W

      W

     

    Close SQL 

    should cur

     Select Back

    lier selected

    Click Next

    On the Sel

    WIN‐GS9

    Review the

    tion: Wind

     Databases 

    the ReportS

    enu. 

    te Object

     di

    ns” 

    s 4 to 6 for 

    portServer

    s_Configura

    s_DefaultCo

    s_Warehou

    SS_AdminC

    SS_Config 

    SS_Content

    anagemen

    rently have 

    up Sets pag

    ct SQL Serv

    MUJITS8 fo

     informatio

    Modu

    ws Authen

    node 

    erver datab

    log, check

     t

    each of  the 

    empDB 

    ion 

    llection 

    ntent 

    t Studio 

    he TFS Rest

     visible and 

    r Instances 

    r each of  th

     on

     the

     con

    le 2/Lab 1  – 

    ication 

    se and sele

    he box

     label

    ollowing da

     

    re Wizard 

    the backup 

    page, accep

     Databases 

    irmation pa

    FS Backup an

    ct Delete in 

    ed “Close

     E

    tabases 

    n the scree

    set you crea

    t the defaul

    and click Ne

    ge and

     then

     

    d Restore 

    Page 49 

    the 

    isting 

    with 

    ted 

    of  

    xt 

    click 

  • 8/9/2019 Hands on Lab - TFS Backup and Restore Power Tool

    10/11

    Module 

    Page 50 

    /Lab 1  – TFS Backup and 

    3. 

    4. 

    5. 

    6. 

    estore 

    Next to ve

    Once the R

    Restore b

    Once the r

    steps and

     

    The Revie

    Success ic

     

    Note the f 

    of  the Res

    “You may 

    TFS ATs a

    prior to p

    this KB art

    rify the sett

    eadiness Ch

    tton 

    store proce

    being succe

     the Result

    n. 

    llowing info

    tore Wizard.

    need to pu

    d all TFS pr

    tting the T

    icle http://

    TFS 2010

    ings 

    ecks have c

    ss has comp

    sfully comp

     page shoul

    rmation tha

     

    ge the versi

    oxy servers 

    C back onli

    upport.mic

      – Configurat

    © 201

    mpleted an

    leted and it 

    lete, click

     N

    d be shown 

    is displaye

    on control fi

    hat service 

    e. For mor

    osoft.com/

    ion and Admi

    0 Enhance AL

    d passed, cli

    shows the t

    xt 

    with a big g

     on the last 

    ile cache on 

    the TFS inst

     informatio

    ?kbid=2025

    nistration 

    M Pty Ltd 

    ck the 

    ree 

    een 

    page 

    all 

    ance 

    n, see 

    63” 

  • 8/9/2019 Hands on Lab - TFS Backup and Restore Power Tool

    11/11

    TFS 2010

     © 2010 

    Ex

    NOT

    If  you c

    success

    Task 

    Start Vi

    reconn

    restore

      – Configurat

    Enhance ALM

    rcis

    : This 

    mpleted ex

    ul. 

    ual Studio 

    ct to the 

    TFS Server 

    ion and Admi

     Pty Ltd 

    5: C

    xercis

    ercise 4, yo

    Det

    nd 1. 

    2. 

    3. 

    4. 

    5. 

    6. 

    nistration

    heck 

     is opti

     should co

    ailed Steps

    Start the Vi

    Start | All 

    Visual Stu

    Select Con

    down me

    Select win

    Select at le

    Ensure tha

    window a

    under the 

    Close Visua

     

    ing

    onal. 

    plete this e

    sual Studio 

    Programs | 

    io 2010 

    ect to Tea

    gs9mgujits

    ast one Tea

     the Team 

    d make sur

    Team Proje

    l Studio 201

    Modu

    FS is

    ercise to en

    2010 

    Microsoft Vi

     Foundatio

     from

     the

     lis

     Project an

    roject appe

    e each of  th

    t node. 

    le 2/Lab 1  – 

    rest 

    sure the ba

    sual Studio 

    Server fro

    t of 

     TFS

     Ser

    d click Conn

    rs in the Te

     nodes app

    FS Backup an

    red

    kup has be

    010 | Micr

    m the Team 

    ers 

    ect 

    am Explorer

    ears correctl

    d Restore 

    Page 51 

    soft 

    drop