-
Notifications
You must be signed in to change notification settings - Fork 10
Description
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:
-
Back up worlds (e.g., world, world_nether, world_the_end) once daily at 4:30 AM
-
Back up database files (e.g., database/, plugins/MySQL/) every hour
-
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.