howtomakeaturn/db-2-dropbox

Backup your database to dropbox easily.

0.1.3 2017-06-13 12:55 UTC

This package is auto-updated.

Last update: 2024-10-10 20:54:53 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!