12.07.2015 Views

Installation and User's Guide

Installation and User's Guide

Installation and User's Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table 27. Comm<strong>and</strong>-line restore examples (continued)Task Comm<strong>and</strong> ConsiderationsDisplay a list of active <strong>and</strong> inactivebackup versions of files from whichyou can select versions to restore.Restore all files with a file extensionof .c from the c:\devel \projectadirectory.Restore the c:\project\doc\h1.docfile to its original directory.Restore the c:\project\doc\h1.docfile under a new name <strong>and</strong> directory.Restore the files in the e: drive <strong>and</strong>all of its subdirectories.Restore all files in the c:\mydirdirectory to their state as of 1:00 PMon August 17, 2002.Restore the c:\doc\h2.doc file to itsoriginal directory on the workstation,named star.dsmc restore c:\project\* -pick-inactivedsmc restore c:\devel\projecta\*.cdsmc restore c:\project\doc\h1.docdsmc restore c:\project\doc\h1.docc:\project\newdoc\h2.docdsmc restore e:\ -subdir=yesdsmc restore -pitd=8/17/2002-pitt=13:00:00 c:\mydir\dsmc restore c:\doc\h2.doc\\star\c$\To restore the file to star which hasbeen renamed meteor, enter:dsmc restore \\star\c$\doc\h2.doc \\meteor\c$\You could also enter:dsmc restore \\star\c$\doc\h2.doc c:\If you try to restore both an active<strong>and</strong> inactive version of a file at thesame time, only the active version isrestored. See “Pick” on page 426 <strong>and</strong>“Inactive” on page 393 for moreinformation.If you do not specify a destination,the files are restored to their originallocation.If you do not specify a destination,the files are restored to their originallocation.NoneYou must use the subdir option torestore directory attributes/permissions. See “Subdir” on page482 for more information about thesubdir option.See “Pitdate” on page 427 <strong>and</strong>“Pittime” on page 428 for moreinformation about the pitdate <strong>and</strong>pittime options.For the purposes of this manual, theworkstation name is part of the filename. Therefore, if you back up fileson one workstation <strong>and</strong> you want torestore them to another workstation,you must specify a destination. Thisis true even if you are restoring to thesame physical workstation, but theworkstation has a new name.Restore a file that was originallybacked up from the disketteworkathome in the a: drive, <strong>and</strong>restore it to a diskette in the a: drivelabeled extra.Restore files specified in thec:\filelist.txt file to the d:\dirdirectory.Restore all members of thevirtfs\group1 group backup storedon the Tivoli Storage Manager server.This example is valid because if theworkstation name is not included inthe specification, the local workstationis assumed (meteor, in this case).dsmc restore {workathome}\doc\h2.doc a:\doc\h2.docdsmc restore -filelist=c:\filelist.txt d:\dir\dsmc restore group{virtfs}\group1If you are restoring a file to a diskwith a different label than the diskfrom which the file was backed up,you must use the file space name(label) of the backup disk instead ofthe drive letter.See “Filelist” on page 379 for moreinformation about restoring a list offiles.See “Restore Group” on page 632 formore information.166 IBM Tivoli Storage Manager for Windows Backup-Archive Clients: <strong>Installation</strong> <strong>and</strong> <strong>User's</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!