PHP backup framework and command line tool