Dump Joomla database, and simplify extension development
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
compress.php
dump.sh
extract.php
joomdump.phar

README.md

joomdump

Originally created to dump Joomla database, and simplify extension development.

Usage

  • Dump table jos_content, (structure and data):
php -f joomdump.phar -- --tables=content:dump \
       --db=joomla --pass=r00t --user=root --host=localhost --prefix=jos_
  • Dump schema of content table, and data information of categories table
php -f joomdump.phar -- --tables=content:schema,categories:data \
       --db=joomla --pass=r00t --user=root --host=localhost --prefix=jos_
  • Dump data information of categories table, returning rows that comply condition of filter
php -f joomdump.phar -- --tables=categories:data#"extension='com_content'" \
       --db=joomla --pass=r00t --user=root --host=localhost --prefix=jos_

Syntax of tables option

--tables=TABLENAME[:(dump|data|schema)[#"SQLField='condition'"]]