2017 © Pedro Peláez
 

symfony-bundle backupmigratebundle

Backup Restore Bundle

image

mdespeuilles/backupmigratebundle

Backup Restore Bundle

  • Tuesday, April 3, 2018
  • by mdespeuilles
  • Repository
  • 1 Watchers
  • 1 Stars
  • 55 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 4 % Grown

The README.md

BackupMigrateBundle

This bundle provide a command to backup and Restore files and database for your Symfony application., (*1)

Installation

To install BackupMigrateBundle with Composer just type in your terminal:, (*2)

php composer.phar require mdespeuilles/backupmigrateBundle

Now update your AppKernel.php file, and register the new bundle:, (*3)

<?php

// in AppKernel::registerBundles()
$bundles = array(
    // ...
    new Mdespeuilles\BackupMigrateBundle\MdespeuillesBackupMigrateBundleBundle(),
    // ...
);

Configuration

Configure the bundle in your config.yml, (*4)


mdespeuilles_backup_migrate: # Destination path for backup destination_path: "%kernel.root_dir%/../private" #files folders to backup files_folder: uploads: path: "%kernel.root_dir%/../web/uploads" medias: path: "%kernel.root_dir%/../web/medias" ....

Usage

Backup

Run this command to start a backup :, (*5)

php bin/console bm:backup

if you want to backup only database :, (*6)

php bin/console bm:backup --database-only

if you want to backup only files :, (*7)

php bin/console bm:backup --files-only

Restore

Run this command to start a restore :, (*8)

php bin/console bm:restore

if you want to restore only database :, (*9)

php bin/console bm:restore --database-only

if you want to restore only files :, (*10)

php bin/console bm:restore --files-only

The Versions

03/04 2018

dev-master

9999999-dev

Backup Restore Bundle

  Sources   Download

MIT

The Requires

 

backup bundle

03/04 2018

1.3.1

1.3.1.0

Backup Restore Bundle

  Sources   Download

MIT

The Requires

 

backup bundle

03/04 2018

1.3.0

1.3.0.0

Backup Restore Bundle

  Sources   Download

MIT

The Requires

 

backup bundle

09/04 2017

1.2.1

1.2.1.0

Backup Restore Bundle

  Sources   Download

MIT

The Requires

 

backup bundle

09/04 2017

1.2.0

1.2.0.0

Backup Restore Bundle

  Sources   Download

MIT

The Requires

 

backup bundle

31/03 2017

1.1.1

1.1.1.0

Backup Restore Bundle

  Sources   Download

MIT

The Requires

 

backup bundle

31/03 2017

1.1

1.1.0.0

Backup Restore Bundle

  Sources   Download

MIT

The Requires

 

backup bundle

31/03 2017

1.0

1.0.0.0

Backup Restore Bundle

  Sources   Download

MIT

The Requires

 

backup bundle