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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

v In the Restore Options window, you can choose to restore the image only or theimage <strong>and</strong> incremental directories files. If you choose Image Only, you willrestore the image from your last image backup only. This is the default.If you ran incremental-by-date image backup on a volume or image backups ona volume with incrementals, you can choose the Image plus incrementaldirectories <strong>and</strong> files option. If you choose Image plus incremental directories<strong>and</strong> files, you can also select Delete inactive files from local to delete theinactive files that are restored to your local file system. If incremental-by-dateimage backup was the only type of incremental backup you per<strong>for</strong>med on thefile system, deletion of files will not occur.Attention: Be absolutely sure that you need to per<strong>for</strong>m an incremental restorebecause it will replace your entire file system with the image from the server<strong>and</strong> then restore the files that you backed up using the incremental imagebackup operation.Per<strong>for</strong>ming an image restore using the comm<strong>and</strong> lineUse the restore image comm<strong>and</strong> to restore an image using the <strong>Tivoli</strong> <strong>Storage</strong><strong>Manager</strong> comm<strong>and</strong> line client. See “Restore Image” on page 476 “Verifyimage” onpage 380, <strong>and</strong> “Imagetofile” on page 264 <strong>for</strong> more in<strong>for</strong>mation.|||||||||||||||||||||||||||||Restoring an image to fileAll LVM volumes contain Logical Volume Control Block (LVCB) on the first sector(512 bytes) of the volume which contains volume specific meta-data <strong>and</strong> should bepreserved by applications using the volume. When per<strong>for</strong>ming image backup,<strong>Tivoli</strong> <strong>Storage</strong> <strong>Manager</strong> backs up LVCB, but on restore, it only restores the data(skipping LVCB), in order to preserve the original LVCB of the destination volume.When per<strong>for</strong>ming image restore to file, entire volume contents, including LVCB,are restored to file. When you copy the file containing image back onto a LVMvolume, you will need to skip LVCB from both the file <strong>and</strong> destination volume.The following dd comm<strong>and</strong> can be used <strong>for</strong> this purpose.dd if= of=/dev/ bs=512 skip=1 seek=1The above comm<strong>and</strong> sets the block size to 512 bytes, which will make copyingvery slow. It is better to use bs=1m or similar. Here is a faster (but morecomplicated) way to copy image data:1. Save the original first sector to a file:dd if=/dev/ of=firstblk.tmp bs=512 count=12. Copy the restored image:dd if= of=/dev/ bs=1m3. Restore the original first sector:dd if=firstblk.tmp of=/dev/ bs=512 count=1Per<strong>for</strong>ming an image restore using the GUIUse the following procedure to restore an image of your file system or raw logicalvolume:1. Click Restore from the main window. The Restore window appears.2. Exp<strong>and</strong> the directory tree.3. Locate the object in the tree named Image <strong>and</strong> exp<strong>and</strong> it. Click the selectionbox next to the image you want to restore. You can obtain detailed in<strong>for</strong>mationabout the object by highlighting the object <strong>and</strong> selecting View → File Details...from the main window or click the View File details button.Chapter 5. Restoring your data 129

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

Saved successfully!

Ooh no, something went wrong!