locked
Restore a Backup from network drive which has multiple .bak files RRS feed

  • Question

  • Experts, I am trying this since a week now.

    Goal: Restore a Backup from network drive which has multiple .bak files

    Nework Drive: \\nodccstsqlb1\ca$\NODCCSTCA4\PCAPO\

    Files under it: Lot of .bak and lot of .trn files

    Need T-SQL script or SQL Job which picks up the Latest .BAK only from mentioned network drive.

    File are like:

    PCAPO_backup_2012_08_08_000502_2404151.bak

    PCAPO_backup_2012_08_07_050001_0921233.bak

    ...................................................................................

    Please help.

    Thanks

    Wednesday, August 8, 2012 5:31 PM

Answers

All replies