Inactive [ADMN] WorldSaver v1.4 - Schedules Backups and Saves [1.1-R4]

Discussion in 'Inactive/Unsupported Plugins' started by knoxcorner, Oct 9, 2011.

  1. Offline

    Cory_

    2 Options

    E-mail Backup in-game for example:

    /ws forcebackup email@email.com

    or add settings in the config file to add into "Remote FTP Backup" -used with scheduled backups.

    Might have to add something where it "Zips Everything".

    Could also a command like;

    /ws forcebackup ftp

    Purpose:

    Currently have no access to server, can't get backups...These options would avoid worrying about it.
     
  2. Offline

    StreachyMan

    When i inputed this:

    >ws forcebackup
    15:46:22 [INFO] Executing backup
    15:46:22 [INFO] [WorldSaver] Backing up worlds, you may experience lag
    15:46:22 [INFO] [WorldSaver] Backing up worlds, WARNING: The server may stop res
    ponding, do not close!
    15:46:41 [SEVERE] null
    java.io.IOException: The process cannot access the file because another process
    has locked a portion of the file
    at java.io.FileInputStream.readBytes(Native Method)
    at java.io.FileInputStream.read(Unknown Source)
    at servm.knoxcorner.worldsaver.saveScheduler.copyFolder(saveScheduler.ja
    va:150)
    at servm.knoxcorner.worldsaver.saveScheduler.copyFolder(saveScheduler.ja
    va:136)
    at servm.knoxcorner.worldsaver.saveScheduler.run(saveScheduler.java:88)
    at servm.knoxcorner.worldsaver.worldSaver.onCommand(worldSaver.java:153)

    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    5)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    78)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    74)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:564)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:541)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    15:46:41 [WARNING] Can't keep up! Did the system time change, or is the server o
    verloaded?
    >
    I got all these errors. I created a folder entitled 'backups' and it did indeed appear to save a illegitimate backup of the world there, but what is this error? Why should i be concerned with it, and how can i fix it?
     
  3. Offline

    tomtom9749

    It would be nice to have a customize-able directory seeing as my worlds are in a "worlds" folder in my .craftbukkit folder. Thus when it backs up up i get an error of cant find directory as was said earlier by another person. (and an update to CB 1.0.1 *wink wink* *nudge nudge*)
     
  4. Offline

    Wiinick

    I dont like how you can schedule a backup in hours, how you cant exclude worlds or plugins, or how backup will run when players arent on the server. Fix this can u got ur self a good plugin sir.
     
  5. Offline

    SBM

    I can not believe Ami backups (backup folder is not created to automatically save the worlds)
    That I have to do?
     
  6. Offline

    shauwk

    awesome! thanks for plugin
     
  7. Offline

    Phealoon

    I too am getting an error similar that StreachyMan is getting:

    Code:
    2012-01-02 22:53:44 [INFO] [WorldSaver] Saving worlds, you may experience lag
    2012-01-02 22:53:44 [INFO] [WorldSaver] Saved world
    2012-01-02 22:53:44 [INFO] [WorldSaver] Backing up worlds, you may experience lag
    2012-01-02 22:53:44 [INFO] [WorldSaver] Backing up worlds, WARNING: The server may stop responding, do not close!
    2012-01-02 22:53:49 [SEVERE] null
    java.io.IOException: The process cannot access the file because another process has locked a portion of the file
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(Unknown Source)
        at servm.knoxcorner.worldsaver.saveScheduler.copyFolder(saveScheduler.java:150)
        at servm.knoxcorner.worldsaver.saveScheduler.copyFolder(saveScheduler.java:136)
        at servm.knoxcorner.worldsaver.saveScheduler.run(saveScheduler.java:88)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:493)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2012-01-02 22:53:49 [INFO] [Citizens] Saving npc files to disk...
    2012-01-02 22:53:49 [INFO] [Citizens] Saved.
    
     
  8. Offline

    Letalis

    Will there be 1.0.1R support?
     
  9. Offline

    Phealoon

    It says the plugin Dev was last online on December 22. So it's been almost a month, we are likely not to get an answer soon.
     
  10. Offline

    MTVirux

    What's the difference between backing up and saving?
     
  11. Offline

    knoxcorner

    Updated, I added most of the earlier suggestions. Sorry it took so long, I had imagined that I had updated it when 1.0 came out. Let me know if anything's wrong. Backups no longer freeze up the server but are much slower.
     
  12. Offline

    MTVirux

    When i start the server it says:
    Code:
    21:38:01 [SEVERE] Could not load 'plugins\WorldSaver.jar' in folder 'plugi
    nvalid plugin: Jar does not contain plugin.yml
    org.bukkit.plugin.InvalidPluginException: Invalid plugin: Jar does not con
    lugin.yml
            at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(Ja
    inLoader.java:183)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginM
    .java:119)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:140)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerCo
    ationManager.java:52)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:4
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465
    Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
    Help plz :c
     
    knoxcorner likes this.
  13. Offline

    carbonad

    I am getting the same error as MTVirux.
     
    knoxcorner likes this.
  14. Offline

    knoxcorner

    Sorry I failed and uploaded wrong jar file. Should work now, also R4.
     
    MTVirux likes this.
  15. Offline

    MTVirux

    Thank You! ^^

    BTW, didn't want to make 2 posts so here's one sugestion:

    Option to limit backups you have on your drive for example if you set the limit to five when the server saves the 6th time it deletes the oldest one :)

    Or in other words:
    This would be very useful as I sometime find the backups of my multi-world server ocupying several GB :/
     
  16. Offline

    FerrOHShay

    Thanks alot for updating ;]! Testing time.
    -EDIT Works Perfectly!, but can you also add SaveFinishedMessage, that would be epic ;]!
     
  17. Offline

    sampolo

    The messages dont seem to appear when saving any help please?
     
  18. Offline

    Noxturno

    hey guys I got a quick question after I have this plugin running should I do /save-off on the console?
    so the plug in does it every 10 minutes . would that improve gameplay? I still not understand very well thanks in advance.
     
  19. Offline

    ccrama

    This plugin looks awesome, but it says saving worlds, and nothing gets saved. Idk if its a config error or what, but it isnt working :(. Also can you enable multi world? that would be great ;)
     
  20. Offline

    ZeusOGaming

    How do I roll-back the server? As in: An op put lava all over the spawn, Hawkeye wouldn't get rid of it, WorldEdit would get rid of the spawn but I used backup and force-save just before it was griefed...How do I get back to the state before it was griefed?
     
  21. Offline

    FuZeEclipse

    I' Getting this error:
    Code:
    2012-02-28 13:22:50 [WARNING] Task of 'WorldSaver' generated an exception
     
    java.lang.OutOfMemoryError: Java heap space
     
        at java.util.HashMap.newKeyIterator(HashMap.java:853)
     
        at java.util.HashMap$KeySet.iterator(HashMap.java:887)
     
        at java.util.HashSet.iterator(HashSet.java:170)
     
        at net.minecraft.server.World.a(World.java:2355)
     
        at net.minecraft.server.ChunkLoader.a(ChunkLoader.java:163)
     
        at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:75)
     
        at net.minecraft.server.ChunkProviderServer.saveChunk(ChunkProviderServer.java:163)
     
        at net.minecraft.server.ChunkProviderServer.saveChunks(ChunkProviderServer.java:212)
     
        at net.minecraft.server.World.save(World.java:277)
     
        at org.bukkit.craftbukkit.CraftWorld.save(CraftWorld.java:580)
     
        at servm.knoxcorner.worldsaver.forceSave.save(forceSave.java:35)
     
        at servm.knoxcorner.worldsaver.saveRunner.run(saveRunner.java:27)
     
        at com.bergerkiller.bukkit.nolagg.logging.TimedWrapper.run(TimedWrapper.java:17)
     
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
     
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
     
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
     
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
     
    2012-02-28 13:22:50 [SEVERE] java.lang.OutOfMemoryError: Java heap space
     
    2012-02-28 13:22:51 [SEVERE]    at java.io.ByteArrayOutputStream.<init>(ByteArrayOutputStream.java:77)
     
    2012-02-28 13:22:51 [SEVERE]    at net.minecraft.server.ChunkBuffer.<init>(SourceFile:253)
     
    2012-02-28 13:22:51 [SEVERE]    at net.minecraft.server.RegionFile.b(SourceFile:242)
     
    2012-02-28 13:22:51 [SEVERE]    at net.minecraft.server.RegionFileCache.c(SourceFile:94)
     
    2012-02-28 13:22:51 [SEVERE]    at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:126)
     
    2012-02-28 13:22:51 [SEVERE]    at net.minecraft.server.ChunkRegionLoader.c(ChunkRegionLoader.java:116)
     
    2012-02-28 13:22:51 [SEVERE]    at net.minecraft.server.FileIOThread.b(SourceFile:29)
     
    2012-02-28 13:22:51 [SEVERE]    at net.minecraft.server.FileIOThread.run(SourceFile:22)
     
    2012-02-28 13:22:51 [SEVERE]    at java.lang.Thread.run(Thread.java:722)
    
     
  22. Offline

    MikeA

    I am waiting for this :S ...
    My SSD's can't hold dozens of backups, too big.
     
  23. Offline

    iPhysX

    knoxcorner
    About the max backups thing..

    Code:java
    1. if (dir.listfiles().length() >= NUMBER) return;


    Wouldn't something similar to this work?
     
  24. Offline

    DT_Rush

    I made the backup save to the plugins folder which made a never ending loop of folders and i can't delete it. Any ideas on how to delete it?
     
  25. Offline

    ezzitthehezzit

    LOVE IT! LOVE YOU! THIS IS JUST WHAT I NEEDED THANK YOU!! although one suggestion for the next update, reboots? just an idea but i love how lightweight it is! good job!

    you can choose where in the config. bottom line

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  26. Offline

    winter4w

    I found another plugin but thanks :D
     
  27. Offline

    jjon43

    Can you please update this?
     
  28. Offline

    DT_Rush

    I know but i made it save to the plugins folder
     
  29. Will this plugin be updating to 1.2.3? Please say yes.
     
  30. is this plugin working in 1.2.3?
     

Share This Page