joomlatools / joomla-console-backup
Example plugin: a backup command for joomla-console
Installs: 33
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 13
Forks: 2
Open Issues: 1
Type:joomlatools-console-plugin
This package is auto-updated.
Last update: 2021-10-06 12:30:03 UTC
README
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
- 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 --directory
flag.
-
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
- Composer
- Joomlatools Console >= 1.3
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.
- Follow @joomlatoolsdev on Twitter
- Join joomlatools/dev on Gitter
- Read the Joomlatools Developer Blog
- Subscribe to the Joomlatools Developer Newsletter