Joomlatools Console - Example Plugin
This is an example plugin for use with the Joomlatools Console.
The plugin adds a
site:backup command which you can use to
quickly create a database dump and tar file of any installed Joomla site.
- Run the following command
$ joomla plugin:install joomlatools/console-backup
- Verify that the plugin is available:
$ joomla plugin:list
- You can now create a backup of a site by running the following command:
$ joomla site:backup sitename
The tarball and mysql dump will be stored in your home folder. You can change this using the
For available options, run
$ joomla help site:backup
Writing your own plugin
It's very easy to add custom commands to the tool. We recommended installing this plugin on your local setup and then starting off from there. You can find a step-by-step description in our developer documentation.
- Joomlatools Console >= 1.3
joomlatools/console-backup plugin is an open source, community-driven project. Contributions are welcome from everyone. We have contributing guidelines to help you get started.
See the list of contributors.
This plugin is free and open-source software licensed under the MPLv2 license.
Keep track of development and community news.