Little script to backup mysql database and chosen folders into a webdav storage.
Usage
php /path/to/index.php backup WebDavUser WebdavPass MysqlUser MysqlPass
Ensure existence and readability of /tmp/backups
before.
You may get a free 10 GB of webdav storage at Yandex Webdav