Download the PHP package stayapp-corp/firebase-realtime-database-backup without Composer
On this page you can find all versions of the php package stayapp-corp/firebase-realtime-database-backup. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stayapp-corp/firebase-realtime-database-backup
More information about stayapp-corp/firebase-realtime-database-backup
Files in stayapp-corp/firebase-realtime-database-backup
Package firebase-realtime-database-backup
Short Description Firebase Realtime database library to backup and restore small and larger projects.
License MIT
Homepage https://github.com/GeovRodri/firebase-realtime-database-backup/
Informations about the package firebase-realtime-database-backup
Firebase Realtime-database backup client
Available on Packagist.
Description
Unfortunately, the firebase backup service is only today available for Blaze plan and you can not do backups more than one time per day.
The manual export button available on cli (that uses the rest endpoint) doesn't work for bigger databases. This library permits to export and import the firebase realtime-database using the rest api and a division strategy to enable the capability to export and import bigger databases.
Adding this to your project using Composer
In some situations, is a good idea to install this library in your project and use our processor classes to make your own backup in your service. To do that you can install this library using composer:
More info about Composer at getcomposer.org.
Using this library by Console CLI
Database Export
There are some optional parameters:
| Long parameter | short parameter | Description | Default value |
|---|---|---|---|
| temp_dir | t | Temporary directory to save all downloaded database files before creating .tar.gz backup file | ./temp |
| max_ipp | i | The maximum size of items per page that some query to the database will use. Note that if you specify a very large number and you have nodes that can't get this quantity of samples, the script can take a long time to finish because it will be decrease the IPP size until it can get the data. | 1000 |
| output_file | o | Compressed backup (.tar.gz) output file path | ./backups/BACKUP- |
Database Import
All versions of firebase-realtime-database-backup with dependencies
ktamas77/firebase-php Version ^2.2
haydenpierce/class-finder Version dev-master
fostam/getopts Version dev-master