Starting FSE restore

The fserestore command

To start FSE restore, run the fserestore command on the FSE server. The command performs all steps of the restore process. Common synopsis of the fserestore command is the following:

fserestore -–file BackupFileName

fserestore ––device DeviceFile

[––offset OffsetNumber [––count CountNumber]] [––retrieve–to DirectoryPath]

The option --fileselects backup image stored in the file BackupFileName on disk as the restore source, and the option --deviceselects a backup image stored on tape as the source for backup image retrieval or actual restore.

When tape is selected as the restore source, by default, the most recent backup image stored on the backup FSE medium is used for retrieval or performing actual restore. Using the option ––offset, you can direct fserestore to use an older backup image for either operation.

If either of the options --countand --retrieve-tois specified, fserestore only copies the selected backup images to disk. The argument CountNumber specifies how many backup images will be copied, and the argument DirectoryPath specifies the destination directory. If --countis specified and --retrieve-tois omitted, the backup images will be copied to FSE disk buffer.

For additional information on the fserestore command, see the fserestore man page.

Examples of restoring from disk

The FSE restore process will use the backup image stored on the share

\\backup–server\backup_share under the name backup_image.tar.bz2 as the restore source. In this example, the FSE server is running on a Windows host:

C:\>fserestore --file \\backup–server\backup_share\backup_image.tar.bz2

The FSE restore process will use the backup image stored on the file system /mnt/backup under the name backup_image_file.tar.bz2 as the restore source. In this example, the FSE server is running on a Linux host:

# fserestore --file /mnt/backup/backup_image_file.tar.bz2

Examples of restoring from tape

The FSE restore process will use latest backup image stored on tape medium as the restore source. It will use the backup FSE medium loaded in the drive with SCSI ID 0:1:0:0. In this example, the FSE server is running on a Windows host:

fserestore –-device id:0:1:0:0

The FSE restore process will use the third most recent backup image stored on tape medium as the restore source. It will use the backup FSE medium loaded in the drive with control device /dev/sg4. In this example, the FSE server is running on a Linux host:

fserestore –-device /dev/sg4 --offset 3

Examples of retrieving backup images from tape

The FSE restore process will not perform actual restore, but will only copy the latest backup image stored on tape medium to the share \\storagedepot\backup_images. It will use the backup FSE medium loaded in the drive with SCSI ID 0:3:0:0, and will report target location of the backup image in the FSE disk buffer. In this example, the FSE server is running on a Windows host:

fsebackup --device id:0:3:0:0 --offset 1 --count 1 --retrieve-to \\storagedepot\backup_images

232 Backup, restore, and recovery