Go to file
Clement Desmidt ba5910f3bd
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
πŸ’š Update rules for PHPMD
2021-06-30 16:00:24 +02:00
app πŸ’š Update rules for PHPMD 2021-06-30 16:00:24 +02:00
docs πŸ“ Add a proper README file with section and links 2020-02-03 17:50:21 +01:00
tests βœ… Add first tests 2020-04-16 18:02:46 +02:00
.drone.yml πŸ’š Update rules for PHPMD 2021-06-30 16:00:24 +02:00
.gitignore βœ… Add first tests 2020-04-16 18:02:46 +02:00
composer.json πŸ’š Update composer dependencies for CI 2021-06-30 15:29:49 +02:00
composer.lock πŸ’š Update composer dependencies for CI 2021-06-30 15:29:49 +02:00
phpmd.xml πŸ’š Update rules for PHPMD 2021-06-30 16:00:24 +02:00
phpunit.xml βœ… Add first tests 2020-04-16 18:02:46 +02:00
README.md πŸ”§ Pass the CI in https 2020-04-17 12:24:09 +02:00

Shikiryu Backup language issues ci

Because even small websites need to be backed up

Backup script for limited shared hosting

πŸ“š Table of Contents

πŸ“¦ Installation

First check if you have composer installed

Before installing this, you need to check if you have PHPand Composer installed on your computer.

Then install this script

composer require shikiryu/backup

πŸš€ Usage

Everything in this library is based on a scenario (or multiple scenarii).

It consists of 2 sections in a JSON file :

  • what to backup
  • where to backup

You have an example file in app/scenario.

The first section is backup (what to backup) and the second transport

More information about how to use scenario

Tips

Each possible section has docs in their respective folders

Here is an example code

<?php

include_once 'vendor/autoload.php';

try {
    \Shikiryu\Backup\Scenario::launch('backup.json'); // whatever the file name you gave previously
} catch (\Exception $e) {
    echo $e->getMessage();
}

πŸ› οΈ Support

Please open an issue for support.

πŸ“ Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

πŸ“œ License

Creative Commons Attribution NonCommercial (CC-BY-NC) Β© Chouchen