Skip to content

[IDEA] Support for Multiple Independent Backup Schedules per Folder/File/Group #78

@Glass47

Description

@Glass47

TL'DR Add support for folder-specific backup schedules (e.g., worlds daily at 4:30 AM, database hourly, plugins every 6 hours)

I'd like to request a new feature that would allow us to define multiple automatic backup schedules for different folders or groups of files. Currently, the plugin supports only one global backupPeriod or backupTime, which applies to all included directories and world files.

Use Case

Many servers contain components that change at different rates. To optimize disk usage and reduce unnecessary processing, it would be helpful to:

  1. Back up worlds (e.g., world, world_nether, world_the_end) once daily at 4:30 AM

  2. Back up database files (e.g., database/, plugins/MySQL/) every hour

  3. Back up plugins folder every 6 hours

Also maybe add beforeBackup afterBackup commands because when i want to backup CoreProtect's DB i must type co consumer pause then backup CoreProtect DB and then co consumer resume It is crucial or some databases to be paused while backing up in order not to corrupt them.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions