Download the PHP package davmixcool/php-dbcloud without Composer
On this page you can find all versions of the php package davmixcool/php-dbcloud. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download davmixcool/php-dbcloud
More information about davmixcool/php-dbcloud
Files in davmixcool/php-dbcloud
Package php-dbcloud
Short Description Easily backup PostgreSql or MySql database to the cloud
License MIT
Homepage https://github.com/davmixcool/php-dbcloud
Informations about the package php-dbcloud
PHP-DBCLOUD
PHP-DBCLOUD is a php library that creates backup of your PostgreSql / MySql database and uploads it to the cloud. It also support restoring of the backedup database from the cloud.
Features
-
Creating backups
- MySQL
- PostgreSQL
-
Compress backups
- gZip
- Sync backups to other locations
- Amazon s3
- Dropbox
- Google Cloud Storage
- FTP
- SFTP
Requirements
- PHP 5.5
- MySQL support requires
mysqldump
andmysql
command-line binaries - PostgreSQL support requires
pg_dump
andpsql
command-line binaries - Gzip support requires
gzip
andgunzip
command-line binaries
Steps:
- Install
- Configuration
- Configure your databases
- Configure your filesystems
- Usage
- Bootstrap the package
- Backup to configured database
- Restore from configured database
- Example
Install
Composer
Run the following to include this via Composer
Then, you'll need to select the appropriate packages for the adapters that you want to use.
Configuration
Configure your databases
Configure your filesystems
Usage
Once installed, the package must be bootstrapped with initial configurations before it can be used.
Bootstrap the package
Backup to configured database
Backup the development database to Dropbox Api V2
. The Dropbox backup path will be test/backup.sql.gz
in the end, when gzip
is done with it.
Restore from configured database
Restore the database file test/backup.sql.gz
from Dropbox Api V2
to the development
database.
This package does not allow you to backup from one database type and restore to another. A MySQL dump is not compatible with PostgreSQL.
Example
See Example here.
Maintainers
This package is maintained by David Oti and you!
License
This package is licensed under the MIT license.
All versions of php-dbcloud with dependencies
symfony/process Version ^2.1 || ^3.0 || ^4.0
league/flysystem Version ^1.0