Home›Java›Mods›NubesBackup
NubesBackup
ModsJava

NubesBackup

Java mod listed for Minecraft 1.7–1.17. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
This plugin backups your server files and supports mysql backup through running os commands.
You can put a list of directories which you want to be backed up and file extension exclusions in the config file.
You can enable automatic backups at a set time and when old backups are removed.
Supports command line execution. The server may need to be started with sufficient permissions in order to make mysql dump work.

To Install this:
  1. download this plugin and put it in your plugins folder
  2. reload the server
  3. open the config.yml in /plugins/NubesBackup
  4. change the delays and add which folders need to be included in backups
  5. save the file
  6. execute /backupreload
You are now good to go!

Commands:
- /backup
- /backupreload - to reload the config

Permissions:
For /backup
- nubesbackup.backup
For /backupreload
- nubesbackup.reload

Config:
Code (YAML):

#24 hours ~ set to 'disabled' to disable automatic backups
delay
: 01:00:00:00
#3 days ~ set to 'disabled' to disable old backup deletion
deleteifolderthan
: 03:00:00:00
#the commands are executed before the files are backed up
commands
:
enable
: false
windows
:
 - 'rmdir mysqldumps /s /q'
  - 'mkdir mysqldumps'
  - ' "C:\Program Files\MySQL\MySQL Workbench 8.0\mysqldump.exe" -uUsername -pPassword
    database > "mysqldumps\%date%.sql" --column-statistics=0'
linux
:
 - 'rm mysqldumpold -R'
  - 'mv mysqldump mysqldumpold'
  - 'mkdir mysqldump'
  - 'sudo mysqldump -uUsername -pPassword database > "mysqldump/%date%.sql"'
# optional if mysql sometimes bugs out
#  - 'sudo service mysql restart -uUsername -pPassword'

#you may use subfolders like 'plugins/Essentials'
backuplist
:
- mysqldump
- bukkit.yml
- paper.yml
- server.properties
- plugins
- world
- world_nether
- world_the_end
exclude-extensions
: [.lock, .jar, examplefile.zip ]

If you have a network it is recommended to have the backup script for mysql only run on your hub server because it's not necessary to backup the mysql database on all backend servers.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

NubesBackup is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 807 times (via Spigot). Download it and open it directly in the game.

Explore more