2008-03-18 18:13:34 +00:00
=head1 NAME
2008-04-02 21:42:29 +00:00
B<dumpxCATdb> - dumps the xCAT db tables .
=head1 SYNOPSIS
2008-03-18 18:13:34 +00:00
2008-04-02 21:42:29 +00:00
B<dumpxCATdb> [{B<-p>|B<--path>} I<path>]
2008-03-18 18:13:34 +00:00
2008-04-02 21:42:29 +00:00
B<dumpxCATdb> [B<-h>|B<--help>] [B<-v>|B<--version>]
2008-03-18 18:13:34 +00:00
=head1 DESCRIPTION
The dumpxCATdb command creates .csv files for all xCAT database tables and puts them in the directory given by the -p flag. These files can be used by the restorexCATdb command to restore the database.
=head1 OPTIONS
B<-h> Display usage message.
2008-04-02 21:42:29 +00:00
B<-v> Command Version.
2008-03-18 18:13:34 +00:00
2008-04-02 21:42:29 +00:00
B<-p> Path to the directory to dump the tables.
2008-03-18 18:13:34 +00:00
=head1 RETURN VALUE
0 The command completed successfully.
1 An error has occurred.
=head1 EXAMPLES
2008-04-02 21:42:29 +00:00
1. To dump the xCAT database into the /tmp/db directory, enter:
2008-03-18 18:13:34 +00:00
2008-04-02 21:42:29 +00:00
B<dumpxCATdb -p /tmp/db>
2008-03-18 18:13:34 +00:00
=head1 FILES
2008-04-02 21:42:29 +00:00
2008-03-18 18:13:34 +00:00
/opt/xcat/sbin/dumpxCATdb
=head1 NOTES
This command is part of the xCAT software product.
See restorexCATdb
2008-04-02 21:42:29 +00:00