[Netpass-devel] NetPass/install.d convertdb,1.3,1.4
Brought to you by:
jeffmurphy
From: jeff m. <jef...@us...> - 2005-05-02 18:43:12
|
Update of /cvsroot/netpass/NetPass/install.d In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4980/install.d Modified Files: convertdb Log Message: db changes Index: convertdb =================================================================== RCS file: /cvsroot/netpass/NetPass/install.d/convertdb,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- convertdb 2 May 2005 17:06:25 -0000 1.3 +++ convertdb 2 May 2005 18:43:02 -0000 1.4 @@ -36,7 +36,7 @@ #Error 1296: Got error 241 'Invalid schema object version' from ndbcluster when dumping table `users` at row: 0 # on the first attempt (when you run this on another server) -for i in users config ; do +for i in users config pages nessusScans snortRules ; do myecho "Backing up $i table to /tmp/$i.sql .." $MD -ce -u root netpass $i 2> /dev/null > /tmp/${i}.sql $MD -ce -u root netpass $i 2> /dev/null > /tmp/${i}.sql @@ -69,7 +69,7 @@ myecho "Re-importing config data ..." -for i in users config ; do +for i in users config pages nessusScans snortRules ; do myecho " from /tmp/$i.sql to table $i ..." $M -fu root netpass < /tmp/${i}.sql done |