Download the PHP package aldarien/backup without Composer
On this page you can find all versions of the php package aldarien/backup. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package backup
Backup
Database backup manager
Concept
This program integrates to your app via Middleware and backups your database according to the configuration. It checks for the last backup, and if the frecuency is met, it runs.
What it does
- Check last backup
- Extract data from Database
- Save to a File or other Database
What has been implemented
- MySQL Database extractor
- YAML File saver
- JSON File saver
- XML File saver
What is in development
- SQL File saver
- MySQL Database saver
Installation
Get the latest version with composer aldarien/backup
Usage
- First define a configuration
- Then load
\App\Middleware\Backup
with the$app
.
Configuration
-
backup
The app settings.location
Where the last backup is registered.file
Optional. If the location is a file, the file setting holds where the file is located. It needs to be writable by the app.frecuency
How often is the backup made.value
The value of how often to do a backup.unit
The unit of frecuency. Can behours
,days
ormonths
.
-
source
The source database information.driver
The type of database. Currently onlymysql
is supported.database
The database information.host
name
The host name.port
Optional. The port when it is different than the default settings.
name
The database name.user
The user information.name
The user's name.password
The user's password.
output
Multiple outputs can be specified. Foreach one the same settings are needed.files
Optional. If this is set, then all other output items are ignored. It serves as a summary with all the files named the same and saved in the same place.path
Optional. Where the files are saved.name
Filename for the different types.types
Array with all the file types.type
The file type. Can beyaml
,json
,xml
andsql
.name
The filename without the extension.path
Optional. The location of the saved file.
All versions of backup with dependencies
PHP Build Version
Package Version
Requires
slim/slim Version
^3.10
aldarien/root Version ^1.0
danielstjules/stringy Version ^3.1
nesbot/carbon Version ^1.33
symfony/yaml Version ^4.1
aldarien/root Version ^1.0
danielstjules/stringy Version ^3.1
nesbot/carbon Version ^1.33
symfony/yaml Version ^4.1
The package aldarien/backup contains the following files
Loading the files please wait ....