PHPackages                             journey/backup - 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. journey/backup

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

journey/backup
==============

Lightweight MySQL backup script for cron jobs, written in PHP.

0.1.2(8y ago)122MITPHPPHP &gt;=5.4.0

Since Feb 16Pushed 1y ago3 watchersCompare

[ Source](https://github.com/journeygroup/backup)[ Packagist](https://packagist.org/packages/journey/backup)[ Docs](http://github.com/journeygroup/backup)[ RSS](/packages/journey-backup/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Backup
======

[](#backup)

Why
---

[](#why)

Journey/Backup is a lightweight MySQL backup script written in PHP, and ideal for cron jobs. Its task is simple:

- Dump a user-selected list, or all databases on the local MySQL server
- Store those databases in a mounted directory, or on Amazon S3

Usage
-----

[](#usage)

### Installation

[](#installation)

The easiest way is to install via composer:

```
composer create-project journey/backup your-directory-name
```

### Configuration

[](#configuration)

To configure, edit the `config.php` file with your own details. Here's is the sample configuration file, with helpful comments:

```
