2017 © Pedro Peláez
 

yii2-extension yii2-backup

Database and files backup command for yii2

image

execut/yii2-backup

Database and files backup command for yii2

  • Friday, July 29, 2016
  • by eXeCUT
  • Repository
  • 3 Watchers
  • 6 Stars
  • 114 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 7 Versions
  • 5 % Grown

The README.md

yii2-backup

Command for reserving yii2 project databases and gitignored files. After starting command databases dumps and project folders specified in the settings is compressed, it split in pieces and fill them to the specified ftp., (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Install

Either run, (*3)

$ php composer.phar require execut/yii2-backup "dev-master"

Configuration

For usage add in console this config and modify it:, (*4)

<?php
...
    'controllerMap' => [
        'backup' => [
            'class' => 'execut\backup\controllers\BackupController',
            'ftpDir' => 'backups',
            'ftpHost' => 'localhost',
            'ftpLogin' => 'login',
            'ftpPassword' => 'password',
            'folderPrefix' => 'backups-production',
            'dbKeys' => [
                'db',
                'dbOther',
            ],
            'adminMail' => 'root@localhost.com',
            'filePartSize' => '300MiB', // Split unix command part size
        ],
...

After configuration, simple add task to cron:, (*5)

0 6 * * *   root    cd /projectFoder && ./yii backup

The Versions

29/07 2016

dev-develop

dev-develop https://github.com/execut/yii2-backup

Database and files backup command for yii2

  Sources   Download

Apache-2.0

The Requires

 

by Avatar eXeCUT

yii2 files backup database backup

22/06 2016

dev-develop2

dev-develop2 https://github.com/execut/yii2-backup

Database and files backup command for yii2

  Sources   Download

Apache-2.0

The Requires

 

by Avatar eXeCUT

yii2 files backup database backup

17/06 2016

dev-master

9999999-dev https://github.com/execut/yii2-backup

Database and files backup command for yii2

  Sources   Download

Apache-2.0

The Requires

 

by Avatar eXeCUT

yii2 files backup database backup

17/06 2016

1.1.0

1.1.0.0 https://github.com/execut/yii2-backup

Database and files backup command for yii2

  Sources   Download

Apache-2.0

The Requires

 

by Avatar eXeCUT

yii2 files backup database backup

03/06 2016

1.0.4

1.0.4.0 https://github.com/execut/yii2-backup

Database and files backup command for yii2

  Sources   Download

Apache-2.0

The Requires

 

by Avatar eXeCUT

yii2 files backup database backup

25/02 2016

1.0.1

1.0.1.0 https://github.com/execut/yii2-backup

Database and files backup command for yii2

  Sources   Download

Apache-2.0

The Requires

 

by Avatar eXeCUT

yii2 files backup database backup

25/02 2016

1.0.0

1.0.0.0 https://github.com/execut/yii2-backup

Database and files backup command for yii2

  Sources   Download

Apache-2.0

The Requires

 

by Avatar eXeCUT

yii2 files backup database backup