Skip to content

Commit

Permalink
Small readme update (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm authored Oct 16, 2020
1 parent ce00f7c commit 369b0c9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ BackupManagerBundle
[![Build Status](https://travis-ci.org/backup-manager/symfony.svg?branch=master)](https://travis-ci.org/backup-manager/symfony)
[![Total Downloads](https://poser.pugx.org/backup-manager/symfony/downloads.png)](https://packagist.org/packages/backup-manager/symfony)

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

This package pulls in the framework agnostic [Backup Manager](https://github.com/backup-manager/backup-manager) and provides seamless integration with **Symfony**.
This package pulls in the framework agnostic [Backup Manager](https://github.com/backup-manager/backup-manager) and provides seamless integration with **Symfony**.

Installation
============
Expand All @@ -30,13 +30,13 @@ of the Composer documentation.
Step 2 (with Flex): Enable the Bundle
-------------------------------------

You do not need to do anything more. The bundle is enabled automatically and
You do not need to do anything more. The bundle is enabled automatically and
you have some nice default config in `config/packages/bm_backup_manager.yml`.

Step 2 (no Flex): Enable the Bundle
-----------------------------------

If you are not using Symfony Flex, you need to enable the bundle by adding it to
If you are not using Symfony Flex, you need to enable the bundle by adding it to
the list of registered bundles in the `app/AppKernel.php` file of your project.

```php
Expand Down Expand Up @@ -70,7 +70,7 @@ bm_backup_manager:
pass: password
database: test
ignoreTables: ['foo', 'bar']

# If DSN is specified, it will override other values
dsn: 'mysql://root:root_pass@127.0.0.1:3306/test_db'
production:
Expand All @@ -80,7 +80,7 @@ bm_backup_manager:
user: postgres
pass: password
database: test

# You could also use a environment variable
dsn: '%env(resolve:DATABASE_URL)%'
storage:
Expand Down Expand Up @@ -159,7 +159,7 @@ $this->container->get('backup_manager')->makeRestore()->run('s3', 'test/backup.s
```

```bash
php bin/console backup-manager:restore development s3 test/backup.sql.gz -c gzip
php bin/console backup-manager:restore development s3 test/backup.sql.gz -c gzip
```

> This package does not allow you to backup from one database type and restore to another. A MySQL dump is not compatible with PostgreSQL.
Expand Down

0 comments on commit 369b0c9

Please sign in to comment.