blob: f0a8b0d68957c818dce38f9942764d5f6c93e802 [file] [log] [blame]
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
]>
<chapter id="xfs-dump-and-restore">
<title>XFS Dump and Restore</title>
<section>
<title>Dump and Restore</title>
<para>This section describes</para>
<itemizedlist>
<listitem><para>The differences between xfsdump, xfs_copy and other backup applications</para></listitem>
<listitem><para>How to use xfsdump and xfsrestore to backup and restore an XFS filesystem</para></listitem>
<listitem><para>How to use xfs_copy to copy an XFS filesystem</para></listitem>
</itemizedlist>
</section>
<section>
<title>Dump vs Copy vs Backup</title>
<para>xfsdump understands all the extensions in an XFS filesystem, so all attributes will be backed up and restored</para>
<para>xfs_copy TODO</para>
<para>Traditional backup applications may not backup all attributes, but they provide other management features</para>
<itemizedlist>
<listitem><para>Some are still limited to 32bit inodes</para></listitem>
</itemizedlist>
</section>
<section>
<title>xfsdump - Features</title>
<para>xfsdump and xfsrestore support the following:</para>
<itemizedlist>
<listitem><para>XFS features including 64-bit inode numbers, file lengths, and holes</para></listitem>
<listitem><para>regular, directory, symbolic link, block and character special, FIFO,
and socket file types</para></listitem>
<listitem><para>retain hard links.</para></listitem>
<listitem><para>multiple media types (tape, files)</para></listitem>
<listitem><para>do not affect the state of the filesystem being dumped (for example,
access times are retained).</para></listitem>
<listitem><para>xfsrestore detects and bypasses media errors and recovers rapidly after
encountering them.</para></listitem>
<listitem><para>xfsdump does not crossmount points, local or remote</para></listitem>
<listitem><para>support for automated and incremental backups</para></listitem>
</itemizedlist>
</section>
<section>
<title>TODO</title>
<para><programlisting>
xfsdump – Media Layout
xfsdump – Local Tape
xfsdump – Remote Tape
xfsdump – Backup to a File
xfsdump – Incremental Dumps
xfsdump – Resuming Dumps
xfsdump – Querying Dumps
xfsrestore – Local Tape
xfsrestore – Remote Tape
xfsrestore – Restore from File
xfsrestore - Interactive
xfsrestore – Cumulative
Do these still apply?
Linux xfsdump/xfsrestore does not support:
– multiple tape devices using multiple -f options
– IRIXdumpoption-z (prune large files)
– DMAPIrelatedoptionsof-a and -D
Linux xfsdump/xfsrestore does, however, have the added capabilities of
unrestricted use of the -b option for blocksize specification and remote
dumping/restoring between Linux and IRIX host
xfs_copy
TODO
</programlisting></para>
</section>
</chapter>