Inactive [ADMN] MineBackup v0.4.8.1 - Auto backup worlds ! [1060]

Discussion in 'Inactive/Unsupported Plugins' started by ThisIsAreku, Jun 24, 2011.

  1. Nope you should read at least this page: see here
     
  2. Offline

    Daje

    My backup seems to run every 15 minutes, even though I set it to run every 12 hours. Is there any way to change this at all? And are there any parameters I can set to stop it from backing up whenever a player joins an empty server, or all players are gone? (this is less important, I mostly just want to make it not go every 15 minutes).

    This is my config file

    Code:
    # available worlds :
    # - world
    # - world_nether
    
    time:
        interval: 43200
        days-to-keep: 15
        delay: 10
    worlds:
    - world
    - world_nether
    compression:
        enabled: true
        level: BEST_COMPRESSION
        mode: DEFLATED
    messages:
        enabled: true
        backup-ended: §a[MineBackup] Backup ended
        backup-started: §a[MineBackup] Backup started
        backup-started-user: §a[MineBackup] Backup started by %player%
    options:
        backup-plugins: true
        pause-when-no-players: true
        debug: false
    backup:
        dir: minebackup
        format: '%W/%Y-%M-%D_%H-%m-%S'
        temp-dir: minebackup_temp
    
     
  3. Offline

    ltguide

    @Daje I'm not sure why it would do a backup every 15 minutes. Try the new version....

    Download Version 0.4.8.4

    With the exception of configuration and backup auto-delete, I've changed almost every line of code somehow. I didn't mess with the configuration because the last RB added a new API for config. I'm going to wait for the next RB before I change the code. I want to change the backup auto-delete feature to count instead of (or including) days.

    The problem with clients being disconnected after they connect should be gone. So, config "pause when no players" is gone. It will automatically do 1 more backup on schedule after the last player leaves.

    The backup started message should be delayed by 3 seconds now (will make it configurable, see first paragraph).

    Added permission minebackup.manual (defaults to OP) that works with any permissions system that supports SuperPerms. Added aliases for /mbck (the original), /minebackup, and /backup.

    The backup process is mostly asynchronous now. World saving happens on the main server thread, but copying and compression are separate threads. You shouldn't notice any lag. I have a 435mb and a couple 100+mb maps and I never had any slowdowns.

    Automatic backup deletion checking happens every other backup (for now).

    Cleaned up console messages.
    Show Spoiler
    19:19:26 [INFO] [MineBackup] Backup started by ltguide
    19:19:29 [INFO] [MineBackup] * survival -- compressing
    19:19:31 [INFO] [MineBackup] * survival_nether -- skipping
    19:19:31 [INFO] [MineBackup] * creative -- compressing
    19:19:53 [INFO] [MineBackup] * creative_nether -- compressing
    19:19:53 [INFO] [MineBackup] * survival_skylands173 -- compressing
    19:19:53 [INFO] [MineBackup] * christophales -- compressing
    19:19:54 [INFO] [MineBackup] * survival_nether173 -- compressing
    19:19:58 [INFO] [MineBackup] * survival173 -- compressing
    19:20:11 [INFO] [MineBackup] + deleted minebackup/survival173/2011-10-10_19-09-24.zip due to age limitation (6 day(s))
    ...
    19:20:12 [INFO] [MineBackup] + 7 backup(s) deleted
    19:20:12 [INFO] [MineBackup] Backup ended


    I split the process up into an event-like structure. I think I saw someone ask for the ability to call custom commands on begin/end. So expect that to be finished sometime soonish.

    The code is done that would support the copying of plugins folder but I need to make it ignore certain folders and it would require some config as well. (see first paragraph)

    Hopefully some more meaningful error messages and stacktraces will be generated so we can figure out some of the weird zip errors, etc that show up from time to time.

    And more that I can't remember. Still a lot to do. No response from @ThisIsAreku yet, but I believe this will be considered inactive soon. So I'll make a BukkitDev page soon. Once I redo the backup deletion and config, I'll change the authors tag/package names as well.
     
    dragonhib likes this.
  4. Offline

    JamesHawk101

    I have a issue this plugin isn't doing anything for me!
     
  5. Offline

    ltguide

    What does it say in your server.log? And use this version if you are using CB 1194+
     
  6. Offline

    Marthaan

    The plugin is indeed working, although when the backup starts my server is coming to a complete lag-stop until the backup is finished.
    Running RB1240, world folder is around 300MB and netherfolder is around 30MB.
    It's completely stopped, even kicking out clients until it's finished. This lasts for around 10 seconds. Any way to prevent it?
     
  7. Offline

    Takel

    Disable compression and look into improving the data transfer speeds of the location of the backups. Keep in mind that the backups have to run on the same thread as the world itself, so when the backups are running it will lock up any block changes and could potentially cause client time outs if the compression completely maxes out the CPU. If you have an average sustained HDD transfer rate of 120MB/s (standard mechanical HDD) it'll still take ~2.5 seconds to do a straight up copy of the world data at best.

    TBH, once you start getting large world data sizes, you're going to hit the limits of data transfer speeds on consumer hardware unless you have serious hardware. Best bet would then be to minimise how often you need/perform the full data back-ups and rely more on 'transactional records' to perform roll-backs such as using LogBlock or HawkEye. I've scaled back my backup cycles from 30min to 1hr intervals partially due to expected storage requirements, and partially because the pauses are annoying at 30min intervals. I may actually increase it to 2-4 hour intervals.
     
  8. Offline

    ltguide

    Are you using 0.4.8.4? The copying of the map and the compression are both not in the server thread. The saving of the world is done on the server thread, but that's unavoidable due to possible corruption. I don't think I can do anything about that :(

    My "home" server is a Phenom II x4 and old'ish sata 3gb 7200s. I have a 400+ mb and a couple 100+ mb worlds, but I was on a small (<10 mb) world when i tested it. Since the worlds are on one server thread I should have noticed any lag.

    I'll play with it a bit. I can make it /save a world then wait then /save another. Maybe that's where the lag comes from.
     
  9. Offline

    Takel

    If you can offset each individual world's backup process by a configurable amount, that would be absolutely fantastic.
     
  10. Offline

    ltguide

    (Download Version 0.4.8.4)

    I did /backup then started shoveling dirt. Never had a single instance of lag or any blocks return. I'm connecting from my work to my house which has 5m/640k (only me online).
    I flew around in creative for a while to load a bunch of chunks.

    I'm going to time the world.save() for each world, which is the only thing that would slow the server down. The copying and compressing are done in separate async threads.

    Code:
    61G     minebackup
    20M     christophales
    457M    creative
    11M     creative_nether
    49M     survival
    126M    survival173
    2.9M    survival_nether
    14M     survival_nether173
    9.2M    survival_skylands173
    >version
    11:11:37 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1112-g54a13b2-b1240jnks (MC: 1.8.1)
    11:11:37 [INFO] This server is also sporting some funky dev build of Bukkit!
    >version MineBackup
    11:11:44 [INFO] MineBackup version 0.4.8.4
    11:11:44 [INFO] Automatically backup your worlds
    11:11:44 [INFO] Authors: ThisIsAreku and ltguide
    Show Spoiler
    11:08:09 [INFO] [MineBackup] Backup started by ltguide
    11:08:12 [INFO] [MineBackup] * survival -- compressing
    11:08:15 [INFO] [MineBackup] * survival_nether -- skipping
    11:08:15 [INFO] [MineBackup] * creative -- compressing
    11:08:46 [INFO] [MineBackup] * creative_nether -- compressing
    11:08:47 [INFO] [MineBackup] * survival_skylands173 -- compressing
    11:08:47 [INFO] [MineBackup] * christophales -- compressing
    11:08:48 [INFO] [MineBackup] * survival_nether173 -- compressing
    11:08:48 [INFO] [MineBackup] * survival173 -- compressing
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival173/2011-10-11_09-09-58.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival173/2011-10-11_02-09-44.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival173/2011-10-10_21-09-30.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival173/2011-10-11_07-09-55.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival173/2011-10-10_20-09-26.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival173/2011-10-11_00-09-37.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival173/2011-10-11_03-09-48.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival173/2011-10-11_08-09-57.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival173/2011-10-11_04-09-50.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival173/2011-10-11_10-09-59.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival173/2011-10-10_22-09-32.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival173/2011-10-11_05-09-51.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival173/2011-10-11_06-09-53.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival173/2011-10-11_01-09-40.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival173/2011-10-10_23-09-34.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative/2011-10-11_09-10-00.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative/2011-10-11_07-09-56.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative/2011-10-11_04-09-52.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative/2011-10-11_10-10-00.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative/2011-10-10_20-09-28.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative/2011-10-10_23-09-36.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative/2011-10-11_02-09-46.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative/2011-10-11_00-09-39.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative/2011-10-11_06-09-55.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative/2011-10-10_21-09-31.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative/2011-10-11_05-09-53.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative/2011-10-11_08-09-59.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative/2011-10-11_01-09-42.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative/2011-10-11_03-09-50.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative/2011-10-10_22-09-34.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_skylands173/2011-10-11_09-09-58.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_skylands173/2011-10-11_02-09-44.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_skylands173/2011-10-10_21-09-30.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_skylands173/2011-10-11_07-09-55.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_skylands173/2011-10-11_01-09-41.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_skylands173/2011-10-10_20-09-26.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_skylands173/2011-10-11_00-09-37.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_skylands173/2011-10-11_03-09-48.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_skylands173/2011-10-11_08-09-57.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_skylands173/2011-10-11_04-09-51.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_skylands173/2011-10-11_10-09-59.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_skylands173/2011-10-10_22-09-32.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_skylands173/2011-10-11_05-09-51.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_skylands173/2011-10-11_06-09-53.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_skylands173/2011-10-10_23-09-34.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival/2011-10-11_03-09-47.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival/2011-10-10_20-09-25.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival/2011-10-11_07-09-54.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival/2011-10-11_00-09-36.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival/2011-10-11_02-09-43.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival/2011-10-11_08-09-57.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival/2011-10-10_21-09-29.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival/2011-10-11_09-09-57.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival/2011-10-11_04-09-50.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival/2011-10-11_05-09-51.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival/2011-10-11_06-09-53.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival/2011-10-11_10-09-58.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival/2011-10-10_22-09-31.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival/2011-10-11_01-09-40.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival/2011-10-10_23-09-34.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_nether173/2011-10-11_09-09-58.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_nether173/2011-10-11_02-09-44.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_nether173/2011-10-10_21-09-30.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_nether173/2011-10-11_07-09-55.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_nether173/2011-10-11_01-09-41.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_nether173/2011-10-10_20-09-26.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_nether173/2011-10-11_00-09-37.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_nether173/2011-10-11_03-09-48.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_nether173/2011-10-11_08-09-57.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_nether173/2011-10-11_04-09-51.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_nether173/2011-10-11_10-09-59.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_nether173/2011-10-10_22-09-32.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_nether173/2011-10-11_05-09-51.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_nether173/2011-10-11_06-09-53.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/survival_nether173/2011-10-10_23-09-34.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative_nether/2011-10-11_09-10-00.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative_nether/2011-10-11_07-09-56.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative_nether/2011-10-11_04-09-52.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative_nether/2011-10-11_10-10-00.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative_nether/2011-10-10_20-09-28.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative_nether/2011-10-10_23-09-36.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative_nether/2011-10-11_02-09-46.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative_nether/2011-10-11_00-09-39.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative_nether/2011-10-11_06-09-55.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative_nether/2011-10-10_21-09-31.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative_nether/2011-10-11_05-09-53.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative_nether/2011-10-11_08-09-59.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative_nether/2011-10-11_01-09-42.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative_nether/2011-10-11_03-09-50.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/creative_nether/2011-10-10_22-09-34.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/christophales/2011-10-11_09-10-00.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/christophales/2011-10-11_07-09-56.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/christophales/2011-10-11_04-09-52.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/christophales/2011-10-11_10-10-00.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/christophales/2011-10-10_20-09-28.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/christophales/2011-10-10_23-09-36.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/christophales/2011-10-11_02-09-46.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/christophales/2011-10-11_00-09-39.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/christophales/2011-10-11_06-09-55.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/christophales/2011-10-11_05-09-53.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/christophales/2011-10-11_08-09-59.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/christophales/2011-10-11_01-09-42.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/christophales/2011-10-11_03-09-50.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/christophales/2011-10-10_22-09-34.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + deleted minebackup/christophales/2011-10-10_21-09-32.zip due to age limitation (6 day(s))
    11:08:55 [INFO] [MineBackup] + 105 backup(s) deleted
    11:08:55 [INFO] [MineBackup] Backup ended
     
  11. Offline

    ParadoXz

    i just started my server and my computer tired to run a back-up and this error came up?

    Code:
    2011-10-17 16:47:21 [INFO] [MineBackup] Backup started
    2011-10-17 16:47:21 [WARNING] Task of 'MineBackup' generated an exception
    java.lang.IllegalAccessError: tried to access method org.bukkit.command.ConsoleCommandSender.<init>(Lorg/bukkit/Server;)V from class alexoft.Minebackup.Backups
        at alexoft.Minebackup.Backups.backupRun(Backups.java:121)
        at alexoft.Minebackup.Backups.run(Backups.java:145)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    keep in mind that i am backing up to a external hdd and its not full (just extra info you might need)
     
  12. Offline

    ltguide

  13. Offline

    ParadoXz

  14. Offline

    JamesHawk101

    Code:
    2011-10-15 21:47:13 [WARNING] Task of 'MineBackup' generated an exception
    java.lang.IllegalAccessError: tried to access method org.bukkit.command.ConsoleCommandSender.<init>(Lorg/bukkit/Server;)V from class alexoft.Minebackup.Backups
    	at alexoft.Minebackup.Backups.backupRun(Backups.java:121)
    	at alexoft.Minebackup.Backups.run(Backups.java:138)
    	at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  15. Offline

    ltguide

    You need to use this version.
     
  16. Offline

    frigaardj

    Hi folks.
    I'm running Bukkit 1318, using PermissionsBukkit.
    This plugin has been working fine for me in terms of world backups, speedy and simple with no lag whatsoever. My only problem is that it doesn't seems to backup plugins... I have the config line set to true but cannot find any sign that they have been backed up. Is this feature still being supported?
    Thanks.
     
  17. Offline

    ltguide

    The original dev never finished adding it. I'm working to get the backups a bit smoother then I'll see about plugins folder.
     
  18. Offline

    ACStache

    @ltguide thanks for picking up this plugin! much appreciated!
     
  19. Offline

    godsyn

    @ltguide:
    Was the
    Code:
    pause-when-no-players: true
    option in config.yml removed from your version (0.4.8.4)? After loading your version, the option vanished.
     
  20. Offline

    ltguide

    @godsyn
    Yes. It keeps keeps track of whether anyone was on the server (originally it triggered a backup on connect) and does one more backup after the last person disconnects. The next release is going to take it a step further and skip worlds that no one was in. That way not every world needs to be backed up every time.

    The way pause-when-no-players was coded changes to your world could have been lost. If no one was online when the timer ran out then there was no backup.
     
  21. Hiya. I've been testing a lot of possible future implementation worlds, which effectively means that someone won't have always been in the world enough before the last backup of the world would be deleted. If you implement the methods you said, could you also implement some form of 'minimum number of backups to keep' option? :)
     
  22. Offline

    ltguide

    Yeah, I'm going to change backup deletions to be a combination of time and count.
     
    [qwerty] and HereInPlainSight like this.
  23. Offline

    monir

    What does the minebackup_temp have for function? is the backup getting stored in 2 maps?
     
  24. Offline

    ltguide

    The worlds are copied to that temp folder then zipped. I left that in because that's how ThisIsAreku did it. There is a pretty low chance that another plugin could trigger a world save while MineBackup is compressing the real map folder. Which results in a bad backup.

    I hadn't really thought about it before, but if the server owner doesn't have a separate "auto-save" plugin then that additional 'copy' operation is not needed. I'll add an option to the config that disables the 'temp' folder copy.
     
  25. Offline

    dragonhib

    @ltguide
    I am happy that you will (maybe ?) make a bukkitdev thread for this plugin (cause it is a really good plugin and you maintain it properly). But a new backup plugin is being started on bukkitdev : YABackup. I post a comment on his page :
    This is just an idea, and what I feel. I am desperated to make donations to plugins that are abandoned after a few months :(
     
  26. Offline

    Marthaan

    Problem is that I'm on a VPS with a standard HDD. I also have it on 1hr intervals. I used the plugin called only "backup" before and it was not creating this kind of lag. Seen as a lovely plugin dev is taking over this project I'll just have to wait and see. It's not the biggest problem with the lag but it is an annoyance for the players. I use logblock for rollbacks, I just have the backups as security if shit goes down if you know what I'm saying. Thanks for the reply.
     
  27. Offline

    cyberian

    bukkit 1337
    worlds in folder worlds
    12:36:19 [SEVERE] [MineBackup] ---------------------------------------
    12:36:19 [SEVERE] [MineBackup] --- an unexpected error has occured ---
    12:36:19 [SEVERE] [MineBackup] -- please send line below to the dev --
    12:36:19 [SEVERE] [MineBackup] java.io.IOException : null
    12:36:19 [SEVERE] [MineBackup] alexoft.Minebackup.Backups.copyWorld(Backups.java:100)
    12:36:19 [SEVERE] [MineBackup] alexoft.Minebackup.Backups.MakeBackup(Backups.java:62)
    12:36:19 [SEVERE] [MineBackup] alexoft.Minebackup.Backups.MakeBackup(Backups.java:44)
    12:36:19 [SEVERE] [MineBackup] alexoft.Minebackup.Backups.backupRun(Backups.java:123)
    12:36:19 [SEVERE] [MineBackup] alexoft.Minebackup.Backups.run(Backups.java:137)
    12:36:19 [SEVERE] [MineBackup] org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    12:36:19 [SEVERE] [MineBackup] net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
    12:36:19 [SEVERE] [MineBackup] net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    12:36:19 [SEVERE] [MineBackup] net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    12:36:19 [SEVERE] [MineBackup] ---------------------------------------
     
  28. Offline

    Archelaus

    Please update the title to the newest RB. Then tag me in a post, otherwise this will be moved to inactive​
     
  29. Offline

    ACStache

    @RightLegRed
    ltguide has been kind enough to update this, but doesn't have access to actually update the OP. I can vouch for it working on RB 1317 with his version 0.4.8.4 linked here
     
  30. Offline

    ltguide

    @cyberian
    Do you mean you set the world-container setting? If so, I need to make it use that path. (they just added that world-container in #1326) Right now it looks for worlds at the root of your server folder. If not, you simply need to update to this version.

    In other news, now that this is finally going inactive I'm going to make a BukkitDev project.
     

Share This Page