PHPackages                             kachkaev/dropbox-backup-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. kachkaev/dropbox-backup-bundle

Abandoned → [zenstruck/backup](/?search=zenstruck%2Fbackup)ArchivedSymfony-bundle[File &amp; Storage](/categories/file-storage)

kachkaev/dropbox-backup-bundle
==============================

Allows backing up your mysql database to dropbox using symfony console

52241PHP

Since Dec 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/kachkaev/KachkaevDropboxBackupBundle)[ Packagist](https://packagist.org/packages/kachkaev/dropbox-backup-bundle)[ RSS](/packages/kachkaev-dropbox-backup-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

KachkaevDropboxBackupBundle
===========================

[](#kachkaevdropboxbackupbundle)

This bundle allows you backing up your mysql database to dropbox using symfony console command.

Uses modified version of [DropboxUploader by hakre](https://github.com/hakre/DropboxUploader).

**IMPORTANT**

This repository is abandoned and has not been updated since 2013. Please enjoy these alternatives with a far greater functionality:

-
-

Installation
------------

[](#installation)

### Composer

[](#composer)

Add the following dependency to your project’s composer.json file:

```
    "require": {
        // ...
        "kachkaev/dropbox-backup-bundle": "dev-master"
        // ...
    }
```

Now tell composer to download the bundle by running the command:

```
$ php composer.phar update kachkaev/dropbox-backup-bundle
```

Composer will install the bundle to `vendor/kachkaev` directory.

### Adding bundle to your application kernel

[](#adding-bundle-to-your-application-kernel)

```
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Kachkaev\DropboxBackupBundle\KachkaevDropboxBackupBundle(),
        // ...
    );
}
```

Configuration
-------------

[](#configuration)

Here is the default configuration for the bundle:

```
kachkaev_dropbox_backup:
    database:

        # Only pdo_mysql is supported at the moment
        driver:               pdo_mysql
        host:                 localhost
        port:                 ~
        dbname:               ~ # Required
        user:                 ~ # Required
        password:             ~ # Required

        # Directory relative to Dropbox root
        output_directory:

        # Output filename consists of prefix and timestamp
        output_fileprefix:

        # Set to true to compress .sql to .tgz
        output_compression:   false

    # Dropbox account credentials (use parameters in config.yml and store real values in prameters.yml)
    dropbox:
        user:                 ~ # Required
        password:             ~ # Required
```

It is recommended to keep real values for logins and passwords in your parameters.yml file, e.g.:

```
# app/config/config.yml
kachkaev_dropbox_backup:
    database:
        driver:   %database_driver%
        host:     %database_host%
        port:     %database_port%
        dbname:   %database_name%
        user:     %database_user%
        password: %database_password%

        output_directory: db-backup/
        output_fileprefix: db_
        output_compression: true
    dropbox:
        user: %dropbox_user%
        password: %dropbox_password%
```

```
# app/config/parameters.yml
	# ...
    database_driver: pdo_mysql
    database_host: localhost
    database_port: null
    database_name: myDatabase
    database_user: myLogin
    database_password: myDatabasePassword
    # ...
    dropbox_user: email@example.com
    dropbox_password: myDropboxPassword
	# ...
```

Usage
-----

[](#usage)

The bundle adds one command to symfony console: `app/console dropbox_backup:database` which you execute periodically as a cron job. For example the following cron command dumps your database every 3 hours on a machine with FreeBSD:

```
# /var/cron/tabs/root
0       */03    *       *       *       cd /path/to/symfony_project/root_dir && su -m symfony_user -c 'app/console dropbox_backup:database --env=prod'

```

At the moment the bundle only works with a single mysql database, but more database types can be added if there is a demand. In addition, the bundle can be extended to backup content. not only the database.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1d03c3c41d528f323dbb71ff9f05a4c3d8d9aea5497bfabe1080f77510e4b4d4?d=identicon)[kachkaev](/maintainers/kachkaev)

---

Top Contributors

[![kachkaev](https://avatars.githubusercontent.com/u/608862?v=4)](https://github.com/kachkaev "kachkaev (9 commits)")

### Embed Badge

![Health badge](/badges/kachkaev-dropbox-backup-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/kachkaev-dropbox-backup-bundle/health.svg)](https://phpackages.com/packages/kachkaev-dropbox-backup-bundle)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M123](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
