PHPackages                             dimsav/backup-engine - 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. [Database &amp; ORM](/categories/database)
4. /
5. dimsav/backup-engine

AbandonedArchivedLibrary[Database &amp; ORM](/categories/database)

dimsav/backup-engine
====================

A library used to backup project files and databases, and upload backups to dropbox.

v1.0.0-beta1(12y ago)1924[7 issues](https://github.com/dimsav/backup-engine/issues)[1 PRs](https://github.com/dimsav/backup-engine/pulls)MITPHPPHP &gt;=5.3.0

Since May 6Pushed 11y ago1 watchersCompare

[ Source](https://github.com/dimsav/backup-engine)[ Packagist](https://packagist.org/packages/dimsav/backup-engine)[ Docs](http://github.com/dimsav/php-mysql-backup)[ RSS](/packages/dimsav-backup-engine/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (7)Versions (3)Used By (0)

Warning! This package is not maintained any more
================================================

[](#warning-this-package-is-not-maintained-any-more)

Try this alternative instead:
===================================================================

[](#try-this-alternative-instead-httpsgithubcomdimsavbackupish)

Documentation
-------------

[](#documentation)

This is a library, written in php, used to backup your project's files and databases.

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

[](#installation)

1. Clone the repository
2. Install the composer dependencies: `composer install`
3. Create a file config/config.php according config/config.ini.php

Execution
---------

[](#execution)

Run `php backup.php`

Features
--------

[](#features)

- Multiple projects can be backed up at once
- Custom selection of backup directories per project
- Custom selection of excluded paths
- Password protection of backup files (.zip)
- Detailed logs are saved to the server and are uploaded to dropbox.

Requirements
------------

[](#requirements)

1. This script can only be used in Unix systems (Linux/Mac), as we are using the zip command of the system.
2. The function exec() should be available as we use it to zip our backups.
3. The user executing the script must be able to write in the backups folder.
4. The cURL extension is required if you want to use the dropbox uploader.

Instructions
------------

[](#instructions)

1. Copy config.ini.php to config.php.
2. Edit config.php to define your projects to be backed up.
3. Run cron.php using the command line or a web server.
4. See the magic happen!

Defining your projects is a piece of cake:

```
    /*
     * Define in this array the projects you wish to backup.
     *
     * The key of the array marks the name of the project
     * and it is used for folder and file names. So better
     * use alphanumeric characters with slash/underscores.
     */

    "projects" => array(

        /*
         * Here we define a project to be backed-up.
         * For this project, we want to backup only
         * the database. We use the default host and
         * port, and we override the username and password.
         *
         * For this project we are overriding the default
         * password with another one.
         */
        "project-1" => array(

            "database" => array(
                "name"    =>"db-name",
                "username"=>"db-user",
                "password"=>"db-pass",
            ),

            "password" => "another-secret",
        ),

        /*
         * For this project we backup both some files
         * and the database.
         *
         * We use the default database settings, so we
         * define only the database name.
         *
         * Under "paths" we put a list of absolute paths
         * of directories or files.
         *
         * Under "excludes" we put a list of absolute paths
         * of directories or files that should not be
         * included in the compressed backup files. The
         * contents of these directories will be skipped
         * recursively.
         */
        "project-2" => array(

            "database" => array(
                "name"=>"db-name",
            ),

            "paths" => array(
                "/absolute/project/folder/path",
                "/absolute/project/file/text.txt",
            ),

            "excludes" => array(
                "/absolute/project/folder/path/cache",
                "/absolute/project/folder/path/logs",
                "/absolute/project/folder/path/bigfile.tar",
            ),
        ),

        /*
         * Here we disable for project-3 the default password,
         * as we don't want any password for this project.
         */
        "project-3" => array(
            "paths" => array(
                "/project/folder",
            ),
            "password" => null,
        )

    ),
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4410d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1785686?v=4)[Dimitris Savvopoulos](/maintainers/dimsav)[@dimsav](https://github.com/dimsav)

---

Top Contributors

[![dimsav](https://avatars.githubusercontent.com/u/1785686?v=4)](https://github.com/dimsav "dimsav (258 commits)")

---

Tags

phpbackupmysqldropbox

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dimsav-backup-engine/health.svg)

```
[![Health](https://phpackages.com/badges/dimsav-backup-engine/health.svg)](https://phpackages.com/packages/dimsav-backup-engine)
```

###  Alternatives

[getgrav/grav

Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS

15.6k86.4k1](/packages/getgrav-grav)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[mahocommerce/maho

Free and open source ecommerce platform, created in 2024 on the M1 platform, PHP 8.3+

1396.0k38](/packages/mahocommerce-maho)

PHPackages © 2026

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