eBackup - Simple and reliable backups for your server! Supports FTP/SFTP! 1.0.4

The easiest and simplest way to backup your server reliably! Free, and supports FTP+SFTP!

  1. EspiDev
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.13
    • 1.14
    • 1.15
    Source Code:
    https://github.com/espidev/eBackup
    eBackup

    An easy and reliable way to backup your server!

    Features:

    • Backup your server files to a compressed zip file!
    • Choose which files to backup!
    • Scheduled backups using cron!
    • FTP and SFTP support, allowing for remote backups!
    • Limits for backups!
    • Fast and async, backups happen in the background to not lag the server!
    • Completely free and open source!
    Installation:

    Add the plugin jar to the plugins folder, and then configure the config.yml in the plugins/eBackup folder!

    Usage:

    Give admins the permission ebackup.admin to use /ebackup commands.

    • /ebackup list - Lists the backups in the backup folder
    • /ebackup backup - Starts a backup
    • /ebackup backuplocal - Starts a backup, and does not upload to FTP/SFTP
    • /ebackup stats - Show storage statistics

    Config:

    Code (YAML):
    crontask: '0 0 4 * * *' # This would make it every day at 4 AM

    # CronTask format:
    # * * * * * *
    # | | | | | |
    # | | | | | +---- Day of the Week   (1-7)
    # | | | | +------ Month             (1-12)
    # | | | +-------- Day of the Month  (1-31)
    # | | +---------- Hour              (0-23)
    # | +------------ Minute            (0-59)
    # +-------------- Second            (0-59)

    # A few more examples...
    # crontask: '0 0 * * * *' This would make it every hour
    # crontask: '0 0 4 * * 7' This would make it every sunday at 4 AM
    # crontask: '0 0 4 1 * *' This would make it every first of the month at 4 AM

    backup-format
    : 'eBackup {DATE}'

    # The folder where to store the backups locally.
    backup-path
    : 'plugins/eBackup/backups'

    # The maximum backups stored. Will delete older backups when reached. (≤ 0 to disable)
    # Note: this will only work with local backups (fallbacks included).
    max-backups
    : 20

    # FTP/SFTP settings and configuration.
    # Backups saved here will not be auto-deleted.
    ftp
    :
        enable
    : false
        type
    : sftp # ftp for ftp, sftp for ftp over ssh
        host
    : 'localhost'
        port
    : 22
        user
    : 'username'
        pass
    : 'password'
        path
    : '~/backups/'

    # What you want in the backup.
    # By default, everything will be backupped, you can remove folders in the ignore section
    backup
    :
        pluginjars
    : true # The .jar files for the plugins
        pluginconfs
    : true # The data folder of each plugin
        ignore
    : # Files to ignore and NOT backup
            - 'plugins/eBackup/backups'
            - 'plugins/dynmap'
            - 'logs'
            - 'cache'


    Developers:

    The plugin is completely free and open source, meaning that you are allowed to take the code and modify it as you wish! If you have features you want to implement, feel free to submit a pull request, or fork it and start a new branch! :)

    Background:

    This plugin was created to address a shortage of decent free backup plugins. It adds support for sftp, which allows saving files over SSH connections. This was created for my server, since our old backup plugins kept causing storage issues with the way it saved! It takes heavy inspiration from the plugin PerfectBackup, but greatly improves saving performance!
    Resoluciones and Plugin_Dev like this.

Recent Updates

  1. 1.0.4 - Fix for Windows systems
  2. Fix FTP
  3. Added /ebackup backuplocal!

Recent Reviews

  1. 11EagleAlex22
    11EagleAlex22
    5/5,
    Version: 1.0.3
    Hello! I like this plug-in very much and want to reprint it to a minecraft forum in China. (https://www.mcbbs.net/) I hope you can authorize it. Thanks!
    1. EspiDev
      Author's Response
      Cool, please be sure to link it back to here and the GitHub, and do not charge any money for it.
  2. SirHectorin
    SirHectorin
    4/5,
    Version: 1.0.2
    in the uploadFTP function line 166 f.getName() in the github repo works perfectly. but the direct download from here, ftp doesnt work because that line is f.getAbsolutePath(). also github repo version shows 1.0.1 and spigotmc 1.0.2. please fix it
    1. EspiDev
      Author's Response
      Thanks for reminding me, I somehow forgot to push the version.
  3. Yandols
    Yandols
    5/5,
    Version: 1.0.2
    The fact that it has the ability to automatically upload backups via SFTP makes it 5 star worthy.
  4. Seshpenguin
    Seshpenguin
    5/5,
    Version: 1.0.1
    This plugin is awesome.

    In particular the ability to use SFTP is a life saver, and not available on a lot of other plugins.