update man page for -b option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11085 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e172ed8f8d
commit
a3513f160a
@ -6,6 +6,8 @@ B<dumpxCATdb> - dumps the xCAT db tables .
|
||||
|
||||
B<dumpxCATdb> [B<-a>] [B<-V>] [{B<-p>|B<--path>} I<path>]
|
||||
|
||||
B<dumpxCATdb> [B<-b>] [B<-V>] [{B<-p>|B<--path>} I<path>]
|
||||
|
||||
B<dumpxCATdb> [B<-h>|B<--help>] [B<-v>|B<--version>]
|
||||
|
||||
|
||||
@ -27,6 +29,14 @@ B<-V> Verbose.
|
||||
|
||||
B<-a> All,without this flag the eventlog and auditlog will be skipped.
|
||||
|
||||
B<-b> This flag is only used for the DB2 database. The routine will
|
||||
the DB2 backup utilities to create a binary backup of the entire
|
||||
DB2 database. Note to use this backup, you will have first had
|
||||
to modify the logging of the database and have taken an offline
|
||||
initial backup. Refer to the documentation at the following link
|
||||
for more instructions:
|
||||
https://sourceforge.net/apps/mediawiki/xcat/index.php?title=Setting_Up_DB2_as_the_xCAT_DB#Backup.2FRestore_the_database_with_DB2_Commands
|
||||
|
||||
B<-p> Path to the directory to dump the tables. It will be created, if it does not exist.
|
||||
|
||||
|
||||
@ -46,18 +56,23 @@ B<dumpxCATdb -p /tmp/db>
|
||||
|
||||
B<dumpxCATdb -a -p /tmp/db>
|
||||
|
||||
2. To have dumpxCATdb not backup the hosts or passwd table:
|
||||
3. To have dumpxCATdb not backup the hosts or passwd table:
|
||||
|
||||
B<chtab key=skiptables site.value="hosts,passwd">
|
||||
|
||||
B<dumpxCATdb -p /tmp/db>
|
||||
|
||||
2. To have dumpxCATdb not backup the hosts or passwd table:
|
||||
4. To have dumpxCATdb not backup the hosts or passwd table:
|
||||
|
||||
B<export XCAT_SKIPTABLES="hosts,passwd">
|
||||
|
||||
B<dumpxCATdb -p /tmp/db>
|
||||
|
||||
5. To have dumpxCATdb use DB2 utilities to backup the DB2 database:
|
||||
|
||||
B<dumpxCATdb -b -p /install/db2backup>
|
||||
|
||||
|
||||
=head1 FILES
|
||||
|
||||
/opt/xcat/sbin/dumpxCATdb
|
||||
|
Loading…
Reference in New Issue
Block a user