xfsdump

From RaySoft

xfsdump backs up files and their attributes in a filesystem. The files are dumped to storage media, a regular file, or standard output. Options allow the operator to have all files dumped, just files that have changed since a previous dump, or just files contained in a list of pathnames.[1]

The xfsrestore utility re-populates a filesystem with the contents of the dump.[1]

Documentation

Syntax

xfsdump [PARAMETER ...] -f DESTINATION1 [-f DESTINATION2 ...] FILESYSTEM

Parameters

-f DESTINATION
Specifies a dump DESTINATION. A dump destination can be the pathname of a device (such as a tape drive), a regular file or a remote tape drive. This option must be omitted if the standard output option is specified.
-L LABEL
Specifies a LABEL for the dump session. It can be any arbitrary string up to 255 characters long.
-M LABEL
Specifies a LABEL for the first media object written on the corresponding destination during the session. It can be any arbitrary string up to 255 characters long. Multiple media object labels can be specified, one for each destination.

Examples

Dump /home
xfsdump -f '/tmp/xfsdump.img' -L 'backup' -M 'backup-20100916' '/home'

References

  1. 1.0 1.1 man 8 'xfsdump'