[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

    dequis

    My guess was that the unhandled exception interrupted the backup thread, but i'm not a java programmer so i might be wrong.

    BTW, you should update the configuration section in the OP.

    EDIT: i can't find the new options and plugin.version is still 2.2 :/ NEVERMIND DERP
     
  3. Offline

    PhantomGamers

    Awesome, 2.2.1 is amazing.
    Now, please add a /backup command for 2.2.2 :3
    UPDATE: And yeah, the DL link in the OP isn't working for 2.2.1 :S
     
  4. Offline

    desmin88

  5. Offline

    PhantomGamers

    I'll try again, I hate Github though... gets confused a lot when you upload the same jar file name.
     
  6. Offline

    PatrickFreed

    I would test it right now, but I am supposed to be studying for an exam.
    Can you have it overwrite previous backups?
     
  7. Offline

    Kiim

    @desmin88
    The download link just download the old version. (2.2, not 2.2.1)
     
  8. Offline

    PhantomGamers

    No, it's the new one.
    However it's bugged, and generates the config file with the version line just as 2.2, you need to add the .1 manually.
    The other changes are still there.
     
  9. Offline

    Reterg

    Not for me. Downloaded it just now. Still runs 2.2. Absolutely nothing has changed in the config file.
    If I add the .1 manually as you say and start the server, the console says "SimpleSave: Running version below 2.2, the config file is outdated. Delete it and regenerate"

    Letting it generate a new config file does not give any different options to what was already there. It is exactly the same. The download link (at time of writing) is definietly still version 2.2.
     
  10. Offline

    maystorm

    What is the reason that a backup is not done when no player is logged on?

    If there were players online since the last backup and none is online when the next backup is to happen then the changed world is not backed up. I don't get the reasoning behind this.

    The same question obviously applies to the save not happening when nobody is online.
     
  11. Offline

    Reterg

    I agree. I think it should still do a save or backup if someone has been logged in since the last save or backup.
     
  12. Offline

    Kiim

    I did just try your Temp. mirror, its still says 2.2 and no changes in the config, i did generate a new one, its says:

    Code:
    #SimpleSave Config File
    #Tue May 03 14:05:18 CEST 2011
    save.message.ending=[SimpleSave] Ending world save
    backup.message.color=RED
    backup.message.ending=[SimpleSave] Ending world backup
    plugin.version=2.2
    backup.message.starting=[SimpleSave] Beginning world backup
    save.message.starting=[SimpleSave] Beginning world save
    save.interval=10
    backup.message.send=true
    save.message.color=RED
    save.use=true
    save.message.send=true
    save.message.noplayers=true
    backup.use=true
    backup.message.noplayers=true
    backup.history.length=5
    backup.interval=60
    
     
  13. Offline

    Reterg

    Same here :p
     
  14. Offline

    desmin88

    Kiim likes this.
  15. Offline

    Kiim

    Its works now! :D
    It says 2.2.1!
    But how to the "backup.directory" work? Can I use something like "C:\Dropbox\Minecraft\Server-backup\", will that work?
     
  16. Offline

    desmin88

    @Kiim
    Yes. Except, replace all \ with double \\s
     
  17. Offline

    Reterg

  18. Offline

    vein_mx

    a /backup command in a future version would be very useful =]
     
  19. Offline

    Kiim

    @desmin88
    Ok, thanks, I will try it when I get home :)
     
  20. ok, I have some problems. First, the plugin does not save the world!
    He only saves the player data, but not the world.

    Secoundly, there comes an error and the server crashes!
    Code:
    [SEVERE] java.io.IOException: Bad file descriptor
    2011-05-04 08:07:28 [SEVERE]     at java.io.RandomAccessFile.seek(Native Method)
    2011-05-04 08:07:28 [SEVERE]     at net.minecraft.server.RegionFile.a(SourceFile:342)
    2011-05-04 08:07:28 [SEVERE]     at net.minecraft.server.RegionFile.a(SourceFile:279)
    2011-05-04 08:07:28 [SEVERE]     at net.minecraft.server.ChunkBuffer.close(SourceFile:259)
    2011-05-04 08:07:28 [SEVERE]     at java.util.zip.DeflaterOutputStream.close(Unknown Source)
    2011-05-04 08:07:28 [SEVERE]     at java.io.FilterOutputStream.close(Unknown Source)
    2011-05-04 08:07:28 [SEVERE]     at net.minecraft.server.ChunkRegionLoader.a(SourceFile:64)
    2011-05-04 08:07:28 [SEVERE]     at net.minecraft.server.ChunkProviderServer.saveChunk(ChunkProviderServer.java:160)
    2011-05-04 08:07:28 [SEVERE]     at net.minecraft.server.ChunkProviderServer.saveChunks(ChunkProviderServer.java:190)
    2011-05-04 08:07:28 [SEVERE]     at org.bukkit.craftbukkit.CraftWorld.save(CraftWorld.java:551)
    2011-05-04 08:07:28 [SEVERE]     at org.desmin88.simplesave.Backup.backup(Backup.java:38)
    2011-05-04 08:07:28 [SEVERE]     at org.desmin88.simplesave.SimpleSave$BackupMethod.run(SimpleSave.java:132)
    2011-05-04 08:07:28 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
    2011-05-04 08:07:28 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    What can I do?

    greetings
    Chriss
     
  21. Offline

    Kiim

    @desmin88
    I have tried now. It didn't work :(

    My config:
    Code:
    #SimpleSave Config File
    #Wed May 04 00:05:13 CEST 2011
    save.interval=7
    save.use=true
    backup.message.ending=Done!
    backup.message.starting=Backup!
    backup.directory=E:\\Dropbox\\Minecraft\\Backups
    backup.history.length=4
    save.message.send=true
    backup.use=true
    backup.message.noplayers=true
    plugin.send.saveoff-on=true
    save.message.noplayers=true
    backup.interval=30
    save.message.color=GREEN
    backup.message.color=GREEN
    plugin.version=2.2.1
    backup.message.send=true
    save.message.starting=Saving world!
    save.message.ending=DONE!
    
    Error msg:
    Code:
    2011-05-04 16:23:29 [SEVERE] java.io.IOException: Invalid reference
    2011-05-04 16:23:29 [SEVERE]     at java.io.RandomAccessFile.seek(Native Method)
    2011-05-04 16:23:29 [SEVERE]     at net.minecraft.server.RegionFile.a(SourceFile:342)
    2011-05-04 16:23:29 [SEVERE]     at net.minecraft.server.RegionFile.a(SourceFile:279)
    2011-05-04 16:23:29 [SEVERE]     at net.minecraft.server.ChunkBuffer.close(SourceFile:259)
    2011-05-04 16:23:29 [SEVERE]     at java.util.zip.DeflaterOutputStream.close(Unknown Source)
    2011-05-04 16:23:29 [SEVERE]     at java.io.FilterOutputStream.close(Unknown Source)
    2011-05-04 16:23:29 [SEVERE]     at net.minecraft.server.ChunkRegionLoader.a(SourceFile:64)
    2011-05-04 16:23:29 [SEVERE]     at net.minecraft.server.ChunkProviderServer.saveChunk(ChunkProviderServer.java:160)
    2011-05-04 16:23:29 [SEVERE]     at net.minecraft.server.ChunkProviderServer.saveChunks(ChunkProviderServer.java:190)
    2011-05-04 16:23:29 [SEVERE]     at org.bukkit.craftbukkit.CraftWorld.save(CraftWorld.java:551)
    2011-05-04 16:23:29 [SEVERE]     at org.desmin88.simplesave.Backup.backup(Backup.java:38)
    2011-05-04 16:23:29 [SEVERE]     at org.desmin88.simplesave.SimpleSave$BackupMethod.run(SimpleSave.java:132)
    2011-05-04 16:23:29 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
    2011-05-04 16:23:29 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    (Can someone tell me to put things in a spoiler?)
     
  22. Offline

    desmin88

    @christopher_2007
    Version of Java, CB, and other plugins.
    Also, your config.properties are needed.
    Also, are you running on linux?
    @Kiim
    Try redownloading, and regenerating a config.
     
  23. It is the newest version of Java, and the config file ist not touched, so it should be ok.
    The running system is also linux!

    greetings
    Chriss
     
  24. Offline

    desmin88

    @christopher_2007
    It might be an issue with the Linux JVM.
    Try and redownload the plugin and regenerate the config file.
     
  25. Offline

    PatrickFreed

    where does it save the backups in the default config?​
     
  26. Offline

    desmin88

  27. Offline

    PatrickFreed

    is cbroot the folder with the Craftbukkit jar in it?
    If so, then the backups aren't working. I have the interval set to like 1440, or whatever a day is in minutes.
     
  28. Offline

    cpalms

    [​IMG][​IMG]
    Code:
    2011-05-04 18:57:31 [INFO] [SimpleSave] Beginning world backup
    2011-05-04 18:57:31 [INFO] [SimpleSave] Beginning world save
    2011-05-04 18:57:31 [SEVERE] java.io.IOException: The handle is invalid
    2011-05-04 18:57:31 [SEVERE] at java.io.RandomAccessFile.seek(Native Method)
    2011-05-04 18:57:31 [SEVERE] at net.minecraft.server.RegionFile.a(SourceFile:342)
    2011-05-04 18:57:31 [SEVERE] at net.minecraft.server.RegionFile.a(SourceFile:279)
    2011-05-04 18:57:31 [SEVERE] at net.minecraft.server.ChunkBuffer.close(SourceFile:259)
    2011-05-04 18:57:31 [SEVERE] at java.util.zip.DeflaterOutputStream.close(Unknown Source)
    2011-05-04 18:57:31 [SEVERE] at java.io.FilterOutputStream.close(Unknown Source)
    2011-05-04 18:57:31 [SEVERE] at net.minecraft.server.ChunkRegionLoader.a(SourceFile:64)
    2011-05-04 18:57:31 [SEVERE] at net.minecraft.server.ChunkProviderServer.saveChunk(ChunkProviderServer.java:160)
    2011-05-04 18:57:31 [SEVERE] at net.minecraft.server.ChunkProviderServer.saveChunks(ChunkProviderServer.java:190)
    2011-05-04 18:57:31 [SEVERE] at org.bukkit.craftbukkit.CraftWorld.save(CraftWorld.java:551)
    2011-05-04 18:57:31 [SEVERE] at org.desmin88.simplesave.Backup.backup(Backup.java:38)
    2011-05-04 18:57:31 [SEVERE] at org.desmin88.simplesave.SimpleSave$BackupMethod.run(SimpleSave.java:132)
    2011-05-04 18:57:31 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
    2011-05-04 18:57:31 [SEVERE] at java.lang.Thread.run(Unknown Source)
    2011-05-04 18:57:31 [INFO] [SimpleSave] Ending world save
    2011-05-04 18:57:32 [INFO] java.io.FileNotFoundException: world\players\_tmp_.dat (The system cannot find the file specified)
    2011-05-04 18:57:32 [INFO] at java.io.FileInputStream.open(Native Method)
    2011-05-04 18:57:32 [INFO] at java.io.FileInputStream.<init>(Unknown Source)
    2011-05-04 18:57:32 [INFO] at org.desmin88.simplesave.FileUtils.doCopyFile(FileUtils.java:290)
    2011-05-04 18:57:32 [INFO] at org.desmin88.simplesave.FileUtils.doCopyDirectory(FileUtils.java:265)
    2011-05-04 18:57:32 [INFO] at org.desmin88.simplesave.FileUtils.doCopyDirectory(FileUtils.java:263)
    2011-05-04 18:57:32 [INFO] at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:230)
    2011-05-04 18:57:32 [INFO] at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:156)
    2011-05-04 18:57:32 [INFO] at org.desmin88.simplesave.FileUtils.copyDirectory(FileUtils.java:125)
    2011-05-04 18:57:32 [INFO] at org.desmin88.simplesave.Backup.backup(Backup.java:40)
    2011-05-04 18:57:32 [INFO] at org.desmin88.simplesave.SimpleSave$BackupMethod.run(SimpleSave.java:132)
    2011-05-04 18:57:32 [INFO] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
    2011-05-04 18:57:32 [INFO] at java.lang.Thread.run(Unknown Source
    Getting the error as well
    CB 740
    Plugin seems to work though?
     
  29. Offline

    maystorm

    If no player is logged in at the time the backup should take place it is skipped. For me it's a bug.
     
  30. Offline

    Kiim

    nvm, it works perfectly ! :D thx !
     
  31. Offline

    desmin88

    @PatrickFreed
    Try setting backup to 1 minute, and then see if it works.
    @cpalms
    This is an error which doesn't really mean anything and won't affect the plugin. I can't locate the cause.
    @maystorm
    Your saying that it won't save or backup with no players on?
     

Share This Page