Most UNIX/Linux commands have manual (man) pages.
Typing "man xfsrestore" could help.
I don't use xfsrestore but found its man page online at:
http://linux.die.net/man/8/xfsrestore
Based on my read of that you should use the -I option rather than the -t.
Extracts from that:
Quote:
-I
Causes the xfsdump inventory to be displayed (no restore is performed). Each time xfsdump is used, an online inventory in /var/lib/xfsdump/inventory is updated. This is used to determine the base for incremental dumps. It is also useful for manually identifying a dump session to be restored (see the -L and -S options). Suboptions to filter the inventory display are described later.
|
Quote:
An additional media file is placed at the end of each dump stream. This media file contains the inventory information for the current dump session. If the online inventory files in /var/lib/xfsdump/inventory are missing information for the current dump session, then the inventory information in the media file is automatically added to the files in /var/lib/xfsdump/inventory. If you wish to incorporate the inventory information from the media file without restoring any data, you may do so using the -t option:
# xfsrestore -t -f /dev/tape
This is useful to rebuild the inventory database if it is ever lost or corrupted. The only caveat is that xfsrestore needs to read through the entire dump in order to reach the inventory media file. This could become time consuming for dump sessions with large media files.
|
The latter discussion of -t clearly indicates it will read the entire dump to find the inventory at the end rather than using the one on your system as -I apparently does.