[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

    PhantomGamers

    cbroot/backups
     
  3. Offline

    desmin88

  4. Offline

    vein_mx

    thanks! Also, I have been running simplesave for 2 days now. The save function works great, but I am not seeing any backups being made. I first set the interval to 240 (4 hours) and just to see if it was working, I decreased it to 120. I am running CB733 and SimpleSave 2.2 (latest)

    Heres my config
    nvm somehow it made its first backup in two days. so i guess its working...

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

    Stabu2Dead

    My server is hosted on the same server as my website, is there anyway to set the uploads to a directory in my web folder? That way people can have access to map backups by knowing the link?
     
  6. Offline

    PhantomGamers

    I do believe he said custom directories will be possible in 2.2.1... but I'm not sure if it can go outside of the CraftBukkit folder, I could very likely be wrong though.
     
  7. Offline

    desmin88

  8. Offline

    willystylee

    Wait how can i make the backups go to a certain directory like it says in the OP? i dont see anything in the config...

    i already have a directory where i keep all my backups (i do them manually daily) if i could just set the plugin to send the backups to that directory that would be awesome.
     
  9. Offline

    PhantomGamers


    Ya know... you can at least read the previous 3 posts before you ask a question.
    (Custom backup directories will be in 2.2.1.)
     
  10. Offline

    willystylee

    lol! but he has it in the OP that it's done so i was confused! Sorry for the trouble :(
     
  11. Offline

    PhantomGamers

    It's also on the 'to-do' list.
    So yes, it's finished... for the next version. :p
     
  12. Offline

    Syndication1773

    Is there a command to force a backup/save?
     
  13. Offline

    Ratchet

    simplesave ran and after that my server started going to crap with a ton of "can't keep up" messages:

    2011-04-29 12:59:26 [INFO] Disabling level saving..
    2011-04-29 12:59:26 [INFO] ConsoleCommandSender: Disabling level saving..
    2011-04-29 12:59:26 [INFO] Disabling level saving..
    2011-04-29 12:59:26 [INFO] ConsoleCommandSender: Disabling level saving..
    2011-04-29 12:59:26 [SEVERE] java.io.IOException: The handle is invalid
    2011-04-29 12:59:26 [SEVERE] at java.io.RandomAccessFile.seek(Native Method)
    2011-04-29 12:59:26 [SEVERE] at net.minecraft.server.RegionFile.a(SourceFile:342)
    2011-04-29 12:59:26 [SEVERE] at net.minecraft.server.RegionFile.a(SourceFile:279)
    2011-04-29 12:59:26 [SEVERE] at net.minecraft.server.ChunkBuffer.close(SourceFile:259)
    2011-04-29 12:59:26 [SEVERE] at java.util.zip.DeflaterOutputStream.close(Unknown Source)
    2011-04-29 12:59:26 [SEVERE] at java.io.FilterOutputStream.close(Unknown Source)
    2011-04-29 12:59:26 [SEVERE] at net.minecraft.server.ChunkRegionLoader.a(SourceFile:64)
    2011-04-29 12:59:26 [SEVERE] at net.minecraft.server.ChunkProviderServer.saveChunk(ChunkProviderServer.java:160)
    2011-04-29 12:59:26 [SEVERE] at net.minecraft.server.ChunkProviderServer.saveChunks(ChunkProviderServer.java:190)
    2011-04-29 12:59:26 [SEVERE] at org.bukkit.craftbukkit.CraftWorld.save(CraftWorld.java:551)
    2011-04-29 12:59:26 [SEVERE] at org.desmin88.simplesave.Backup.backup(Backup.java:36)
    2011-04-29 12:59:26 [SEVERE] at org.desmin88.simplesave.SimpleSave$BackupMethod.run(SimpleSave.java:120)
    2011-04-29 12:59:26 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
    2011-04-29 12:59:26 [SEVERE] at java.lang.Thread.run(Unknown Source)
    2011-04-29 12:59:30 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-04-29 12:59:33 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?

    lag kept getting worse until I restarted it. disabling the plugin for now until this is fixed :(
     
  14. Offline

    glycerine102

    I began to receive something similar ever since the upgrade to CB 740. This happens each time a backup is scheduled to occur (and players are online). I don't notice any degradation in performance though. The actual backups still appear to be fine as well.

    Code:
    2011-04-29 12:56:03 [INFO] Beginning world backup
    2011-04-29 12:56:03 [INFO] Disabling level saving..
    2011-04-29 12:56:03 [INFO] ConsoleCommandSender: Disabling level saving..
    2011-04-29 12:56:03 [INFO] Disabling level saving..
    2011-04-29 12:56:03 [INFO] ConsoleCommandSender: Disabling level saving..
    2011-04-29 12:56:03 [SEVERE] java.io.IOException: The handle is invalid
    2011-04-29 12:56:03 [SEVERE] at java.io.RandomAccessFile.seek(Native Method)
    2011-04-29 12:56:03 [SEVERE] at net.minecraft.server.RegionFile.a(SourceFile:342)
    2011-04-29 12:56:03 [SEVERE] at net.minecraft.server.RegionFile.a(SourceFile:279)
    2011-04-29 12:56:03 [SEVERE] at net.minecraft.server.ChunkBuffer.close(SourceFile:259)
    2011-04-29 12:56:03 [SEVERE] at java.util.zip.DeflaterOutputStream.close(Unknown Source)
    2011-04-29 12:56:03 [SEVERE] at java.io.FilterOutputStream.close(Unknown Source)
    2011-04-29 12:56:03 [SEVERE] at net.minecraft.server.ChunkRegionLoader.a(SourceFile:64)
    2011-04-29 12:56:03 [SEVERE] at net.minecraft.server.ChunkProviderServer.saveChunk(ChunkProviderServer.java:160)
    2011-04-29 12:56:03 [SEVERE] at net.minecraft.server.ChunkProviderServer.saveChunks(ChunkProviderServer.java:190)
    2011-04-29 12:56:03 [SEVERE] at net.minecraft.server.World.save(World.java:146)
    2011-04-29 12:56:03 [SEVERE] at net.minecraft.server.World.doTick(World.java:1461)
    2011-04-29 12:56:03 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:361)
    2011-04-29 12:56:03 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-04-29 12:56:03 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-04-29 12:56:09 [INFO] Enabling level saving..
    2011-04-29 12:56:09 [INFO] ConsoleCommandSender: Enabling level saving..
    2011-04-29 12:56:09 [INFO] Delete old backups
    2011-04-29 12:56:10 [INFO] Ending world backup
     
  15. Offline

    RTRD

    CB740 @ Backup:
    Code:
    2011-04-30 00:30:45 [INFO] [SERVER] Taking a backup of the world(s)! Expect lag.
    2011-04-30 00:30:45 [INFO] Disabling level saving..
    2011-04-30 00:30:45 [INFO] ConsoleCommandSender: Disabling level saving..
    2011-04-30 00:30:45 [INFO] Disabling level saving..
    2011-04-30 00:30:45 [INFO] ConsoleCommandSender: Disabling level saving..
    2011-04-30 00:30:45 [SEVERE] java.io.IOException: The handle is invalid
    2011-04-30 00:30:45 [SEVERE] at java.io.RandomAccessFile.seek(Native Method)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.RegionFile.a(SourceFile:342)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.RegionFile.a(SourceFile:279)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.ChunkBuffer.close(SourceFile:259)
    2011-04-30 00:30:45 [SEVERE] at java.util.zip.DeflaterOutputStream.close(Unknown Source)
    2011-04-30 00:30:45 [SEVERE] at java.io.FilterOutputStream.close(Unknown Source)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.ChunkRegionLoader.a(SourceFile:64)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.ChunkProviderServer.saveChunk(ChunkProviderServer.java:160)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.ChunkProviderServer.saveChunks(ChunkProviderServer.java:190)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.World.save(World.java:146)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.World.doTick(World.java:1461)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:361)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-04-30 00:30:45 [INFO] [SERVER] Saving world(s)... Expect some lag.
    2011-04-30 00:30:45 [SEVERE] java.io.IOException: The handle is invalid
    2011-04-30 00:30:45 [SEVERE] at java.io.RandomAccessFile.seek(Native Method)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.RegionFile.a(SourceFile:342)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.RegionFile.a(SourceFile:279)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.ChunkBuffer.close(SourceFile:259)
    2011-04-30 00:30:45 [SEVERE] at java.util.zip.DeflaterOutputStream.close(Unknown Source)
    2011-04-30 00:30:45 [SEVERE] at java.io.FilterOutputStream.close(Unknown Source)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.ChunkRegionLoader.a(SourceFile:64)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.ChunkProviderServer.saveChunk(ChunkProviderServer.java:160)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.ChunkProviderServer.saveChunks(ChunkProviderServer.java:190)
    2011-04-30 00:30:45 [SEVERE] at org.bukkit.craftbukkit.CraftWorld.save(CraftWorld.java:551)
    2011-04-30 00:30:45 [SEVERE] at org.desmin88.simplesave.Backup.backup(Backup.java:36)
    2011-04-30 00:30:45 [SEVERE] at org.desmin88.simplesave.SimpleSave$BackupMethod.run(SimpleSave.java:120)
    2011-04-30 00:30:45 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
    2011-04-30 00:30:45 [SEVERE] at java.lang.Thread.run(Unknown Source)
    2011-04-30 00:30:45 [SEVERE] java.io.IOException: The handle is invalid
    2011-04-30 00:30:45 [SEVERE] at java.io.RandomAccessFile.seek(Native Method)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.RegionFile.a(SourceFile:342)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.RegionFile.a(SourceFile:279)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.ChunkBuffer.close(SourceFile:259)
    2011-04-30 00:30:45 [SEVERE] at java.util.zip.DeflaterOutputStream.close(Unknown Source)
    2011-04-30 00:30:45 [SEVERE] at java.io.FilterOutputStream.close(Unknown Source)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.ChunkRegionLoader.a(SourceFile:64)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.ChunkProviderServer.saveChunk(ChunkProviderServer.java:160)
    2011-04-30 00:30:45 [SEVERE] at net.minecraft.server.ChunkProviderServer.saveChunks(ChunkProviderServer.java:190)
    2011-04-30 00:30:45 [SEVERE] at org.bukkit.craftbukkit.CraftWorld.save(CraftWorld.java:551)
    2011-04-30 00:30:45 [SEVERE] at org.desmin88.simplesave.Backup.backup(Backup.java:36)
    2011-04-30 00:30:45 [SEVERE] at org.desmin88.simplesave.SimpleSave$BackupMethod.run(SimpleSave.java:120)
    2011-04-30 00:30:45 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
    2011-04-30 00:30:45 [SEVERE] at java.lang.Thread.run(Unknown Source)
    2011-04-30 00:30:46 [INFO] [SERVER] Saved world(s).
    2011-04-30 00:31:04 [INFO] Enabling level saving..
    2011-04-30 00:31:04 [INFO] ConsoleCommandSender: Enabling level saving..
    2011-04-30 00:31:04 [INFO] Delete old backups
    2011-04-30 00:31:04 [INFO] [SERVER] Backup is done!
     
  16. Offline

    KrisEike

    Works like a dream, thanks!
     
  17. Offline

    desmin88

    @Ratchet
    How big is your world?
    @glycerine102 and @RTRD
    This is an error that can't be fixed, and was explained in a couple posts before. It doesn't actually do anything, and backups are still fine.
     
  18. Offline

    Ratchet

    it's about 250mb in filesize
     
  19. Offline

    desmin88

    @Ratchet
    Backing up large worlds can cause lag. Its the nature of the beast.
     
  20. Offline

    Ratchet

    oh sure, but I mean it didn't just lag while it was happening, after that error and the backing up finished, it kept getting worse and worse until I had to reboot the server. I guess for now i'll just disable level saving and have only character saving
     
  21. Offline

    Fearlessagent

    Are you planning on adding a /backup command to force a backup?
     
    L24D likes this.
  22. Offline

    L24D

    That would actually be almost vital.. i have a habit of backing everything up before i finish checking on my server anyways. :D
    Would save a little extra time...
     
  23. Offline

    Maddin

    Is it possible to make one zip file including zip files of each world. Would be more sorted. And the zip's in the main zip could be named like the world. :)
     
  24. Offline

    desmin88

  25. Offline

    dequis

    I get this right after every backup, seems to be slightly different to the error reported before

    Code:
    18:14:22 [INFO] [SimpleSave] Beginning world backup
    18:14:22 [INFO] Disabling level saving..
    18:14:22 [INFO] ConsoleCommandSender: Disabling level saving..
    18:14:22 [INFO] Disabling level saving..
    18:14:22 [INFO] ConsoleCommandSender: Disabling level saving..
    18:14:22 [SEVERE] java.io.IOException: Stream Closed
    18:14:22 [SEVERE]       at java.io.RandomAccessFile.seek(Native Method)
    18:14:22 [SEVERE]       at net.minecraft.server.RegionFile.a(SourceFile:342)
    18:14:22 [SEVERE]       at net.minecraft.server.RegionFile.a(SourceFile:279)
    18:14:22 [SEVERE]       at net.minecraft.server.ChunkBuffer.close(SourceFile:259)
    18:14:22 [SEVERE]       at java.util.zip.DeflaterOutputStream.close(Unknown Source)
    18:14:22 [SEVERE]       at java.io.FilterOutputStream.close(Unknown Source)
    18:14:22 [SEVERE]       at net.minecraft.server.ChunkRegionLoader.a(SourceFile:64)
    18:14:22 [SEVERE]       at net.minecraft.server.ChunkProviderServer.saveChunk(ChunkProviderServer.java:160)
    18:14:22 [SEVERE]       at net.minecraft.server.ChunkProviderServer.saveChunks(ChunkProviderServer.java:190)
    18:14:22 [SEVERE]       at org.bukkit.craftbukkit.CraftWorld.save(CraftWorld.java:551)
    18:14:22 [SEVERE]       at org.desmin88.simplesave.Backup.backup(Backup.java:36)
    18:14:22 [SEVERE]       at org.desmin88.simplesave.SimpleSave$BackupMethod.run(SimpleSave.java:120)
    18:14:22 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
    18:14:22 [SEVERE]       at java.lang.Thread.run(Unknown Source)
    It seems to be creating these two files:

    Code:
    -rw-r--r-- 1 minecraft minecraft 495M May  2 18:19 backup2052011-181711.zip
    -rw-r--r-- 1 minecraft minecraft 7.1M May  2 18:19 backup2052011-181929.zip
    The first one is world and the second one is netherworld.

    I'm not sure if it's safe to use these backups, aren't they truncated?
     
  26. Offline

    desmin88

    @dequis
    What makes you think their truncated?
    Although I do not know what causes these errors, I can confirm they are safe to use.
     
  27. Offline

    JacKlink01

    We have three worlds and we really only need to backup one of them. Any ideas of a way to prevent backups of the other two worlds? If not, I request this feature :)

    We dont need 3 times as many backups clogging up our hard drive space especially since we keep ALL backups.

    Otherwise, this is a great plugin and it is amazing that there is absolutely no lag while it backs up unlike many other backup plugins!
     
  28. Offline

    Kiim

    @desmin88
    When will you upload the update with the Custom save directory ! I want it to save my server backups to my Dropbox acc. :)
     
  29. Offline

    hAvAAck

    @desmin88 where is the save folder? for the life of me I can't find it..
     
  30. Offline

    desmin88

    @JacKlink01
    I see. I'll work in into 2.2.2.
    @Kiim
    2.2.1, in 5 minutes.
    @hAvAAck
    cbroot/backups
    Edit:
    2.2.1 released
     
    Kiim likes this.
  31. Offline

    hAvAAck

    yeah sorry, I was looking for backups when it was just doing saves
    Thanks!
     

Share This Page