howtomakeaturn / db-2-dropbox
Backup your database to dropbox easily.
0.1.3
2017-06-13 12:55 UTC
Requires
- ifsnop/mysqldump-php: 2.*
- kunalvarma05/dropbox-php-sdk: ^0.2.0
Requires (Dev)
- phpunit/phpunit: ~5.0
- vlucas/phpdotenv: ^2.4
This package is auto-updated.
Last update: 2024-12-10 21:14:32 UTC
README
Backup your database to dropbox easily.
Installation
You can just download the file to your project, or install it via composer:
composer require "howtomakeaturn/db-2-dropbox"
Usage
Get dropbox app key, secret, and access token from Dropbox App Console (Choose 'App folder' for the type)
$db2d = new Db2d(); $db2d->configureDatabase($db, $username, $password); $db2d->configureDropbox($app_key, $app_secret, $access_token); $db2d->backup();
And then you can see your database backup in the dropbox folder!