Backup

Fred
Backup
Fred Sunday 31st August 2025, 11:41:06

image

Download: backup.zip

Backup Plugin - 2025/08/31 - Version 3.7 (31.17 Kb)

Main Improvements:
  1. Configurable Folder ManagementThe plugin now backs up only DATA_DIR by default.Configurable options to include:
    • Themes folder (theme/)
    • Plugins folder (plugin/)
    • Uploads folder (uploads/)
  2. Enhanced Security
    • Path validation: Protection against directory traversal attacks
    • File name sanitization: Removal of dangerous characters
    • Extension verification: Ensures only .zip files are processed
    • Temporary backup: The old DATA_DIR is backed up before restoration
  3. Improved Restoration
    • Only restores files from the data/ folder in the archive
    • Error handling with automatic rollback
    • Counter for restored files
    • Better folder structure during extraction
  4. Improved User Interface
    • Configuration form with checkboxes for options
    • Preview of folders to be included in the backup
    • Informative messages about what will be backed up/restored
    • Clear warnings about restoration risks
  5. Technical Fixes
    • Safer permissions (0755 instead of 0777)
    • Timestamped filenames to avoid conflicts
    • Exclusion of the backups folder to prevent recursive backups
    • Robust error handling at every step
  6. New Features
    • Persistent options: Preferences are saved in the database
    • Preview: Shows which folders will be included before backup
    • Enhanced validation: Multiple checks before each operation


The plugin is now safer, more flexible, and offers better control over what is backed up and restored.

Last modified by Fred on Sunday 31st August 2025, 12:04:00
  • Before ask a question, read the documentation.
  • 🎉  Featured as #1 product of the day on Product Hunt
  • Please like in alternativeto.net 👍🏻
  • ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
  • <TextField>, my new CMS project designed by a passionate developer, for developers!
  • My last project Fast⚡︎CMS, a Flat-File cms.
  • I am currently busy 😫.