PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Leonardo Di Sarli   Nomad PHP ElasticSearch Backup and Restore   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Nomad PHP ElasticSearch Backup and Restore
Execute backup and restore on ElasticSearch to S3
Author: By
Last change:
Date: 9 months ago
Size: 1,595 bytes
 

Contents

Class file image Download

PHP Elastic Nomad

Latest Version PRs Welcome

PHP script to execute Elasticsearch backups and restorations using S3.

Installation

Requires PHP 8.1

Sample

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

Development

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!