Create README.md
Added the config dirs to the gitignore so mine are not always in there
Started to use more symfony-esq components to build the command. This way we can use options and arguments with symfony
Added in new utils to autoloader
The command is now able to load all servers and docroots if no arguments are given as default
Added in the logic to check whether server/docroot/env exists in that configuration so when we run through the big nested foreach we only run the backup on existing configs
Started working on the SCP transfer steps of the command. Going to try to use libssh2 functions first but allowing a fallback to escape to shell
Removed my config files from the repo, will replace with some example ones in due course
I don't know wtf I was thinking trying to use ssh functions to transfer data. This is a preliminary commit that works and rsyncs etc. There'll be a butt-tonne of cleaning up code, documenting, error checking etc but eh this works.
Update README.md
Altered some of the config instructions to be a little more in-line with that in the README
Allows verbosity to be configured
code and files may now be downloaded individually. Also changed the naming convention on the backup folders to be a little more intuitive - ie docroots are the top level
Switched around some of the logic in the actual backup/rsync logic to make it neater
Forced the addition of a couple of example config files so users downloading this script have a guide as to how they're structured
Added in a version for when -V is called and removed the commented out calls to unused Classes
Cleaned up the backup command file to remove a number of unneeded methods
Added in the local config
Made one of the files methods static and instantiated the array correctly
Cleaned up the files, added in newlines, deleted unused vars and files etc