Backup and restore de database
based on the XT Dump
script with the agreement of the author
Use it carrefully. For the first use, make a backup with another tool like phpmyadmin in case of problem.
I've tested on my server and it works, but if a developper can have a look it will be better
I hope this plugin can help people who are searching a backup way without using external tools like phpmyadmin.What it is
This plugin is a simple way for backup and restore the Coppermine database directly from the admin menu:
there are three actions possible:
*Backup the database. The plugin will create a database dump in the /dumps/ folder on your server. You have the possibility to dowload the file on your computer
*Restore the database. The plugin restore the database from the dump on your server.
*Managing the dump files on your server. You can download files on your local computer or delete old dump files from your server.INSTALL
* Unpack the archive and upload the "backup" directory structure to your Coppermine
gallery's plugins folder.
* Login as an admin, go to config, then "Manage Plugins"
* Find the backup entry in the available plugins and click install.
* When logged in as admin you will have a new admin menu button (backup/restore) to launch the processUSE
*Backup: The plugin create a dump from your database in the /plugins/backup/dumps/ folder on your coppermine install (server)
You can dowload the file on your computer (local) by clicking the button on end of the process
*Restore: The plugin restores your database with the dump file you choose in the dropdown list (all dump files in the /dumps/ folder)
if you wish to use a backup file which is not present on your server, it will have to be placed in the backup plugin /dumps/folder using the ftp
*Managing dump files:With this option you can manage the dump files in your backup plugin /dumps/ folder.
You can dowload the files on your local installation or delete old filesModifications
*Little correction in the gest.php file (thank's Hein for report)
*New 2.3 version (by Joachim Müller) LANGUAGE
The plugin comes with english and french language files
Italian translation added (thank's Angeldevil)
Dutch translation added (thank's Hein)
German translation added (thank's AlexL)