From 2efb8936a5a80973313fee102b2b7c900d41ea0e Mon Sep 17 00:00:00 2001 From: lissav Date: Fri, 28 Mar 2008 13:42:31 +0000 Subject: [PATCH] update manpage git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@925 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client-2.0/pods/man8/tabdump.8.pod | 5 ++--- xCAT-client-2.0/pods/man8/tabrestore.8.pod | 7 +++---- 2 files changed, 5 insertions(+), 7 deletions(-) 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