Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki

/root/scripts/SQLdump.sh: Difference between revisions

From COCNM
Jump to navigation Jump to search
m (1 revision)
 
(No difference)

Latest revision as of 02:19, 19 September 2013

#!/bin/sh
for i in fetch davical rtdb computerisms helpwiki; do su - postgres -c "pg_dump $i" > /root/SQLDumps/$i.psql; done
for i in asterisk asteriskcdrdb openbroadcaster rcmail; do mysqldump -u root -p"Bobs(abacus)2" $i > /root/SQLDumps/$i.sql; done