nuewire / backup
Database and full file-storage backups for the Nuewire platform using Spatie Laravel Backup.
1.1.1
2026-07-29 06:26 UTC
Requires
- php: ^8.2
- ext-zip: *
- illuminate/auth: ^11.0|^12.0|^13.0
- illuminate/console: ^11.0|^12.0|^13.0
- illuminate/contracts: ^11.0|^12.0|^13.0
- illuminate/filesystem: ^11.0|^12.0|^13.0
- illuminate/http: ^11.0|^12.0|^13.0
- illuminate/support: ^11.0|^12.0|^13.0
- illuminate/translation: ^11.0|^12.0|^13.0
- illuminate/view: ^11.0|^12.0|^13.0
- livewire/livewire: ^3.6|^4.0.3
- nuewire/support: ^1.0
- spatie/laravel-backup: ^9.0|^10.0
Requires (Dev)
- orchestra/testbench: ^9.0|^10.0|^11.0
- phpunit/phpunit: ^11.0|^12.0
Suggests
- nuewire/acl: Adds granular permissions for creating, downloading, and deleting backups.
- nuewire/filesystem: Provides managed Local, S3, and Bunny filesystem choices.
- nuewire/logs: Records optional audit trails for backup actions.
- nuewire/platform: Adds Backup under Plugin > Tools in the Nuewire admin navigation.
README
Database-only and database-plus-file-storage backups for Nuewire, powered by spatie/laravel-backup.
Features
- Select any allowed Laravel filesystem disk as the backup destination.
- DB only uses Spatie's
backup:run --only-dbmode. - DB + File Storage (Full) includes the configured local storage paths.
- Backup archive list, download, delete, size, date, and backup-type detection.
- Process locking to prevent overlapping backup runs.
- Nuewire Platform navigation and optional ACL permissions.
- Optional audit records when
nuewire/logsis installed. - Indonesian and English UI.
Install
composer require nuewire/backup php artisan nuewire:backup:install php artisan optimize:clear
The package requires the PHP ZIP extension and a database dump binary supported by Spatie for the configured database driver.
Component
<livewire:nuewire-backup />
When nuewire/platform 2 is installed, the page is registered under Plugin → Tools → Backup at /admin/plugin/backup.
CLI and scheduler
php artisan nuewire:backup:run database --disk=local php artisan nuewire:backup:run full --disk=s3
See docs/PANDUAN.md for configuration, scheduling, destination security, and full-backup source semantics.