diff --git a/xCAT-client-2.0/pods/man8/tabdump.8.pod b/xCAT-client-2.0/pods/man8/tabdump.8.pod index 1cc498a33..6d14e6895 100644 --- a/xCAT-client-2.0/pods/man8/tabdump.8.pod +++ b/xCAT-client-2.0/pods/man8/tabdump.8.pod @@ -62,8 +62,7 @@ To see what tables exist in the xCAT database: To back up all the xCAT database tables: - mkdir -p /tmp/xcatdb.backup - for i in `tabdump`;do echo "Dumping $i..."; tabdump $i > /tmp/xcatdb.backup/$i.csv; done +dumpxCATdb -p =item * @@ -85,4 +84,4 @@ To display a description of each column in the nodehm table: =head1 SEE ALSO -tabrestore(1), tabedit(1) \ No newline at end of file +tabrestore(1), tabedit(1), dumpxCATdb(1) diff --git a/xCAT-client-2.0/pods/man8/tabrestore.8.pod b/xCAT-client-2.0/pods/man8/tabrestore.8.pod index 040435a22..99be6ca7a 100644 --- a/xCAT-client-2.0/pods/man8/tabrestore.8.pod +++ b/xCAT-client-2.0/pods/man8/tabrestore.8.pod @@ -59,10 +59,9 @@ The file mp.csv could contain something like: =item * -To restore database tables that were dumped with tabdump: +To restore database tables that we dumped with dumpxCATdb: - cd /tmp/xcatdb.backup - for i in *.csv;do echo "Restoring $i..."; tabrestore $i; done +restorexCATdb -p