You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Clement Desmidt ba5910f3bd
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details
💚 Update rules for PHPMD
2 years ago
app 💚 Update rules for PHPMD 2 years ago
docs 📝 Add a proper README file with section and links 3 years ago
tests Add first tests 3 years ago
.drone.yml 💚 Update rules for PHPMD 2 years ago
.gitignore Add first tests 3 years ago
README.md 🔧 Pass the CI in https 3 years ago
composer.json 💚 Update composer dependencies for CI 2 years ago
composer.lock 💚 Update composer dependencies for CI 2 years ago
phpmd.xml 💚 Update rules for PHPMD 2 years ago
phpunit.xml Add first tests 3 years ago

README.md

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