diff --git a/xCAT-client/pods/man1/dumpxCATdb.1.pod b/xCAT-client/pods/man1/dumpxCATdb.1.pod index 6a3fa05f7..f817175cf 100644 --- a/xCAT-client/pods/man1/dumpxCATdb.1.pod +++ b/xCAT-client/pods/man1/dumpxCATdb.1.pod @@ -17,7 +17,7 @@ If not using the binary dump option (-b), then the dumpxCATdb command creates .c Supports using XCAT_SKIPTABLES env variable to provide a list of skip tables. The command will never backup TEAL or ISNM tables, except isnm_config. To dump TEAL tables use the documented process for TEAL. For ISNM use tabdump, after using tabprune to get to prune unnecessary records. -If using the binary dump option for the DB2 database, then the routine will use the Database provide utilites for backup of the entire DB2 database. +If using the binary dump option for the DB2 or postgreSQL database, then the routine will use the Database provide utilites for backup of the entire database. =head1 OPTIONS @@ -30,9 +30,9 @@ 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 use 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 xCAT DB2 documentation for more instructions. +B<-b> This flag is only used for the DB2 or postgreSQL database. The routine will use the database backup utilities to create a binary backup of the entire database. Note to use this backup on DB2, you will have first had to modify the logging of the database and have taken an offline initial backup. Refer to the xCAT DB2 documentation for more instructions. -B<-p> Path to the directory to dump the tables. It will be created, if it does not exist. +B<-p> Path to the directory to dump the database. It will be created, if it does not exist. =head1 RETURN VALUE diff --git a/xCAT-client/pods/man1/restorexCATdb.1.pod b/xCAT-client/pods/man1/restorexCATdb.1.pod index 77203d388..5fab3d4ac 100644 --- a/xCAT-client/pods/man1/restorexCATdb.1.pod +++ b/xCAT-client/pods/man1/restorexCATdb.1.pod @@ -16,9 +16,9 @@ B [B<-h>|B<--help>] [B<-v>|B<--version>] If not using binary restore(-b), the restorexCATdb command restores the xCAT database tables from the *.csv files in directory given by the -p flag. The site table skiptables attribute can be set to a list of tables not to restore. It will not restore isnm_perf* tables. See man dumpxCATdb. -If using the binary restore option for DB2, the entire database is restored from the binary backup made with dumpxCATdb. The database will be restored using DB2 Utilities. The timestamp of the correct DB2 backup file (-t) must be provided. +If using the binary restore option for DB2 or postgreSQL, the entire database is restored from the binary backup made with dumpxCATdb. The database will be restored using the database Utilities. For DB2, the timestamp of the correct DB2 backup file (-t) must be provided. All applications accessing the DB2 database must be stopped before you can use the binary restore options. See the xCAT DB2 document for more information. - +For postgreSQL, you do not have to stop the applications accessing the database and the complete path to the backup file, must be supplied on the -p flag. =head1 OPTIONS @@ -34,9 +34,9 @@ These tables are skipped by default because restoring will generate new indexes B<-b> Restore from the binary image. -B<-p> Path to the directory containing the database restore files. +B<-p> Path to the directory containing the database restore files. If restoring from the binary image (-b) and using postgeSQL, then this is the complete path to the restore file that was created with dumpxCATdb -b. -B<-t> Use with the -b flag to designate the timestamp of the binary image to use to restore. +B<-t> Use with the -b flag to designate the timestamp of the binary image to use to restore for DB2. =head1 RETURN VALUE @@ -54,10 +54,13 @@ B B -3. To restore the xCAT database from the binary image with timestamp 20111130130239 enter: +3. To restore the xCAT DB2 database from the binary image with timestamp 20111130130239 enter: B +4. To restore the xCAT postgreSQL database from the binary image file pgbackup.20553 created by dumpxCATdb enter: + +B =head1 FILES