Installation guide

xfsrestore Simple Mode
55
resumed: NO
subtree: NO
streams: 1
stream 0:
pathname: /mnt/test2/backup
start: ino 0 offset 0
end: ino 1 offset 0
interrupted: NO
media files: 1
media file 0:
mfile index: 0
mfile type: data
mfile size: 21016
mfile start: ino 0 offset 0
mfile end: ino 1 offset 0
media label: "my_dump_media_label"
media id: 4a518062-2a8f-4f17-81fd-bb1eb2e3cb4f
xfsrestore: Restore Status: SUCCESS
xfsrestore Simple Mode
The simple mode allows users to restore an entire file system from a level 0 dump. After identifying a
level 0 dump's session ID (i.e. session-ID), restore it fully to /path/to/destination using:
xfsrestore -f /dev/st0 -S session-ID /path/to/destination
Note
The -f option specifies the location of the dump, while the -S or -L option specifies which
specific dump to restore. The -S option is used to specify a session ID, while the -L option is
used for session labels. The -I option displays both session labels and IDs for each dump.
xfsrestore Cumulative Mode
The cumulative mode of xfsrestore allows file system restoration from a specific incremental
backup, i.e. level 1 to level 9. To restore a file system from an incremental backup, simply add the -r
option, as in:
xfsrestore -f /dev/st0 -S session-ID -r /path/to/destination
Interactive Operation
The xfsrestore utility also allows specific files from a dump to be extracted, added, or deleted. To
use xfsrestore interactively, use the -i option, as in:
xfsrestore -f /dev/st0 -i
The interactive dialogue will begin after xfsrestore finishes reading the specified device. Available
commands in this dialogue include cd, ls, add, delete, and extract; for a complete list of
commands, use help.
For more information about dumping and restoring XFS file systems, refer to man xfsdump and man
xfsrestore.
9.8. Other XFS File System Utilities
Red Hat Enterprise Linux 6 also features other utilities for managing XFS file systems: