Statamic Content Backup
Statamic Content Backup is a Statamic addon that allows control panel users to download and restore content backups easily.
New features added
- Added support for backing up database-stored content.
Installation
You can install this addon in two ways:
-
From the Statamic control panel:
- Navigate to
Tools > Addons
. - Search for "Statamic Content Backup" and click Install.
- Navigate to
-
Using Composer:
- Run the following command from your project root:
composer require lucapon/statamic-content-backup
- Run the following command from your project root:
Customization
You can customize which files and database tables are included in the backup by editing the configuration file located at: config/statamic-content-backup.php
Upgrading
If you upgrade to version ^2.0.0
, it is recommended to republish the configuration file to ensure compatibility with the updated features. Run the following command:
php artisan vendor:publish --tag=statamic-content-backup --force
This will overwrite your old configuration file with the updated version. Be sure to review the new configuration file for any additional options or changes.