PHPackages                             dvixi/phpbu - 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. dvixi/phpbu

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

dvixi/phpbu
===========

PHP Backup utility.

3.1.3(10y ago)01.7k1MITPHP

Since Jan 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/athl64/phpbu-separated)[ Packagist](https://packagist.org/packages/dvixi/phpbu)[ Docs](http://phpbu.de/)[ RSS](/packages/dvixi-phpbu/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (9)Versions (38)Used By (0)

PHPBU
=====

[](#phpbu)

**PHP Backup Utility**

*PHPBU* is a php framework that creates and encrypts backups, syncs your backups to other servers or cloud services and assists you monitor your backup creation.

Get detailed information about all the features and a 'getting started' tutorial at the [PHPBU Website](http://phpbu.de).

[![Latest Stable Version](https://camo.githubusercontent.com/81f254cf4986897dedded5d9393d1214af6273f707a5c1d15a2d757d108ec836/68747470733a2f2f706f7365722e707567782e6f72672f70687062752f70687062752f762f737461626c652e737667)](https://packagist.org/packages/phpbu/phpbu)[![License](https://camo.githubusercontent.com/49c47bc9edd0fefb778b1f9e6f9b3828dfc5b603a251da43730a257f86f72c9f/68747470733a2f2f706f7365722e707567782e6f72672f70687062752f70687062752f6c6963656e73652e737667)](https://packagist.org/packages/phpbu/phpbu)[![Build Status](https://camo.githubusercontent.com/95db5a73d44ff236cdafe316d95dfce4ddbb6048e02e685de671d546c338f7f9/68747470733a2f2f7472617669732d63692e6f72672f73656261737469616e66656c646d616e6e2f70687062752e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sebastianfeldmann/phpbu)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f9ebd50ff05adb0ee8bafa42733ccb6a882a790971b1793cd385912991756a25/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73656261737469616e66656c646d616e6e2f70687062752f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sebastianfeldmann/phpbu/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/fbeaa73ec27983e08cb2ede6166a935726e9f166696dad07161429c54219b50f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73656261737469616e66656c646d616e6e2f70687062752f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sebastianfeldmann/phpbu/?branch=master)

Features
--------

[](#features)

- Creating backups
    - ArangoDB
    - Directories
    - Elasticsearch
    - MongoDB
    - MySQL
    - Percona XtraBackup
    - PostgreSQL
    - Redis
- Validate backups
    - Check min size
    - Comparing with previous backups
- Encrypting backups
    - mcrypt
    - openssl
- Sync backups to other locations
    - Amazon s3
    - Dropbox
    - rsync
    - SFTP
    - FTP
    - Softlayer
- Cleanup your backup location
    - Delete backups older x
    - Store only x MB of backups
    - Keep only last x backups

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

[](#requirements)

- PHP 5.4+
    - ext/curl
    - ext/dom
    - ext/json
    - ext/spl
- POSIX Shell
    - tar
    - bzip2 or gzip

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

[](#installation)

You can [download](http://phar.phpbu.de/phpbu.phar) a PHP Archive [(PHAR)](http://php.net/phar) that bundles everything you need to run *PHPBU* in a single file.

```
wget http://phar.phpbu.de/phpbu.phar
chmod +x phpbu.phar
php phpbu.phar --version

```

For convenience, you can move the PHAR to a directory that is in your [PATH](http://en.wikipedia.org/wiki/PATH_%28variable%29).

```
mv phpbu.phar /usr/local/bin/phpbu
phpbu --version

```

Installing *PHPBU* via Composer is also supported.

```
  "require": {
    "phpbu/phpbu": "3.1.*"
  }
```

Usage
-----

[](#usage)

```
phpbu [option]

  --bootstrap=     A "bootstrap" PHP file that is included before the backup.
  --configuration= A phpbu xml config file.
  --colors               Use colors in output.
  --debug                Display debugging information during backup generation.
  --simulate             Perform a trial run with no changes made.
  -h, --help             Print this usage information.
  -v, --verbose          Output more verbose information.
  -V, --version          Output version information and exit.

```

### Usage Examples

[](#usage-examples)

```
$ phpbu

```

This requires a valid XML *PHPBU* configuration file (phpbu.xml or phpbu.xml.dist) in your current working directory. Alternatively, you can specify the path to your configuration file.

```
$ phpbu --configuration=backup/config.xml

```

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

[](#configuration)

Simple configuration example:

```

```

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 97.4% 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

Every ~12 days

Total

37

Last Release

3680d ago

Major Versions

1.2.1 → 2.0.02015-04-05

2.1.15 → 3.0.02016-02-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e04fbe18bfb1c8a3d6ca739919ea9ff097ea43709c6448750ced46b091c7a1f?d=identicon)[athl64](/maintainers/athl64)

---

Top Contributors

[![sebastianfeldmann](https://avatars.githubusercontent.com/u/9250358?v=4)](https://github.com/sebastianfeldmann "sebastianfeldmann (629 commits)")[![chrishawes](https://avatars.githubusercontent.com/u/143662?v=4)](https://github.com/chrishawes "chrishawes (5 commits)")[![cerw](https://avatars.githubusercontent.com/u/16146?v=4)](https://github.com/cerw "cerw (3 commits)")[![athl64](https://avatars.githubusercontent.com/u/4989972?v=4)](https://github.com/athl64 "athl64 (3 commits)")[![F21](https://avatars.githubusercontent.com/u/2263040?v=4)](https://github.com/F21 "F21 (3 commits)")[![josemalonsom](https://avatars.githubusercontent.com/u/6292439?v=4)](https://github.com/josemalonsom "josemalonsom (2 commits)")[![ephraim](https://avatars.githubusercontent.com/u/20429?v=4)](https://github.com/ephraim "ephraim (1 commits)")

---

Tags

cloudsftpbackuptarmysqlmongodbrsync

### Embed Badge

![Health badge](/badges/dvixi-phpbu/health.svg)

```
[![Health](https://phpackages.com/badges/dvixi-phpbu/health.svg)](https://phpackages.com/packages/dvixi-phpbu)
```

###  Alternatives

[phpbu/phpbu

PHP Backup utility.

1.3k89.0k4](/packages/phpbu-phpbu)[danielme85/laravel-log-to-db

Custom Laravel Log channel handler that can store log events to SQL or MongoDB databases. Uses Laravel native logging functionality.

135934.5k1](/packages/danielme85-laravel-log-to-db)[dg/adminer-custom

Customization for Adminer, the best database management tool written in PHP.

134765.7k16](/packages/dg-adminer-custom)[mmucklo/queue-bundle

Symfony2/3/4/5 Queue Bundle (for background jobs) supporting Mongo (Doctrine ODM), Mysql (and any Doctrine ORM), RabbitMQ, Beanstalkd, Redis, and ... {write your own}

120839.8k](/packages/mmucklo-queue-bundle)[apix/cache

A thin PSR-6 cache wrapper with a generic interface to various caching backends emphasising cache taggging and indexing to Redis, Memcached, PDO/SQL, APC and other adapters.

114542.8k6](/packages/apix-cache)[backup-manager/symfony

A simple database backup manager for Symfony2 with support for S3, Rackspace, Dropbox, FTP, SFTP.

119293.7k3](/packages/backup-manager-symfony)

PHPackages © 2026

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