Download the PHP package bsaqqa/backfire without Composer

On this page you can find all versions of the php package bsaqqa/backfire. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package backfire

Backfire

PHP CLI For Auto Backup DB.

You can run it as a cron job on Windows/Ubuntu servers to do daily backup of your database.

Features

Roadmap

I plan to continue developing and enhancing the Backfire in the future. Below is a list of features I plan to add in the future:

I welcome any feedback or ideas you have for improving Backfire, and I look forward to continuing to develop and enhance it in the future.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

1.1 Prerequisites

You need to have PHP >=8.0 and Composer installed on your machine.

1.2 Installing

  1. Run install command

  2. Run install command to install package dependencies and initialize it

  3. Open ~/.backfire/backfire.config.php file or using below command to edit it with your database credentials

  4. Edit the following variables to match your DB information and backup folder path:

1.3 How to use

You can run it with below command:

1.4 How to setup cron job on Windows

image

You can setup cron job on Windows using schedule with below steps:

  1. Open Task Scheduler
  2. Click Create a Basic Task
  3. Enter a name for the task
  4. Select "Run whether user is logged on or not"
  5. Check "Run with highest privileges"
  6. Click on "Triggers"
  7. Click New
  8. Select "Daily"
  9. Click OK
  10. Click on "Actions"
  11. Click New
  12. Select "Start a program"
  13. Enter the path to "backfire.bat" in the field
  14. Enter backup argument in the "Add arguments" field
  15. Click OK

1.5 How to setup cron job on Ubuntu

You can setup cron job on Ubuntu using crontab with below steps:

  1. Open terminal
  2. Run crontab

    crontab -e
  3. Add the following line to the end of the file:

    0 0 * * * backfire backup
  4. Save and exit

License

This project is licensed under the MIT License - see the LICENSE.md file for details


All versions of backfire with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
adbario/php-dot-notation Version ^3.2
ext-zip Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bsaqqa/backfire contains the following files

Loading the files please wait ....