Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Piterden/backup_manager-module
Backup Manager for Streams Platform
https://github.com/Piterden/backup_manager-module
addon artisan backup-manager database laravel pyrocms restore streams-platform
Last synced: 3 months ago
JSON representation
Backup Manager for Streams Platform
- Host: GitHub
- URL: https://github.com/Piterden/backup_manager-module
- Owner: Piterden
- Created: 2017-04-06T02:49:33.000Z (over 7 years ago)
- Default Branch: 1.0
- Last Pushed: 2017-06-16T23:51:18.000Z (over 7 years ago)
- Last Synced: 2024-07-13T13:42:57.795Z (4 months ago)
- Topics: addon, artisan, backup-manager, database, laravel, pyrocms, restore, streams-platform
- Language: PHP
- Homepage: https://pyrocms.com
- Size: 53.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Backup Manager
## Streams Platform Addon. `backup_manager-module` for PyroCMS.A graphical user interface (GUI), allowing you to backup PyroCMS database by addon.
### Features
* Backup your database (_full DB only with artisan command_);
* Select addons you would like to create a backup of;
* Easily restore database and tables;
* Storing data in JSON format.***
## Installation
### Step 1
Run
```bash
$ composer require defr/backup_manager-module
```Either, add to `require` section of `composer.json`:
```json
"defr/backup_manager-module": "~1.0.0",
```
Run `composer update` command, which will install module to the `core` folder!### Step 2
Then you would need to install module to PyroCMS
```bash
$ php artisan module:install backup_manager
```
or
```bash
$ php artisan addon:install defr.module.backup_manager
```## Usage
### Create a backup from Conrol Panel
* Click the menu item "Backup Manager".
* Then click the button "Create a dump".
- Enter the name of the backup you are to create.
- Select addon to backup.
* Press save and you are done.### Restore a backup
* Click the menu item "Backup Manager".
* In the table, click restore button of backup you would like to restore.***
## Using artisan
### Creating a dump
```bash
$ php artisan db:dump
```- Usage:
db:dump [options]- Options:
--connection[=CONNECTION] DB connection to use.
--tables[=TABLES] Tables to include in the dump.
--addon[=ADDON] Addon, in dot notation.> Without any options it will create dump of all tables
### Dumps listing
```bash
$ php artisan dump:list
```- Usage:
dump:list***