[INACTIVE][ADMN] SimpleSave v3.25 Simple automatic saving! [000] - Backups!

Discussion in 'Inactive/Unsupported Plugins' started by desmin88, Mar 11, 2011.

  1. Offline

    desmin88

  2. Offline

    Rebeljah

    What does this have to do with my problem :confused:
     
  3. Offline

    PhantomGamers

    Pretty sure he's bumping your post, saying he's having the same issue.

    I could be wrong though.

    Also, issue report.
    Not sure if this is a 'bug', or just how it's supposed to work.
    But with backup.use set to false, it still backs up whenever a player leaves.
    I turn ignore no players to true to counter this, which does fix it, but then I get constant saving spam when there are no players online.

    I'm on build 863, but I do not believe this is the issue.

    I also posted this in the GitHub thing.
     
  4. Offline

    Rytharr

    Like most other plugins you download the zip to your computer extract the files then upload them with your ftp client. its that simple
     
  5. Offline

    GameFreakDude

    see:
     
  6. Offline

    maino

    Got this Error...
     
  7. Offline

    godgodgodgo

    I assume this works with CB#860?
     
  8. Offline

    OZ4RK

    Ok, This plugin worked successfully for me until I had to restart my server. I did so and when I returned the things I had built in the last hours were gone. It loaded a map file from 6 hours ago. And in my backup folder that is the most recent, when it should of backed up in my 30 minute save and 60 minute backup interval since then. So now I have no idea where my old world went, and why your mod should of affected the actual actions of the map file, when it should of saved automatically and been there when I returned...?

    When loading my world file, I see this error:
    Code:
    15:15:40 [INFO] Preparing level "OZ4RK & Rage's Minecraft Server"
    15:15:41 [INFO] Preparing start region for level 0
    15:15:42 [INFO] Preparing spawn area: 89%
    15:15:42 [INFO] Preparing start region for level 1
    15:15:44 [SEVERE] Could not load 'plugins/mysql-connector-java-bin.jar' in folder 'plugins':
    java.io.FileNotFoundException: Jar does not contain plugin.yml
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:63)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:194)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:117)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:103)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Wasn't aware of any MySQL relevance to map loading or your plugin?
    I later stopped the server to get this error:

    Code:
    16:11:59 [SEVERE] SimpleSave: Error when copying files!
    16:11:59 [SEVERE] SimpleSave: This means a plugin you have is not acting nice, or isn't threadsafe
    16:11:59 [SEVERE] SimpleSave: Go to my thread and post the following information
    16:11:59 [INFO] [WeatherControl] Plugin disabled!
    16:11:59 [INFO] Saving chunks
    16:11:59 [INFO] nullnull
    16:11:59 [SEVERE] java.nio.channels.ClosedByInterruptException
    16:11:59 [SEVERE]     at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:184)
    16:11:59 [SEVERE]     at sun.nio.ch.FileChannelImpl.position(FileChannelImpl.java:282)
    16:11:59 [SEVERE]     at sun.nio.ch.FileChannelImpl.transferFromFileChannel(FileChannelImpl.java:530)
    16:11:59 [SEVERE]     at sun.nio.ch.FileChannelImpl.transferFrom(FileChannelImpl.java:590)
    16:11:59 [SEVERE]     at org.desmin88.simplesave.FileUtils.doCopyFile(FileUtils.java:299)
    16:11:59 [SEVERE]     at org.desmin88.simplesave.FileUtils.doCopyDirectory(FileUtils.java:265)
    16:11:59 [SEVERE]     at org.desmin88.simplesave.FileUtils.doCopyDirectory(FileUtils.java:263)
    16:11:59 [SEVERE]     at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:230)
    16:11:59 [SEVERE]     at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:156)
    16:11:59 [SEVERE]     at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:125)
    16:11:59 [SEVERE]     at org.desmin88.simplesave.Backup.backup(Backup.java:40)
    16:11:59 [SEVERE]     at org.desmin88.simplesave.SimpleSave$BackupMethod.run(SimpleSave.java:133)
    16:11:59 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    16:11:59 [SEVERE]     at java.lang.Thread.run(Thread.java:680)
    16:11:59 [SEVERE] SimpleSave: Error when copying files!
    16:11:59 [SEVERE] SimpleSave: This means a plugin you have is not acting nice, or isn't threadsafe
    16:11:59 [SEVERE] SimpleSave: Go to my thread and post the following information
    16:11:59 [INFO] nullnull
    16:11:59 [SEVERE] java.nio.channels.ClosedByInterruptException
    16:11:59 [SEVERE]     at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:184)
    16:11:59 [SEVERE]     at sun.nio.ch.FileChannelImpl.size(FileChannelImpl.java:304)
    16:11:59 [SEVERE]     at org.desmin88.simplesave.FileUtils.doCopyFile(FileUtils.java:294)
    16:11:59 [SEVERE]     at org.desmin88.simplesave.FileUtils.doCopyDirectory(FileUtils.java:265)
    16:11:59 [SEVERE]     at org.desmin88.simplesave.FileUtils.doCopyDirectory(FileUtils.java:263)
    16:11:59 [SEVERE]     at org.desmin88.simplesave.FileUtils.doCopyDirectory(FileUtils.java:263)
    16:11:59 [SEVERE]     at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:230)
    16:11:59 [SEVERE]     at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:156)
    16:11:59 [SEVERE]     at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:125)
    16:11:59 [SEVERE]     at org.desmin88.simplesave.Backup.backup(Backup.java:40)
    16:11:59 [SEVERE]     at org.desmin88.simplesave.SimpleSave$BackupMethod.run(SimpleSave.java:133)
    16:11:59 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    16:11:59 [SEVERE]     at java.lang.Thread.run(Thread.java:680)
    16:11:59 [INFO] SimpleSave: Deleting old backups
    16:11:59 [INFO] [SimpleSave] Ending world backup
    
     
  9. Offline

    supre

    how is this running in#860
    still same problems?
     
  10. Offline

    Zaros

    Possibly add a command to save? Like type /ss save to save or /ss backup to backup at that moment?
     
  11. Offline

    Taranis01

    for save use /save-all
    /ss is already used by 'ServerStatus', maybe /sb for backup ;)
     
  12. Offline

    KaLul

    everytime i close the server with command stop. its not saving! thats a big problem cause the worjk of 6 users got deletet after 24 hours!!!! next problem followed by the command /save-on i used then and the backup plugin deleted the whole backups that could have saved the time! Damnit i dont know what was going on! i use following plugins:
    falsebook
    signshop
    iconomy
    essentials
    permissionsex
    coloredsign
    pickboat
    itemcommands
    mcdocs
    lwc
    helppages
    woolswitch
    worldedit
    worldguard
     
  13. Offline

    GameFreakDude

    Did you run out of disc space? I had something similar to this once and it was because my server ran out of disc space.
     
  14. Offline

    Zaros

    I mean to start the timed saves. My server already backs itself up on the hour, but this plugin is saving it a few minutes after. It means I'd always have to launch my server a few minutes before the hour to have it save right/
     
  15. Offline

    ReaZaaa

    Hi :) I got this in my Serverlog:

    Code:
    20:53:15 [SEVERE] SimpleSave: Error when copying files!
    20:53:15 [SEVERE] SimpleSave: This means a plugin you have is not acting nice, or isn't threadsafe
    20:53:15 [SEVERE] SimpleSave: Go to my thread and post the following information
    20:53:15 [INFO] nullnull
    20:53:15 [SEVERE] java.nio.channels.ClosedByInterruptException
    20:53:15 [SEVERE]       at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:184)
    20:53:15 [SEVERE]       at sun.nio.ch.FileChannelImpl.size(FileChannelImpl.java:314)
    20:53:15 [SEVERE]       at org.desmin88.simplesave.FileUtils.doCopyFile(FileUtils.java:294)
    20:53:15 [SEVERE]       at org.desmin88.simplesave.FileUtils.doCopyDirectory(FileUtils.java:265)
    20:53:15 [SEVERE]       at org.desmin88.simplesave.FileUtils.doCopyDirectory(FileUtils.java:263)
    20:53:15 [SEVERE]       at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:230)
    20:53:15 [SEVERE]       at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:156)
    20:53:15 [SEVERE]       at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:125)
    20:53:15 [SEVERE]       at org.desmin88.simplesave.Backup.backup(Backup.java:40)
    20:53:15 [SEVERE]       at org.desmin88.simplesave.SimpleSave$BackupMethod.run(SimpleSave.java:133)
    20:53:15 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    20:53:15 [SEVERE]       at java.lang.Thread.run(Thread.java:662)
     
  16. Offline

    desmin88

    @ReaZaaa
    Common error, fixed in next release
    @Zaros
    Not making an sense here.. elaborate?
    In 3.13, there are commands /ss save and /ss backup
    @OZ4RK
    My plugin is no way related to the mysql jar. That's your own issue.
     
  17. Offline

    chriskevini

    I created a world in Multiverse and got this

    17:11:30 [INFO] Failed to copy full contents from 'Creative/region/r.-1.-1.mcr' to 'backup/Creative/region/r.-1.-1.mcr'null
    17:11:30 [SEVERE] java.io.IOException: Failed to copy full contents from 'Creative/region/r.-1.-1.mcr' to 'backup/Creative/region/r.-1.-1.mcr'
    17:11:30 [SEVERE] at org.desmin88.simplesave.FileUtils.doCopyFile(FileUtils.java:310)
    17:11:30 [SEVERE] at org.desmin88.simplesave.FileUtils.doCopyDirectory(FileUtils.java:265)
    17:11:30 [SEVERE] at org.desmin88.simplesave.FileUtils.doCopyDirectory(FileUtils.java:263)
    17:11:30 [SEVERE] at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:230)
    17:11:30 [SEVERE] at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:156)
    17:11:30 [SEVERE] at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:125)
    17:11:30 [SEVERE] at org.desmin88.simplesave.Backup.backup(Backup.java:40)
    17:11:30 [SEVERE] at org.desmin88.simplesave.SimpleSave$BackupMethod.run(SimpleSave.java:133)
    17:11:30 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    17:11:30 [SEVERE] at java.lang.Thread.run(Thread.java:679)
    17:11:30 [INFO] SimpleSave: Deleting old backups
    17:11:30 [INFO] [SimpleSave] Ending world backup
    17:11:33 [INFO] [SimpleSave] Ending world save

    Please Help, Thanks
     
  18. Offline

    Malao567

    Nice plugin, but could you add some kind of command for admins to manually save? interval saves are ok, but sometimes it takes too long.
     
  19. Offline

    GameFreakDude

    is /save-all not what you want?
     
  20. Offline

    Malao567

    I'm trying to use the Backups as snapshots for WorldEdit's //restore command. i just think /backup would immediately save a backup and put it in the folder. it would be easier to do than waiting 5 minutes.

    (EDIT: i figured out that worldedit saves it itself...)
     
  21. Offline

    desmin88

  22. Offline

    Malao567

    @desmin88 Getting Error Report. It says:

    [SEVERE] SimpleSave: Error when copying files!
    2011-06-13 19:44:28 [SEVERE] SimpleSave: This means a plugin you have is not acting nice, or isn't threadsafe
    2011-06-13 19:44:28 [SEVERE] SimpleSave: Go to my thread and post the following information
    2011-06-13 19:44:28 [INFO] Unable to delete directory C:UsersAustinDesktopMinecraft-ServerpluginsWorldEditsnapshots\world\region.null
    2011-06-13 19:44:28 [SEVERE] java.io.IOException: Unable to delete directory C:UsersAustinDesktopMinecraft-ServerpluginsWorldEditsnapshots\world\region.
    2011-06-13 19:44:28 [SEVERE] at org.desmin88.simplesave.FileUtils.deleteDirectory(FileUtils.java:365)
    2011-06-13 19:44:28 [SEVERE] at org.desmin88.simplesave.FileUtils.forceDelete(FileUtils.java:454)
    2011-06-13 19:44:28 [SEVERE] at org.desmin88.simplesave.FileUtils.cleanDirectory(FileUtils.java:426)
    2011-06-13 19:44:28 [SEVERE] at org.desmin88.simplesave.FileUtils.deleteDirectory(FileUtils.java:360)
    2011-06-13 19:44:28 [SEVERE] at org.desmin88.simplesave.Backup.backup(Backup.java:48)
    2011-06-13 19:44:28 [SEVERE] at org.desmin88.simplesave.SimpleSave$BackupMethod.run(SimpleSave.java:133)
    2011-06-13 19:44:28 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-06-13 19:44:28 [SEVERE] at java.lang.Thread.run(Unknown Source)
    2011-06-13 19:44:30 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-06-13 19:44:35 [INFO] SimpleSave: Deleting old backups
     
  23. Offline

    desmin88

  24. Offline

    Malao567

    Yeah... I figured out worldedit was making it's own folder. sorry for the ruckus.
     
  25. Offline

    Zaros

    I seem to do this a lot.

    The backup timer begins when the plugin is loaded yes? It then saves/backs up every x minutes. Could you possibly add a command to force the plugin to save and reset the timer?
     
  26. Offline

    fffizzz

    Fantastic plugin, works great!

    I have one feature request..
    maybe an option to specify lin/win and if its Linux based, create a symlink to newest backup, worldname-newest.zip would symlink to worldname-9872987398798.zip :)

    thanks
     
  27. Offline

    Sh4d0w

    quote me self
    i asked for a while.
    now i can say that SimpleSave creates my Servercrash and the crashs other player.

    I tested it on my local (test)-server.

    following test:
    ~~I fly approx. 4 min in one direction

    1. all plugin without SimpleSave => chunks were stable, regular
    2. all plugins + SimpleSave => chunks incresed more and more (memory leak)
    3. no plugins, only Bukkit 860 => chunks were stable, regular
    4. only SimpleSave, after the 4 min. i put essentials to the plugin folder and reload over the console
    => chunks (+6000) incresed more and more (memory leak)
    5. Essentials + SimpleSave from beginning => chunks incresed more and more (memory leak)

    So, i think your plugin unloaded no unused chunks.
    A similar effect was on the falsebook 0.85. This creates server crashes (performance) and now with 0.86 it's fixed

    Please can you revise the plugin to fix this leak?
     
  28. Offline

    desmin88

    @Sh4d0w
    Remove all plugins except SimpleSave. It seems Essentials is messing up with my plugin, like it usually does.
    Then tell me if it gives you an error
    @Zaros
    The backup/save timer is started when the player count on the server reaches 1.
     
  29. Offline

    JSMinecraft

    Is this compatible with PerformanceTweaks? I ask this because I read on one of my searches that SimpleSave is not compatible with PerformanceTweak. Also I'm using PT and SS and SS is giving slight issues...

    Info:
    CB - 863
    Plugins (Ones that are more likely to effect SS) - PerformanceTweaks 0.08, Permissions 2.7.4, WorldGuard 5.0-dev, WorldEdit 4.6.
    Config -
    Code:
    #SimpleSave Config File[/FONT]
    [FONT=arial]#Tue Jun 14 12:23:10 EDT 2011[/FONT]
    [FONT=arial]save.interval=30[/FONT]
    [FONT=arial]save.use=true[/FONT]
    [FONT=arial]backup.message.ending=Ending world backup[/FONT]
    [FONT=arial]backup.message.starting=Beginning world backup[/FONT]
    [FONT=arial]backup.directory=BackUp[/FONT]
    [FONT=arial]backup.history.length=10[/FONT]
    [FONT=arial]save.message.send=true[/FONT]
    [FONT=arial]backup.use=true[/FONT]
    [FONT=arial]plugin.send.saveoff-on=true[/FONT]
    [FONT=arial]backup.interval=60[/FONT]
    [FONT=arial]plugin.ignore.noplayers=false[/FONT]
    [FONT=arial]backup.world.filter=NewYork[/FONT]
    [FONT=arial]save.message.color=GREEN[/FONT]
    [FONT=arial]backup.message.color=RED[/FONT]
    [FONT=arial]plugin.version=3.1[/FONT]
    [FONT=arial]backup.message.send=true[/FONT]
    [FONT=arial]save.message.starting=Beginning world save[/FONT]
    [FONT=arial]save.message.ending=Ending world save[/FONT]
    [FONT=arial]backup.date.format=yyyy-MM-dd hh-mm-ss[/FONT]
    [FONT=arial]


    What in your opinion is the best configuration for your plugin?[/CODE][/FONT]
     
  30. Offline

    desmin88

  31. Offline

    JSMinecraft



    Backing up and saving everytime someone leaves.
    As far as I can tell that's the only problem I can see. I tried leaving it at default but it still happens. Did not find any work arounds.
     

Share This Page