Nanbando is a simple backup cli-application. It enhances the developer to easily configure backups and automate them via cronjob.
Core Concept
The main part of the application is a phar file which contains all the dependencies which is needed to create a simple directory backup and push the to a remote storage.
But this is mostly not the whole story - most web applications also relies for example on a database which has to be included in the backup to be sure that the state of the application can be restored later. Another example is Sulu, which needs also to backup multiple parts of the jackrabbit repository.
This additional backup strategies - called plugins - can be installed via embedded-composer - which is also integrated in the phar file. The simple json formatted configuration which contains the plugin-dependencies and backup parts will be stored in a file named "nanbando.json". This file can also be pushed to you repository and deployed to your live server.
On the server the phar is able to initialize the plugins and backups can be created or restored.