SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from CentOS 8 xfsdump-3.1.8-2.el8.i686.rpm

xfsinvutil

Section: Maintenance Commands (8)
Index 

NAME

xfsinvutil - xfsdump inventory database checking and pruning utility 

SYNOPSIS

xfsinvutil [-F|-i] [-m media_label] -M mount_point mm/dd/yyyyxfsinvutil [-F|-i] [-m media_label] -u UUID mm/dd/yyyyxfsinvutil [-F] -s SESSION_IDxfsinvutil -ixfsinvutil -C
 

DESCRIPTION

xfsdump maintains an online dump inventory in /var/lib/xfsdump/inventory.The-Ioption of xfsdump displays the inventory contents hierarchically.The levels of the hierarchy are:filesystem,dump session,stream, andmedia file.xfsinvutil is a utility to check this inventory database for consistency,to remove entries of dump sessions which may no longer be ofrelevance, and to browse the contents of the inventory.The following command line options are available:
-F
Don't prompt the operator. Whenxfsinvutilencounters a matching dump session,xfsinvutilwill normally ask the operator for permission to delete theentry. With this option the deletion is performed, no questions asked.
-i
Interactive mode. Causesxfsinvutilto run in a mode that will allow the operator to browse and modify thecontents of the inventory. Please refer to theInteractive Modesection below for more information.
-M mount_point mm/dd/yyyy
Prunes dump sessions identified by the given mount point which werecreated prior to the specified date. Optionally -m may bebe specified to further limit the matching dump sessions by medialabel.xfsinvutilwill prompt the operator prior to pruning a dump session unlessthe -F or -i options are given.
-u UUID mm/dd/yyyy
Like -M, except the matching filesystem is specifiedusing its universally unique identifier (UUID) instead of its mount point.
-m media_label
If specified, only sessions with at least one media file whose labelmatches this value will be eligible for pruning. This restriction isin addition to those imposed by the date and the -M or-u options. This option allows the pruning of all inventoryreferences to media which may have been overwritten or lost. Note thatthis option does not apply to sessions with no media files.
-s SESSION_ID
Prunes the dump session identified by the given session id.xfsinvutilwill prompt the operator prior to pruning a dump session unlessthe -F option is given.
-C
With this option, xfsinvutil performs consistency checks for all entries in the inventory database.It fixes any problems found. If no consistent entries are found , thecorresponding inventory database file is removed.
 

Interactive Mode

When run with -i,xfsinvutilwill present the operator with a hierarchical representation of thexfsdumpinventory. In this mode, the operator can use the arrow keys (orthe hjklkeys)to navigate the inventory and also use the following keys andfunctionality:
+
Expand a branch of the tree.
-
Collapse a branch of the tree.
*
Fully expand a branch of the tree.
%
Fully collapse a branch of the tree.
h
Move selection to the parent entry.
l
Move selection to the child entry.
j
Move selection to next entry.
k
Move selection to previous entry.
d
Mark the current record, and all sub-records, to be deleted.
u
Clear the current record and all parent records from being deleted.
i
Import anotherxfsdumpinventory.
?
Show help window.
x
Commit any changes made to the inventory, and exit the program.
q
Exit the program without committing any changes to the inventory.Inventories from other hosts can be imported to create a larger commoninventory. It is recommended that the contents of /var/lib/xfsdump/inventoryon the remote host be copied to a temporary local directory prior torunningxfsinvutil.Whenxfsinvutilis run in interactive mode, and the operator hitsi,they will be prompted for the path to the inventory to be imported.xfsinvutilwill then add the contents of the imported inventory to the mainwindow, and all entries will be marked as imported. The operator canthen delete any of these entries that are not to be imported. When theoperator commits the changes,xfsinvutilwill import any entries which were not marked as deleted. Deleted entries arenot actually deleted from the original imported inventory.
 

NOTES

 

Inventory

Each dump session updates an inventory database in /var/lib/xfsdump/inventory.xfsdumpuses the inventory to determine the base of incrementaland resumed dumps.This database can be displayed by invokingxfsdumpwith the-Ioption.The display uses tabbed indentation to present the inventoryhierarchically.The first level is filesystem.The second level is session.The third level is media stream (currently only one stream is supported).The fourth level lists the media files sequentially composing the stream. 

FILES

/var/lib/xfsdump/inventory
dump inventory database
 

SEE ALSO

xfsdump(8),xfsrestore(8).


 

Index

NAME
SYNOPSIS
DESCRIPTION
Interactive Mode
NOTES
Inventory
FILES
SEE ALSO

This document was created byman2html,using the manual pages.