85010da29d
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
58 lines
1.1 KiB
Plaintext
58 lines
1.1 KiB
Plaintext
=head1 NAME
|
|
|
|
B<restorexCATdb> - restores the xCAT db tables .
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
B<restorexCATdb> [B<-a>] [B<-V>] [{B<-p>|B<--path>} I<path>]
|
|
|
|
B<restorexCATdb> [B<-h>|B<--help>] [B<-v>|B<--version>]
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
The restorexCATdb command restores the xCAT database tables from the directory given by the -p flag.
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
B<-h> Display usage message.
|
|
|
|
B<-v> Command Version.
|
|
|
|
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.
|
|
|
|
B<-p> Path to the directory containing the database restore files.
|
|
|
|
|
|
=head1 RETURN VALUE
|
|
|
|
0 The command completed successfully.
|
|
|
|
1 An error has occurred.
|
|
|
|
=head1 EXAMPLES
|
|
|
|
1. To restore the xCAT database from the /tmp/db directory, enter:
|
|
|
|
B<restorexCATdb -p /tmp/db>
|
|
|
|
2. To restore the xCAT database including auditlog and eventlog from the /tmp/db directory, enter:
|
|
|
|
B<restorexCATdb -a -p /tmp/db>
|
|
|
|
|
|
=head1 FILES
|
|
|
|
/opt/xcat/sbin/restorexCATdb
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
L<dumpxCATdb(1)|dumpxCATdb.1>
|
|
|
|
|