PHPackages                             lyrasoft/backup - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. lyrasoft/backup

ActiveLibrary[File &amp; Storage](/categories/file-storage)

lyrasoft/backup
===============

2.1.0(3mo ago)06.7k↓33.8%[1 issues](https://github.com/lyrasoft/backup-package/issues)1MITPHPPHP &gt;=8.4.6

Since Jan 27Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/lyrasoft/backup-package)[ Packagist](https://packagist.org/packages/lyrasoft/backup)[ RSS](/packages/lyrasoft-backup/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (12)Versions (17)Used By (1)

LYRASOFT Site Backup Script
===========================

[](#lyrasoft-site-backup-script)

Installation
------------

[](#installation)

### Windwalker 4

[](#windwalker-4)

Install from composer.

```
composer create-project lyrasoft/backup
```

Then run this command to publish routes.

```
php windwalker pkg:install lyrasoft/backup --tag=routes
```

The config file is in `etc/packages/backup.php`

### Standalone

[](#standalone)

Install from composer

```
composer create-project lyrasoft/backup
```

Then the installation script will ask you some questions:

```
Project Name: # Your Site Name, this will be the backup title
Do you want to dump Files? [y/N] # Mostly we can choose N.
Backup Root[.]: # Type the absolute or relative path to site root
Do you want to dump DB? [Y/n] # y
Host[localhost]: # DB host
DB Name: # DB name
User[root]: # DB user
Password: # DB password
Success install backup.php file.

# If you want to register to portal instantly, type "Y"
Register backup to portal? [Y/n]
Site URL: # Enter site URL, that portal can fetch backup file
Please fill XXX-XXX to Portal.
Open https://portal.simular.co/device/login from your local browser.
```

If you want to register to portal, see [Documentation](https://lyrasoft.atlassian.net/wiki/spaces/SRE/pages/629964827/Portal+php)

After installed, the `config.php` file will be generated at `backup` root folder, you can modify it if you want.

Commands
--------

[](#commands)

In windwalker, type

```
php windwalker backup:{command}
```

In standalone file, use:

```
php backup.php {command}
```

### Command: `run`

[](#command-run)

This command will instantly output the zip stream to terminal.

If you want to output to a file, use:

```
backup:run > /path/to/file.zip
```

You can enter your own db info:

```
backup:run --host=localhost --db=sakura -u=root -p {pass} > /path/to/file.zip
```

In windwalker, you may choose backup profile

```
php windwalker backup:run {profile} > /path/to/file.zip
```

### Command: `token`

[](#command-token)

If you want to get backup, use this command to print token string.

### Command: `register`

[](#command-register)

Register this backup script to Portal, see [Documentation](https://lyrasoft.atlassian.net/wiki/spaces/SRE/pages/629964827/Portal+php)

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance82

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~101 days

Recently: every ~84 days

Total

16

Last Release

96d ago

Major Versions

1.0.8 → 2.0.0-beta12024-01-25

PHP version history (2 changes)2.0.0-beta1PHP &gt;=8.0

2.1.0PHP &gt;=8.4.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1639206?v=4)[Simon Asika](/maintainers/asika32764)[@asika32764](https://github.com/asika32764)

---

Top Contributors

[![asika32764](https://avatars.githubusercontent.com/u/1639206?v=4)](https://github.com/asika32764 "asika32764 (96 commits)")

### Embed Badge

![Health badge](/badges/lyrasoft-backup/health.svg)

```
[![Health](https://phpackages.com/badges/lyrasoft-backup/health.svg)](https://phpackages.com/packages/lyrasoft-backup)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[typo3/cms-core

TYPO3 CMS Core

3713.2M5.1k](/packages/typo3-cms-core)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[dagger/dagger

Dagger PHP SDK

261.1k](/packages/dagger-dagger)[forumify/forumify-platform

122.0k14](/packages/forumify-forumify-platform)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
