PHPackages                             aimeos/pagible-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. aimeos/pagible-backup

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

aimeos/pagible-backup
=====================

Pagible CMS - Backup and restore

0.11.4(1mo ago)121LGPL-3.0-onlyPHPPHP ^8.2

Since May 14Pushed 3w agoCompare

[ Source](https://github.com/aimeos/pagible-backup)[ Packagist](https://packagist.org/packages/aimeos/pagible-backup)[ Docs](https://pagible.com)[ RSS](/packages/aimeos-pagible-backup/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (7)Used By (0)

Pagible Backup
==============

[](#pagible-backup)

Backup and restore for [Pagible CMS](https://pagible.com) with per-tenant data export, media files, integrity verification, and cross-tenant restore. Supports SQLite, MySQL, MariaDB, PostgreSQL, and SQL Server.

For installation, use:

```
composer require aimeos/pagible-backup
```

This package is part of the [Pagible CMS monorepo](https://github.com/aimeos/pagible).

Configuration
-------------

[](#configuration)

The backup package uses these settings from the core configuration (`config/cms.php`):

Config KeyDefaultDescription`cms.db``sqlite`Database connection name`cms.disk``public`Storage disk for media filesCommands
--------

[](#commands)

### cms:backup

[](#cmsbackup)

Creates a backup of all CMS data for a tenant.

```
php artisan cms:backup [options]
```

OptionDefaultDescription`--tenant`current tenantTenant ID to backup`--disk``local`Storage disk for the backup ZIP file`--keep`Number of backups to keep (deletes oldest)`--no-media`Skip media filesCreates a ZIP archive named `pagible-{tenant}-{timestamp}.zip` containing NDJSON exports of all `cms_*` tables and media files. Includes a manifest with SHA-256 checksums for integrity verification.

### cms:restore

[](#cmsrestore)

Restores CMS data from a backup.

```
php artisan cms:restore [file] [options]
```

OptionDefaultDescription`file`Backup ZIP filename`--tenant`from manifestTarget tenant ID (enables cross-tenant restore)`--disk``local`Storage disk containing the backup`--merge`Merge (upsert) instead of replacing existing data`--no-media`Skip media files`--media-only`Only restore media files`--list`List available backups`--verify`Verify backup integrity without restoring`--force`Skip confirmation promptsExamples:

```
# List available backups
php artisan cms:restore --list

# Verify backup integrity
php artisan cms:restore pagible-tenant1-20250101.zip --verify

# Restore to a different tenant
php artisan cms:restore pagible-tenant1-20250101.zip --tenant=tenant2

# Merge without replacing existing data
php artisan cms:restore pagible-tenant1-20250101.zip --merge
```

Events
------

[](#events)

EventPropertiesDescription`BackupCreated``$tenant`, `$path`, `$counts`Dispatched after successful backup`RestoreCompleted``$tenant`, `$file`, `$counts`Dispatched after successful restore`RestoreFailed``$tenant`, `$error`Dispatched when restore failsLicense
-------

[](#license)

MIT

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance94

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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 ~6 days

Total

6

Last Release

39d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ccdc84033584516c77fb6aa7f85dc7048f2fbcd08867fc6abf115d094bab5eef?d=identicon)[aimeos](/maintainers/aimeos)

---

Top Contributors

[![aimeos](https://avatars.githubusercontent.com/u/8647429?v=4)](https://github.com/aimeos "aimeos (19 commits)")

### Embed Badge

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

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

###  Alternatives

[olivierbon/craft-squeeze

Zip one or multiple craft assets on the fly for frontend user to download.

137.5k](/packages/olivierbon-craft-squeeze)

PHPackages © 2026

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