12.07.2015 Views

IBM Tivoli Storage Manager for UNIX and Linux Backup-Archive ...

IBM Tivoli Storage Manager for UNIX and Linux Backup-Archive ...

IBM Tivoli Storage Manager for UNIX and Linux Backup-Archive ...

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.

The restore image comm<strong>and</strong> does not define or mount the destination file space.The destination volume must exist, must be large enough to hold the source, <strong>and</strong> ifit contains a file system, must be mounted. If an image backup contains a filesystem, <strong>and</strong> you restore them to a different location, be aware of the followingpoints:vvIf the destination volume is smaller than the source volume, the operation willfail.If the destination volume is larger than the source, after the restore operationyou will lose the difference between the sizes. The lost space can be recovered byincreasing the size of the volume. This will also increase the size of the restoredvolume.ExamplesTaskTaskTaskTaskRestore the /home/test directory over which the logical volume ismounted, to its original location.Comm<strong>and</strong>: dsmc rest image /home/testRestore the /home/proj directory over which the logical volume ismounted, to its original location <strong>and</strong> apply the changes from the lastincremental backup of the original image recorded at the server. Thechanges include deletion of files.Comm<strong>and</strong>: dsmc restore image /home/proj -incremental -deletefilesRestore the /usr file system to its original location. Use the verifyimageoption to enable detection of bad sectors on the target volume.Comm<strong>and</strong>: dsmc restore image /usr -verifyimageIf bad sectors present on the target volume, use the imagetofile option torestore the /usr file system to the /home/usr.img file to avoid datacorruption.Comm<strong>and</strong>: dsmc restore image /usr /home/usr.img -imagetofileRelated in<strong>for</strong>mation“Verifyimage” on page 430“Imagetofile” on page 329Restore NASThe restore nas comm<strong>and</strong> restores the image of a file system belonging to aNetwork Attached <strong>Storage</strong> (NAS) file server. The NAS file server per<strong>for</strong>ms theoutboard data movement. A server process per<strong>for</strong>ms the restore.If you used the toc option with the backup nas comm<strong>and</strong> or the include.fs.nasoption to save Table of Contents (TOC) in<strong>for</strong>mation <strong>for</strong> each file system backup,you can use the query toc server comm<strong>and</strong> to determine the contents of a filesystem backup in conjunction with the restore node server comm<strong>and</strong> to restoreindividual files or directory trees. You can also use the Web client to examine theentire file system tree <strong>and</strong> select files <strong>and</strong> directories to restore. If you do not saveTOC in<strong>for</strong>mation, you can still restore individual files or directory trees using therestore node server comm<strong>and</strong>, provided that you know the fully qualified name ofeach file or directory <strong>and</strong> the image in which that object was backed up.Chapter 11. Using comm<strong>and</strong>s 515

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

Saved successfully!

Ooh no, something went wrong!