New License Manager

Laravel PHP Licenser & Updates Manager - REST API, webhooks, customer portal

Cloudflare R2 Backup

Plugin
This plugin allows you to automatically back up your Laravel website files and database within a specified time frame.
$39.00 $50.00

Version

1.0.1

Botble Version

>= 7.3.0

License

MIT

Cloudflare R2 Backup Plugin for Botble CMS

This plugin automatically backs up your website files and database based on your configured preferences and securely stores them in your Cloudflare R2 account.


Supported Languages

ar bg bn cs da de el en es
et fa fi fil fr gu he hi hr
hu id it ja ka kn ko lt lv
ml mr ms ne nl no pa pl pt
te th tr uk ur vi zh zh_CN zh_HK

Features

  • Database backup (MySQL / MariaDB)
  • File backup (storage, uploads, or custom directories)
  • Automatic upload to Cloudflare R2
  • Scheduled backups via cron
  • Old backup cleanup (retention policy)
  • Zip archive support
  • Logging and error handling
  • Secure OAuth 2.0 authentication

What are the different types of backups used for?

Database Only: It only backs up the site's database, creating a folder in the format domain/database/yyyy/mm/dd as the backup path and completing the backup according to the name you specify.

Files Only: This process only backs up the site's files, completing the backup in the following path: **domain/files/yyyy/mm/dd **and according to the file name you specify.

Database + Files: This process backs up the site's database, saves it to the directory where the files are located, and completes the backup by creating a full backup of your files to domain/backup/yyyy/mm/dd.

Database + Files (Scheduled Separately): This process backs up both your database and your website files according to the schedule you specify. The backups are saved separately to the database and files folders.


Requirements

  • PHP >= 8.x
  • Botble CMS (compatible version)
  • Composer
  • Cloudflare R2 API access
  • zip PHP extension or system zip command

Retention Policy

Automatically delete old backups from Cloudflare R2.

Example:

  • Keep last 7 backups
  • Older ones are removed automatically

Logs

Logs are stored in:

storage/logs/laravel.log

Security Notes

  • Do not commit credentials or token files
  • Store secrets outside public directories
  • Use minimum required Drive scopes

Plugin Images

Cloudflare R2 Backup

Preview

Authentication

Preview

Destination

Preview

Backup Options

Preview Preview

Cron & Scheduler Configuration

Preview

Naming

Preview

Automatic Deletion of Old Backups

Preview

Logs

Preview


Examples of Cron Tasks

Minute Hour Day Month Weekday Description
* * * * * Every minute
*/5 * * * * Every 5 minutes
0 * * * * Every hour
0 */6 * * * Every 6 hours
0 0 * * * Every day at 00:00
0 6 * * * Every day at 06:00
0 12 * * * Every day at 12:00
0 9 * * 1-5 Weekdays at 09:00
0 0 1 * * First day of every month
0 0 1 1 * Every January 1st

Developer Information

  • Author: Liclance
  • Web Site: https://liclance.com

Changelog

Version 1.0.1

- Backup configurations have been added.
- Various bug fixes have been implemented.

Leave a comment

Your email address will not be published. Required fields are marked *

Kindly log in to share your feedback on this plugin.