BackUpPlugin icon

BackUpPlugin -----

Local and FTP world backup.



Validated FTP connection and improved backup handling.
  • Details of the Change:
  • Added isFTPConnectionValid Method:
    • Validates FTP connection before starting the backup process.
    • If the FTP connection is unavailable, the backups are stored locally.
  • Updated backupWorlds Method:
    • Checks FTP connection availability before initiating the backup.
    • When FTP is functional:
      • Uploads backups to the FTP server.
      • Deletes local backups after successful uploads.
    • When FTP is not functional:
      • Retains backups locally.
    • Added detailed logging to track the process.
  • Enhanced Command Handling in onCommand:
    • Logs each received command for easier debugging.
    • Provides user feedback for insufficient permissions.
    • Implemented commands:
      • backupnow: Triggers manual backups.
      • backupreload: Reloads plugin configuration.
      • backupinfo: Displays plugin information.
      • backupauto: Executes automatic backups.
  • Preserving Old Backups Using manageLocalBackups:
    • Ensures the maximum number of backups is maintained.
    • Automatically deletes the oldest backups if the limit is exceeded.
  • Improved Logging:
    • Added detailed logs for backup and FTP upload operations.
    • Logs successes and errors during the process.
  • Added scheduleDailyBackup Method:
  • Automatically performs backups based on a configured time.
  • Ensures backups are not repeated within short intervals.
  • Applied and tested on live server: majnuj.com
----------, Jan 5, 2025
Resource Information
Author:
----------
Total Downloads: 139
First Release: Jan 4, 2025
Last Update: Jan 6, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings