joomlatools/joomla-console-backup

Example plugin: a backup command for joomla-console


Keywords
console
License
MPL-2.0

Documentation

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.

Installation

  1. Run the following command

    $ joomla plugin:install joomlatools/console-backup

  2. Verify that the plugin is available:

    $ joomla plugin:list

  3. 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 --directory flag.

  4. 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.

Requirements

Contributing

The 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.

Contributors

See the list of contributors.

License

This plugin is free and open-source software licensed under the MPLv2 license.

Community

Keep track of development and community news.