[INACTIVE][ADMN] Backup 1.6 - A simple Backup Plugin [818]

Discussion in 'Inactive/Unsupported Plugins' started by Meldanor, Mar 25, 2011.

  1. Offline

    Meldanor

    Important!
    I've stopped the development of this plugin, becase I lost the motivation. The user 'gamerx93' will continue my work in this thread:

    http://forums.bukkit.org/threads/admn-backup-v1-8-3-a-simple-backup-plugin-1392.39927/

    Backup - A simple Backup Plugin :
    Version : 1.6

    After I've searched for a simple, but powerfull backup plugin, I've tried some backups, but some have bugs, other don't save the world before they zip and so on. So I decided to write my own backup plugin.

    Features:
    • Automatically backups the server(all worlds) in a Intervall you've decided and zip it.
    • Saves every world running on the server and every player before the backup
    • Supporting Permission
    • Supporting manuel backups (you can use an ingame command or on the console)
    • Storing only a limit of backups that you've configure
    • You can set that only to backup when player are on the server
    • Stores also the plugin folder
    • Formate the date format
    Download:
    Source
    Plugin

    Changelog:
    Version 1.6:
    • Added option to control where the backups are getting stored
    • Fixed disabling broadcast messages
    • You can now use also the old save system, which is the same as before 1.5
    • Uses godsny's suggestion for the config file. Thanks !
    • Fixed bug deleting the custom dir when the maximum backup limit is hit!
    • Fixed bug stopping the complete backup if there is one file error!
    • Fixed bug not disabling the automatic backup when you set the BackupIntervall to -1
    Version 1.5:
    • Added property to also backup the plugin folder(is set to true by default)
    • Fixed issue with data corruption by using not thread save methods. Thanks to desmin88 for the hints!
    • All worlds(and when enabled the plugin folder) is stored in ONE ZIP
    • Customize the timestamp by merge a fork of xfxian . Thanks to xfxian!
    • You can now disable enabling the autosave (the command "save-on", not the backup cyclus!) by setting the property to true. It is false by default. Notify, that I will run the command "save-off" before I will start the backup to prevent unwished results!
    • When server is starting, the config.ini is checked now. If you don't have the current config.ini you can see on the console a error. Remove / relocate the config temporary to get the newest one.
    Show Spoiler

    Version 1.4a:
    • Fixed the bug " [Backup] Zipping backup is disabled! "
    Version 1.4:
    • Use ASyncMethod instead of SyncMethod (the lags should be gone)
    • Own broadcast messages ( change the message in you config.ini file)
    • A backup is run when the last player has left the server after the normal backup cyclus.
    • Remove worlds from backup (add the names of the worlds in your config.ini files)
    • Add an option to just store the worlds in dirs or zip them
    • Some minor improvements
    Version 1.3a:
    • You can now run a backup from the console using the command backup
    Version 1.3:
    • Implemented new function to only backup when player are online
    • Use Apache Common IO library instead of code from the internet for a better performance and better stability
    Version 1.2b:
    • Fixed bug with empty dirs
    Version 1.2a:
    • Fixed bug not creating config.ini
    Version 1.2:
    • Implement property so only ops can start manuell backups
    • Updated to recommened build 602
    • Tried to fix the problem with some system by using the system file seperator
    Version 1.1:
    • Added option to give manual backups a name(which will never automatically removed by auto backup)
    Version 1.0:
    • First release

    Install
    Just place it in your plugins dir

    Configuration
    Show Spoiler

    After the first start of the plugin it generates a config.ini in "plugins/Backup".
    Here is the current content:

    Version=1.6
    // --All variables are in minutes--
    // How often show the backup run? (#)
    // Notice: -1 Will disable automatic backups. You have to run the backups now manually!
    BackupIntervall=15
    // How many backups are retained? If this limit is hit, the oldest backup will be removed. (#)
    MaximumBackups=96
    // Only allow Ops to preform manual backups? (true/false)
    OnlyOps=true
    // Should backups only be preformed when there are players on the server?
    // Notice: When the last player leaves the server, a final backup will be made
    // within the backup cycle. The automatic backup cycle will resume when a player
    // joins. (true/false)
    BackupOnlyWithPlayer=true
    // Server broadcast message when starting a backup.
    // Notice : Remove the messages(not the property) to disable a broadcast. (text)
    MessageStartBackup=Start backup
    // Server broadcast message when a backup is completed.
    // Notice : Remove the messages(not the property) to disable a broadcast. (text)
    MessageFinishBackup=Finished backup
    // Worlds that should not be archived by the server, seperate them by
    // a semicolon. (directory names)
    // Example : World1;World2;Nether
    DontBackupWorlds=
    // ZIP backups?
    // If enabled, backups will be compressed and stored in a ZIP archive named with
    // the current timestamp.
    // If disabled, the backup will stored in a folder with the timestamp. (true/false)
    ZIPBackup=true
    // Custom date format string that is appended to every backup.
    // If left empty, the default date format is used.
    // This has to be a Java String.format string, see
    // http://download.oracle.com/javase/1.5.0/docs/api/java/util/Formatter.html#syntax
    // for reference.
    // Example: -%1$tY%1$tm%1$td-%1$tH%1$tM%1$tS (YYYYMMDD-HHMMSS: 20101201-011323) (conforms to ISO 8601)
    CustomDateFormat=%1$td%1$tm%1$tY-%1$tH%1$tM%1$tS
    // Enables the auto-save function after the backup.
    // Notice: If you set this to false, this plugin will backup your worlds but not save
    // the data from the memory to your hard disc. If the server crashes between
    // backups, all work is lost. Disable if you use another plugin to save the world
    // to disk (EG: autosave). (true/false)
    EnableAutoSave=true
    // Backup plugin directory? (true/false)
    BackupPluginDIR=true
    // Location of backups
    BackupDir=backups
    // Store all backuped world in one zip? (true/false)
    // If false every worlds backup is saved in one directory named in the format:
    // WORLDNAME_TIMESTAMP
    SummarizeBackupContent=true

    After this just type in your server
    /reload
    to reload the settings


    Permissions
    backup.canbackup

    Commands
    /backup starts a manuel Backup of your server. If you don't have permissions, everybody can run this command.
    /backup NAME starts a manuel Backup of your server. This backup is stored in backups/custom

    So far
    So Mel
     
  2. Offline

    TomTish

    This seems awesome, Going to try it when i get home.
    One question though, Does it broadcast a message when it backs up map? If not, it would be great if you could add that :D
     
  3. Offline

    Meldanor

    Yes, it broadcasts a message
     
  4. Offline

    Terrence

    Thanks so much for this plugin. I have been looking everywhere for a plugin that does this.
     
  5. Offline

    capsar

    i will test it for you!!
     
  6. Offline

    Meldanor

    Updated to Version 1.1:
    Now you can give a manuel backup a name by using this format:
    /backup NAME
    The created backup will stored in
    Server/backups/custom
     
  7. Offline

    Robby Stolle

    Amazing plugin thank you for the hard work

    Just looks at my server screen and no matter what I do it does not like backing up my nether world. The only world that doesn't like to be backed up. I tried to make a new one, deleting all the other worlds except for the nether.

    Error:
    22:12:07 [INFO] Start backup
    22:12:07 [INFO] Disabling level saving..
    22:12:07 [INFO] ColouredConsoleSender: Disabling level saving..
    22:12:27 [INFO] java.io.IOException: Error copying the Directory!
    nether
    /home/zero/Desktop/Minecraft/Server
    backups/nether
    22:12:27 [INFO] at io.DiscManagement.copyDirectory(DiscManagement.java:63)
    22:12:27 [INFO] at backup.BackupTask.backup(BackupTask.java:83)
    22:12:27 [INFO] at backup.CommandListener.onPlayerCommandPreprocess(CommandListener.java:46)
    22:12:27 [INFO] at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:182)
    22:12:27 [INFO] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    22:12:27 [INFO] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
     
  8. Offline

    Meldanor

    I'will take a look at this the next day.
    Was this error only one error or was that a general problem?
    Exists this error only in your nether world?
     
  9. Offline

    Robby Stolle

    It's whenever it's the last world on my multiverse list.
     
  10. Lucky you :/ Its my MAIN world for me :/
     
  11. Offline

    AgentKid

    First of all, I LOVE this plugin, and have been searching for it for quite some time. Secondly, it seems to work okay and all that, but throws out this whenever it's backing up:
    Code:
    2011-03-28 14:14:58 [INFO] Start backup
    2011-03-28 14:14:58 [INFO] Disabling level saving..
    2011-03-28 14:14:58 [INFO] ColouredConsoleSender: Disabling level saving..
    2011-03-28 14:15:01 [INFO] java.io.IOException: Error copying the Directory!
    Wilds
    /home/agentkid/Server6
    backups/Wilds
    2011-03-28 14:15:01 [INFO]     at io.DiscManagement.copyDirectory(DiscManagement.java:63)
    2011-03-28 14:15:01 [INFO]     at backup.BackupTask.backup(BackupTask.java:83)
    2011-03-28 14:15:01 [INFO]     at backup.CommandListener.onPlayerCommandPreprocess(CommandListener.java:48)
    2011-03-28 14:15:01 [INFO]     at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:182)
    2011-03-28 14:15:01 [INFO]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    2011-03-28 14:15:01 [INFO]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    2011-03-28 14:15:01 [INFO]     at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:637)
    2011-03-28 14:15:01 [INFO]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    2011-03-28 14:15:01 [INFO]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    2011-03-28 14:15:01 [INFO]     at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    2011-03-28 14:15:01 [INFO]     at net.minecraft.server.NetworkManager.a(SourceFile:230)
    2011-03-28 14:15:01 [INFO]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    2011-03-28 14:15:01 [INFO]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-03-28 14:15:01 [INFO]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    2011-03-28 14:15:01 [INFO]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    2011-03-28 14:15:01 [INFO]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-28 14:15:04 [INFO] java.io.IOException: Error copying the Directory!
    nether
    /home/agentkid/Server6
    backups/nether
    2011-03-28 14:15:04 [INFO]     at io.DiscManagement.copyDirectory(DiscManagement.java:63)
    2011-03-28 14:15:04 [INFO]     at backup.BackupTask.backup(BackupTask.java:83)
    2011-03-28 14:15:04 [INFO]     at backup.CommandListener.onPlayerCommandPreprocess(CommandListener.java:48)
    2011-03-28 14:15:04 [INFO]     at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:182)
    2011-03-28 14:15:04 [INFO]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    2011-03-28 14:15:04 [INFO]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    2011-03-28 14:15:04 [INFO]     at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:637)
    2011-03-28 14:15:04 [INFO]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    2011-03-28 14:15:04 [INFO]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    2011-03-28 14:15:04 [INFO]     at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    2011-03-28 14:15:04 [INFO]     at net.minecraft.server.NetworkManager.a(SourceFile:230)
    2011-03-28 14:15:04 [INFO]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    2011-03-28 14:15:04 [INFO]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-03-28 14:15:04 [INFO]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    2011-03-28 14:15:04 [INFO]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    2011-03-28 14:15:04 [INFO]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-28 14:15:08 [INFO] java.io.IOException: Error copying the Directory!
    Build
    /home/agentkid/Server6
    backups/Build
    2011-03-28 14:15:08 [INFO]     at io.DiscManagement.copyDirectory(DiscManagement.java:63)
    2011-03-28 14:15:08 [INFO]     at backup.BackupTask.backup(BackupTask.java:83)
    2011-03-28 14:15:08 [INFO]     at backup.CommandListener.onPlayerCommandPreprocess(CommandListener.java:48)
    2011-03-28 14:15:08 [INFO]     at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:182)
    2011-03-28 14:15:08 [INFO]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    2011-03-28 14:15:08 [INFO]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    2011-03-28 14:15:08 [INFO]     at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:637)
    2011-03-28 14:15:08 [INFO]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    2011-03-28 14:15:08 [INFO]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    2011-03-28 14:15:08 [INFO]     at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    2011-03-28 14:15:08 [INFO]     at net.minecraft.server.NetworkManager.a(SourceFile:230)
    2011-03-28 14:15:08 [INFO]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    2011-03-28 14:15:08 [INFO]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-03-28 14:15:08 [INFO]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    2011-03-28 14:15:08 [INFO]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    2011-03-28 14:15:08 [INFO]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-28 14:15:27 [INFO] java.io.IOException: Error copying the Directory!
    CowlandNether
    /home/agentkid/Server6
    backups/CowlandNether
    2011-03-28 14:15:27 [INFO]     at io.DiscManagement.copyDirectory(DiscManagement.java:63)
    2011-03-28 14:15:27 [INFO]     at backup.BackupTask.backup(BackupTask.java:83)
    2011-03-28 14:15:27 [INFO]     at backup.CommandListener.onPlayerCommandPreprocess(CommandListener.java:48)
    2011-03-28 14:15:27 [INFO]     at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:182)
    2011-03-28 14:15:27 [INFO]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    2011-03-28 14:15:27 [INFO]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    2011-03-28 14:15:27 [INFO]     at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:637)
    2011-03-28 14:15:27 [INFO]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    2011-03-28 14:15:27 [INFO]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    2011-03-28 14:15:27 [INFO]     at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    2011-03-28 14:15:27 [INFO]     at net.minecraft.server.NetworkManager.a(SourceFile:230)
    2011-03-28 14:15:27 [INFO]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    2011-03-28 14:15:27 [INFO]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-03-28 14:15:27 [INFO]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    2011-03-28 14:15:27 [INFO]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    2011-03-28 14:15:27 [INFO]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-28 14:15:28 [INFO] java.io.IOException: Error copying the Directory!
    Cowland
    /home/agentkid/Server6
    backups/Cowland
    2011-03-28 14:15:28 [INFO]     at io.DiscManagement.copyDirectory(DiscManagement.java:63)
    2011-03-28 14:15:28 [INFO]     at backup.BackupTask.backup(BackupTask.java:83)
    2011-03-28 14:15:28 [INFO]     at backup.CommandListener.onPlayerCommandPreprocess(CommandListener.java:48)
    2011-03-28 14:15:28 [INFO]     at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:182)
    2011-03-28 14:15:28 [INFO]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    2011-03-28 14:15:28 [INFO]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    2011-03-28 14:15:28 [INFO]     at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:637)
    2011-03-28 14:15:28 [INFO]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    2011-03-28 14:15:28 [INFO]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    2011-03-28 14:15:28 [INFO]     at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    2011-03-28 14:15:28 [INFO]     at net.minecraft.server.NetworkManager.a(SourceFile:230)
    2011-03-28 14:15:28 [INFO]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    2011-03-28 14:15:28 [INFO]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-03-28 14:15:28 [INFO]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    2011-03-28 14:15:28 [INFO]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    2011-03-28 14:15:28 [INFO]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-28 14:15:39 [INFO] Enabling level saving..
    2011-03-28 14:15:39 [INFO] ColouredConsoleSender: Enabling level saving..
    2011-03-28 14:15:39 [INFO] Finished backup
    
     
  12. Offline

    baguba1999

    Hello i have a problem. Mine says this.
    Code:
    07:38:32 [INFO] Start backup
    07:38:32 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to Backup
    java.lang.NoSuchMethodError: org.bukkit.Server.dispatchCommand(Lorg/bukkit/c
    nd/CommandSender;Ljava/lang/String;)Z
            at backup.BackupTask.backup(BackupTask.java:74)
            at backup.CommandListener.onPlayerCommandPreprocess(CommandListener.
    :46)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoade
    va:145)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManag
    ava:225)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:611
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:576
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  13. Offline

    NikkyyyHD

    Does it save it automatically?
     
  14. Offline

    Wesley211

    Hey, i just downloaded it and (i think) its working.
    But now i just get an error, each time it tries to backup

    Code:
    2011-03-29 19:07:50 [INFO] Starting Minecraft server on 5.147.94.58:25565
    2011-03-29 19:07:50 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-03-29 19:07:50 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-03-29 19:07:50 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-03-29 19:07:50 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-03-29 19:07:50 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-544-g6c6c30a-b556jnks (MC: 1.3)
    2011-03-29 19:07:50 [INFO] Preparing level "ms"
    2011-03-29 19:07:50 [INFO] Preparing start region
    2011-03-29 19:07:51 [INFO] WorldGuard loaded.
    2011-03-29 19:07:51 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 60 minutes!
    2011-03-29 19:07:51 [INFO] GroupManager version 1.0(alpha-5) is enabled!
    2011-03-29 19:07:51 [INFO] Fake Permissions version 2.5.4 is enabled!
    2011-03-29 19:07:51 [INFO] Backup v1.1 was sucessfully loaded!
    2011-03-29 19:07:51 [INFO] DeathMessagePlugin version 1.4 is enabled with permissions!
    2011-03-29 19:07:51 [INFO] [DelayedStop] Enabling Delayed Stop v0.12
    2011-03-29 19:07:51 [INFO] [DelayedStop] GroupManager system found
    2011-03-29 19:07:51 [INFO] [DelayedStop] version 0.12 enabled
    2011-03-29 19:07:52 [INFO] Loaded Essentials build 2.0.299 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-03-29 19:07:52 [INFO] Loaded EssentialsChat build 2.0.299 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-03-29 19:07:52 [INFO] Fake Permissions version 2.5.1 is enabled!
    2011-03-29 19:07:53 [INFO] Loaded EssentialsProtect build 2.0.299 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-03-29 19:07:53 [INFO] EssentialsServerlist version 2.0.299 by Vimae Development enabled.
    2011-03-29 19:07:53 [INFO] Loaded EssentialsSpawn build 2.0.299 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-03-29 19:07:53 [INFO] [Jail] Loaded 1 jail zones.
    2011-03-29 19:07:53 [INFO] [Jail] Loaded 1 prisoners.
    2011-03-29 19:07:53 [INFO] NoExplode version 1.2 is enabled!
    2011-03-29 19:07:53 [INFO] WorldEdit 4.2 enabled.
    2011-03-29 19:07:53 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-03-29 19:07:53 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-03-29 19:07:53 [INFO] WorldGuard: Single session is enforced.
    2011-03-29 19:07:53 [INFO] WorldGuard: TNT ignition is PERMITTED.
    2011-03-29 19:07:53 [INFO] WorldGuard: Lighters are PERMITTED.
    2011-03-29 19:07:53 [INFO] WorldGuard: Lava fire is blocked.
    2011-03-29 19:07:53 [INFO] WorldGuard: All fire spread is disabled.
    2011-03-29 19:07:53 [INFO] WorldGuard 4.0-alpha1 enabled.
    2011-03-29 19:07:53 [INFO] Done (0,357s)! For help, type "help" or "?"
    2011-03-29 19:08:17 [INFO] 143 recipes
    2011-03-29 19:08:54 [INFO] Start backup
    2011-03-29 19:08:54 [INFO] Disabling level saving..
    2011-03-29 19:08:54 [INFO] ColouredConsoleSender: Disabling level saving..
    2011-03-29 19:08:54 [INFO] java.io.IOException: Error copying the Directory!
    ms\mods
    D:\Minecraft_Bukkit\backups/ms
    mods
    2011-03-29 19:08:54 [INFO]     at io.DiscManagement.copyDirectory(DiscManagement.java:63)
    2011-03-29 19:08:54 [INFO]     at io.DiscManagement.copyDirectory(DiscManagement.java:58)
    2011-03-29 19:08:54 [INFO]     at backup.BackupTask.backup(BackupTask.java:83)
    2011-03-29 19:08:54 [INFO]     at backup.BackupTask.run(BackupTask.java:58)
    2011-03-29 19:08:54 [INFO]     at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
    2011-03-29 19:08:54 [INFO]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:345)
    2011-03-29 19:08:54 [INFO]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    2011-03-29 19:08:54 [INFO]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-29 19:08:54 [INFO] java.io.IOException: Error copying the Directory!
    ms
    D:\Minecraft_Bukkit
    backups/ms
    2011-03-29 19:08:54 [INFO]     at io.DiscManagement.copyDirectory(DiscManagement.java:63)[/B]
    2011-03-29 19:08:54 [INFO]     at backup.BackupTask.backup(BackupTask.java:83)
    2011-03-29 19:08:54 [INFO]     at backup.BackupTask.run(BackupTask.java:58)
    2011-03-29 19:08:54 [INFO]     at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
    2011-03-29 19:08:54 [INFO]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:345)
    2011-03-29 19:08:54 [INFO]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    2011-03-29 19:08:54 [INFO]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-29 19:08:54 [INFO] java.io.IOException: Error copying the Directory!
    nether
    D:\Minecraft_Bukkit
    backups/nether
    2011-03-29 19:08:54 [INFO]     at io.DiscManagement.copyDirectory(DiscManagement.java:63)
    2011-03-29 19:08:54 [INFO]     at backup.BackupTask.backup(BackupTask.java:83)
    2011-03-29 19:08:54 [INFO]     at backup.BackupTask.run(BackupTask.java:58)
    2011-03-29 19:08:54 [INFO]     at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
    2011-03-29 19:08:54 [INFO]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:345)
    2011-03-29 19:08:54 [INFO]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    2011-03-29 19:08:54 [INFO]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-29 19:08:54 [INFO] Enabling level saving..
    2011-03-29 19:08:54 [INFO] ColouredConsoleSender: Enabling level saving..
    2011-03-29 19:08:54 [INFO] Finished backup
    I think it says it backups at the wrong folder, but i placed the .jar in my plugin folder.

    Hope you know the problem, and otherwise can fix it?

    Thanks :)
     
  15. Offline

    AgentKid

    Yes, it saves automatically.
     
  16. Offline

    TheJSeb

    Without using permissions, can you make only the ops do the manual back ups? Or Bukkit doesnt support this option?
     
  17. Offline

    NikkyyyHD

    Brilliant!
     
  18. Offline

    Xin_TiGeR

    finaly a simple backup plugin :)

    one thing to be perfect: if you could disable the backup during idlle times. that would be awesome :D
     
  19. Offline

    godsyn

    Feature request: Manual backups from console.
     
  20. Offline

    Robin9000

    hi, I was installing this plugin to my server BUT my old world disappeared! were can I find it? it must have gone somewere :S
     
  21. Offline

    LucidLethargy

    Thank you so much for this, I have been hanging on to that sinking ship "SimpleServer" all because I don't believe the "BackupPlugin" has reliable backups. This changes everything, though, as it seems to be an extremely effective solution! Well done, sir!
     
  22. Offline

    Meldanor

    I'm a little bussy at the moment, when I'm lucky, I can sit in front of my laptop this evening and try to create a build for the recommened build.

    I'm sry for your loss, but I haven't any idea, where your old world is.
    My plugin works the followning and no other way:
    Every world dir is copieed to an temporary folder and the temporary folder is zipped. The original dir is not chaning or something else. Maybe a other error was the cause for this?
    I will implement it in my next build, you can set a property to control it.
    When I find a way how to solve this, I will implement this of course!

    I don't have any idea at the moment, why it doesn't work by someone, because I can't reproduce this mistake or anything like this. At my laptop(i'm using win7 and ntfs as file format and have admin rights) i have any problems with this.
    What is you OS? Linux, Mac, Win? And you file format? I think this is only a error interacting with you files and no one with the plugin directly.
    I have to test this, which build you are using?
     
  23. Offline

    Matimba

    I think it is because of the newer craftbukkit builds. I got the most recent build and i get the same errors as stated before
     
  24. Offline

    Wesley211

    Using Windows 7 64 bit, & what you mean by File Format?
     
  25. Offline

    xZise

    Same error here with build 602. This is because the signature has changed here so each CraftBukkit depending on Bukkit build 479 won't work.

    So simply change the signature of the method and the thread title, because you are not supporting 556+…

    Fabian
     
  26. Offline

    Meldanor

    I've released the version 1.2, which includes the followning features:

    • Updated to version 602 !
    • Tried to fix the plugin, so it works for more persons(but I'm absolutly not sure, whether it will work!)
    • Added property where you can decide, that only ops can run manuel backups

    IMPORTANT!
    You have to delete the config.ini in your /plugins/Backup/ dir!
     
  27. Offline

    tekac

    Does anything above #602 break plugins again? New recommended is #617, I can't test on #602 and up because WorldGuard/WorldEdit are still not updated :mad:
     
  28. Offline

    Meldanor

    What? A newer recommended build is out?
    Shit, you are right....
    I'm sry, I've "released" the update yesterday, but the forum was down and now I just wanted to upload it. Maybe it will work with 617?
     
  29. Offline

    tekac

    @Meldanor I'm about to give it a run on the test client. I'll let you know
     
  30. Offline

    Matimba

    I just tried it with 617 and it refused to create a config file for me D: I´m not sure if this problem occured because of the new build or because of a mistake on my part.

    Keep it up :D I really need a plugin like this :>
     

Share This Page