2008-03-18 18:13:34 +00:00
=head1 NAME
2008-04-02 21:42:29 +00:00
B<restorexCATdb> - restores the xCAT db tables .
=head1 SYNOPSIS
2008-03-18 18:13:34 +00:00
2010-04-30 13:44:40 +00:00
B<restorexCATdb> [B<-a>] [B<-V>] [{B<-p>|B<--path>} I<path>]
2008-03-18 18:13:34 +00:00
2008-04-02 21:42:29 +00:00
B<restorexCATdb> [B<-h>|B<--help>] [B<-v>|B<--version>]
2008-03-18 18:13:34 +00:00
=head1 DESCRIPTION
2011-05-26 18:22:44 +00:00
The restorexCATdb command restores the xCAT database tables from the directory given by the -p flag. The site table skiptables attribute can be set to a list of tables not to restore. See man dumpxCATdb.
2008-03-18 18:13:34 +00:00
=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
2010-04-30 13:44:40 +00:00
B<-V> Verbose.
B<-a> All,without this flag the eventlog and auditlog will be skipped.
These tables are skipped by default because restoring will generate new indexes.
2008-04-02 21:42:29 +00:00
B<-p> Path to the directory containing the database restore files.
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 restore the xCAT database from the /tmp/db directory, enter:
2008-03-18 18:13:34 +00:00
2008-04-02 21:42:29 +00:00
B<restorexCATdb -p /tmp/db>
2008-03-18 18:13:34 +00:00
2010-04-30 13:44:40 +00:00
2. To restore the xCAT database including auditlog and eventlog from the /tmp/db directory, enter:
B<restorexCATdb -a -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/restorexCATdb
2008-08-02 16:18:07 +00:00
=head1 SEE ALSO
2008-03-18 18:13:34 +00:00
2008-08-02 16:18:07 +00:00
L<dumpxCATdb(1)|dumpxCATdb.1>
2008-03-18 18:13:34 +00:00
2008-04-02 21:42:29 +00:00