2008-02-14 14:25:49 +00:00
=head1 NAME
2008-03-05 16:49:19 +00:00
B<tabdump> - display an xCAT database table in CSV format.
2008-02-14 14:25:49 +00:00
=head1 SYNOPSIS
2008-03-05 16:49:19 +00:00
B<tabdump> [I<-d>] [I<table>]
2008-02-14 14:25:49 +00:00
2008-03-05 16:49:19 +00:00
B<tabdump> [I<-?> | I<-h> | I<--help>]
2008-02-14 14:25:49 +00:00
=head1 DESCRIPTION
2008-02-21 21:10:35 +00:00
The tabdump command displays the header and all the rows of the specified table in CSV (comma separated values) format.
2008-02-14 14:25:49 +00:00
Only one table can be specified. If no table is specified, the list of existing
tables will be displayed.
=head1 OPTIONS
2008-03-05 16:49:19 +00:00
=over 10
2008-02-21 21:10:35 +00:00
2008-03-05 16:49:19 +00:00
=item B<-?|-h|--help>
Display usage message.
=item B<-d>
Show descriptions of the tables, instead of the contents of the tables. If a table name is also specified, descriptions of the columns (attributes) of the table will be displayed. Otherwise, a summary of each table will be displayed.
=back
2008-02-14 14:25:49 +00:00
=head1 RETURN VALUE
2008-03-05 16:49:19 +00:00
=over 3
=item 0
The command completed successfully.
=item 1
An error has occurred.
2008-02-14 14:25:49 +00:00
2008-03-05 16:49:19 +00:00
=back
2008-02-14 14:25:49 +00:00
=head1 EXAMPLES
2008-03-05 16:49:19 +00:00
=over 2
2008-02-14 14:25:49 +00:00
2008-03-05 16:49:19 +00:00
=item *
2008-02-14 14:25:49 +00:00
2008-03-05 16:49:19 +00:00
To display the contents of the site table:
2008-02-14 14:25:49 +00:00
2008-03-05 16:49:19 +00:00
B<tabdump> I<site>
2008-02-18 15:57:25 +00:00
2008-03-05 16:49:19 +00:00
=item *
To see what tables exist in the xCAT database:
B<tabdump>
=item *
To back up all the xCAT database tables:
2008-02-18 15:57:25 +00:00
2008-03-28 13:42:31 +00:00
dumpxCATdb -p <backup directory>
2008-02-14 14:25:49 +00:00
2008-03-05 16:49:19 +00:00
=item *
To display a summary description of each table:
B<tabdump> I<-d>
=item *
2008-02-21 21:10:35 +00:00
2008-03-05 16:49:19 +00:00
To display a description of each column in the nodehm table:
2008-02-21 21:10:35 +00:00
2008-03-05 16:49:19 +00:00
B<tabdump> I<-d nodehm>
2008-02-21 21:10:35 +00:00
2008-03-05 16:49:19 +00:00
=back
2008-02-21 21:10:35 +00:00
2008-02-14 14:25:49 +00:00
=head1 FILES
/opt/xcat/sbin/tabdump
2008-03-05 16:49:19 +00:00
=head1 SEE ALSO
2008-02-14 14:25:49 +00:00
2008-08-02 16:18:07 +00:00
L<tabrestore(8)|tabrestore.8>, L<tabedit(8)|tabedit.8>, L<dumpxCATdb(1)|dumpxCATdb.1>