# Geeklog Dbman plugin

Author | mystral-kk <geeklog AT mystral-kk DOT net>
Latest version | 0.7.2 (2014-02-09)
System requirements | Geeklog-1.6.0 or newer, PHP-5.0.0 or newer
License | GPLv2 or later

## Abstract

The Dbman plugin backups/restores database WITHOUT using mysqldump(.exe).

## Install

In the following descriptions,

- <geeklog_dir> is the directory where the system db-config.php file resides
- <public_html> is the directory where lib-common.php file resides
- <admin> is the directory where the administration files reside (usually, under <public_html>)

1. Uncompress the dbman plugin archive while in the <geeklog_dir>/plugins directory. The archive will create a directory called dbman in the plugins directory.
2. Under your <admin>/plugins/ directory, create a directory called dbman.
3. Change to your <geeklog_dir>/plugins/dbman/admin directory and copy the files in the directory to the <admin>/plugins/dbman directory your created in step 2.
4. Log in to your Geeklog as a root user, go to the plugin editor and install Dbman plugin.

## Uninstall

1. Log in to your Geeklog as a root user and uninstall the Dbman plugin from plugin editor.
2. Delete the two plugin directories created in the install process: <geeklog-dir>/plugins/dbman and <admin>/plugins/dbman.

## History

Version | Date(YYYY-MM-DD) | Detail
--- | --- | ---
0.7.2 | 2014-02-09 | Updated to work when admin files are not located under $_CONF['site_url'] + /admin/'.
0.7.1 | 2012-09-30 | Updated to load "dbman.js" only when in admin screen.
0.7.0 | 2012-06-18 | Updated to work properly with Geeklog-2.0.0.
0.6.2 | 2012-04-22 | Fixed a bug which happens under certain conditions while uninstalling the plugin.
0.6.1 | 2011-10-31 | Fixed a bug where you couldn't upgrade from version 0.5.5 or older.
0.6.0 | 2011-10-29 | Updated to work properly with Geeklog-1.8.0.
0.5.5 | 2011-10-29 | Fixed a bug where you try to go to the Configuration panel after Dbman has been uninstalled. Thanks for reporting the bug, dengen!
0.5.4 | 2010-07-04 | Fixed a bug where 'TIMESTAMP' field was not processed as a string value.
0.5.3 | 2009-11-04 | Fixed an error when you choose a language other than English or Japanese.
0.5.2 | 2008-09-26 | Upgraded to prevent include-files to be directly accessed in some case-insensitive file systems (e.g. MS Windows).
0.5.1 | 2008-09-14 | Modified to work properly with PHP-4.x by not using htmlentities() and html_entity_decode() functions.
0.5.0 | 2008-07-26 | Modified to work properly with Geeklog-1.5 (Dbman works properly with Geeklog-1.4.x as well).
0.4.7 | 2007-12-20 | Fixed to back up and restore allowing for database prefix ($_DB_table_prefix).
0.4.6 | 2007-10-28 | Fixed not to display Dbman icon in the CC panel for non-Dbman-admin users.
0.4.5 | 2007-04-05 | Fixed a broken path in SQL console screen. Thanks Tsuchi!
0.4.4 | 2007-03-25 | Fixed to save CRLF correctly.
0.4.3 | 2006-08-06 | Now you can download backupped files simply by clicking on their respectives URL links. Added SQL console to input and execute SQL.
0.4.2 | 2006-07-03 | Modified to use $_Dbman_CONF['backup_except'] in deciding whether a table's contents should not be backupped. By default, Dbman *** doesn't *** backup tables created by GUS (Geeklog Usage Stats) plugin. If you'd like to change this, edit $_DBMAN_CONF['backup_except'] in <geeklog_dir>/plugins/dbman/config.php.
0.4.1 | 2006-07-03 | Modified to backup records in small chunks (default 100) to avoid "MySQL Client Out of Memory" error. Modfied to enabled plugin_upgrade_Dbman() to work properly.
0.4 | 2006-05-04 | Implemented a feature of restoring data from backup file.
0.3.1 | 2006-04-28 | Modified to save NULL values correctly.
0.3 | ? | Initial public release.