Recommend this page to a friend! |
Download .zip |
Info | Example | View files (21) | Download .zip | Reputation | Support forum | Blog (1) | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2024-02-28 (17 days ago) | Not enough user ratings | Total: 30 This week: 1 | All time: 11,007 This week: 105 |
Version | License | PHP version | Categories | |||
elastic-nomad-php 1.0 | Custom (specified... | 8 | Databases, Files and Folders, Searching, W..., P... |
Description | Author | |||
This package can execute backup and restore actions of the ElasticSearch database to Amazon S3. Innovation Award
|
<?php |
PHP script to execute Elasticsearch backups and restorations using S3.
Requires PHP 8.1
it's a good idea to look in the sample folder to understand how it works.
First you need to building a correct environment to install dependences
docker build -t kiwfy/elastic-nomad-php -f contrib/Dockerfile .
Access the container
docker run -v ${PWD}/:/var/www/html -it kiwfy/elastic-nomad-php bash
Verify if all dependencies is installed (if need anyelse)
composer install --no-dev --prefer-dist
and run
php index.php
Want to contribute? Great!
The project using a simple code. Make a change in your file and be careful with your updates! Any new code will only be accepted with all viladations.
To ensure that the entire project is fine:
First you need to building a correct environment to install/update all dependences
docker build -t kiwfy/elastic-nomad-php -f contrib/Dockerfile .
Access the container
docker run -v ${PWD}/:/var/www/html -it kiwfy/elastic-nomad-php bash
Install all dependences
composer install --dev --prefer-dist
Run all validations
composer check
Kiwfy - Open your code, open your mind!
Files |
File | Role | Description | ||
---|---|---|---|---|
contrib (4 files) | ||||
src (3 files, 1 directory) | ||||
.editorconfig | Data | Auxiliary data | ||
.env.example | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
index.php | Example | Example script | ||
LICENSE | Lic. | License text | ||
phpcs.xml | Data | Auxiliary data | ||
phpmd.xml | Data | Auxiliary data | ||
phpunit.xml | Data | Auxiliary data | ||
query.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files | / | contrib |
File | Role | Description |
---|---|---|
coverage-checker.php | Example | Example script |
Dockerfile | Data | Auxiliary data |
pre-commit | Data | Auxiliary data |
setup.sh | Data | Auxiliary data |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
Helpers (3 files) | ||||
Backup.php | Class | Class source | ||
Nomad.php | Class | Class source | ||
Restore.php | Class | Class source |
Files | / | src | / | Helpers |
File | Role | Description |
---|---|---|
Elasticsearch.php | Class | Class source |
Log.php | Class | Class source |
S3Helper.php | Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.