[INACTIVE][ADMN] BackupPlugin v0.8.8 (Backups & Maps - Fork from MysticX's plugin) [670]

Discussion in 'Inactive/Unsupported Plugins' started by _Oni_, Mar 5, 2011.

  1. Offline

    _Oni_

    BackupPlugin
    Version: v0.8.8

    This plugin allows you to create world backups or to generate world maps automatically or via ingame command.
    It's a fork of MysticX's BackupPlugin : http://forums.bukkit.org/threads/895/

    Commands

    • /backup <force> (optional) - backups your world data
    • /map <force> (optional) - generates map(s) of your world
    • /breload - reloads BackupPlugin configuration file
    • /loglevel <level> - sets log level
    Valid arguments for force are true & false. Using a command with true will result in a forced cache rebuilt, useful if you want to avoid the cache-lifetime for any reason.

    Valid arguments for log level are FINEST, FINE, INFO, WARNING or SEVERE (case sensitive!), default is INFO. FINE & FINEST will generate debug output.
    Valid arguments for time unit are SECONDS, MINUTES, HOURS, DAYS (case sensitive!), default is MINUTES.


    Properties

    This plugin will generate a properties file in your server home (BackupPlugin.properties)
    Here are two examples:

    Standard properties (0.8.5, I guess) file (for mcmap): here
    MysticX's properties file (0.8.5) (for c10t): here

    Permissions

    My version supports Permissions (from 2.0, if you have a problem with Permissions plugin report this) and GroupManager (1.0)
    • BackupPlugin.backup : for /backup command
    • BackupPlugin.map : for /map command
    • BackupPlugin.admin : for /loglevel and /breload
    Donwload and Source Code
    Download last version
    Source Code

    Changelog
    Show Spoiler

    Version 0.8.8
    • Fix Backup History
    • Improve how calc first run time (could fix some date problem)
    Version 0.8.7
    • Change method to save world in disk before backup/mapping
    Version 0.8.6.1
    • Fix mapping
    • Remove debug option (use loglevel FINEST instead)
    Version 0.8.6
    • Command can use in console server now
    • Try to do save-all before backup and mapping (I have to change this, it's not ok, I think)
    • Add a debug option
    • Cleaning code again
    Version 0.8.5-SNAPSHOT
    • Some fix for recent build of craftbukkit
    • Move from GroupUsers plugin to Permissions plug
    • Move BackupPlugin.properties to plugins/BackupPlugin/config.properties
    • Add a temp-path option to define temp folder for cache
    • Cleaning code

    TODO
    • Add a multiworld support (WiP)
    PS : I know, I did much copy-paste from MysticX's thread but It was only a fork from his code and I didn't much change, for the moment. ;)
     
    DiddiZ, MasterMeNL, IndianaX and 2 others like this.
  2. Offline

    GhostToast

    not working. trying it w/o .exe at the end also does not work.
    I renamed folder \c10t\ and then in properties file just said c10t without saying \\c10t.exe
    it seems to just want to look for the folder, not an executable. it finds the exe inside. however...here's what i got when i ran the map:

    Code:
    2011-03-08 13:51:14 [INFO] [BackupPlugin]  An Administrator triggered world mapping. force = false
    2011-03-08 13:51:14 [INFO] [BackupPlugin]  Starting map generation process.. this could take a while!
    2011-03-08 13:51:14 [INFO] [BackupPlugin]  Mapping pass 1 of 2...
    2011-03-08 13:51:14 [INFO] [BackupPlugin]  [DEBUG] Mapper usage: c10t -png -file /server/world-maps/world_20110308-1351140617.png /server/world-backup-temp
    2011-03-08 13:51:14 [INFO] CONSOLE: Enabling level saving..
    2011-03-08 13:51:14 [INFO] CONSOLE: Forcing save..
    2011-03-08 13:51:14 [INFO] Saving chunks
    2011-03-08 13:51:14 [SEVERE] [BackupPlugin]  Error while executing external code!
    java.io.IOException: Cannot run program "c10t": java.io.IOException: error=2, No such file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
        at java.lang.Runtime.exec(Runtime.java:610)
        at java.lang.Runtime.exec(Runtime.java:448)
        at java.lang.Runtime.exec(Runtime.java:386)
        at com.mysticx.bukkit.backupplugin.SysCommandExecutor.runCommandHelper(SysCommandExecutor.java:101)
        at com.mysticx.bukkit.backupplugin.SysCommandExecutor.runCommand(SysCommandExecutor.java:77)
        at com.mysticx.bukkit.backupplugin.MapperUnit.executeExternal(MapperUnit.java:165)
        at com.mysticx.bukkit.backupplugin.MapperUnit.run(MapperUnit.java:131)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)
    Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
        at java.lang.ProcessImpl.start(ProcessImpl.java:81)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
        ... 15 more
    2011-03-08 13:51:14 [INFO] [BackupPlugin]  Mapping pass 2 of 2...
    2011-03-08 13:51:14 [INFO] [BackupPlugin]  [DEBUG] Mapper usage: c10t -night -png -file /server/world-maps/world_20110308-1351140924.png /server/world-backup-temp
    2011-03-08 13:51:15 [SEVERE] [BackupPlugin]  Error while executing external code!
    java.io.IOException: Cannot run program "c10t": java.io.IOException: error=2, No such file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
        at java.lang.Runtime.exec(Runtime.java:610)
        at java.lang.Runtime.exec(Runtime.java:448)
        at java.lang.Runtime.exec(Runtime.java:386)
        at com.mysticx.bukkit.backupplugin.SysCommandExecutor.runCommandHelper(SysCommandExecutor.java:101)
        at com.mysticx.bukkit.backupplugin.SysCommandExecutor.runCommand(SysCommandExecutor.java:77)
        at com.mysticx.bukkit.backupplugin.MapperUnit.executeExternal(MapperUnit.java:165)
        at com.mysticx.bukkit.backupplugin.MapperUnit.run(MapperUnit.java:131)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)
    Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
        at java.lang.ProcessImpl.start(ProcessImpl.java:81)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
        ... 15 more
    2011-03-08 13:51:15 [INFO] [BackupPlugin]  Mapping process finished.
    2011-03-08 13:51:15 [INFO] [BackupPlugin]  [DEBUG] Resetting force to false
    2011-03-08 13:51:15 [INFO] CONSOLE: Save complete.
    2011-03-08 13:51:15 [INFO] CONSOLE: Disabling level saving..
    2011-03-08 13:51:15 [INFO] CONSOLE: Enabling level saving..
     
  3. Offline

    Matt L

    Oni, could you try using the RemoteToolkit Wrapper and see if you can get the plugin to work under it?
     
  4. Offline

    _Oni_

    Hummm, and if you try with complet path (like "C:\\...\\c10t-1.6\\c10t.exe")
    [MERGETIME="1299615910"][/MERGETIME]
    Will try with RemoteToolkit Wrapper to see if ok with Backup Plugin ;)

    EDIT ; Try on fresh install of RemoteToolkit Wrapper, it seems ok.
     
  5. Offline

    Tenks

    I seem to be getting this error too. Could it be because we have multi worlds running? creating the rar, but 0KB

    Code:
    23:10:31 [SEVERE] [BackupPlugin]  Error while zipping temp folder!
    java.util.zip.ZipException: ZIP file must have at least one entry
            at java.util.zip.ZipOutputStream.finish(Unknown Source)
            at java.util.zip.DeflaterOutputStream.close(Unknown Source)
            at java.util.zip.ZipOutputStream.close(Unknown Source)
            at com.mysticx.bukkit.backupplugin.IOHelper.zipDirectory(IOHelper.java:6
    3)
            at com.mysticx.bukkit.backupplugin.CacheControl.persistCache(CacheContro
    l.java:280)
            at com.mysticx.bukkit.backupplugin.BackupUnit.run(BackupUnit.java:61)
            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
            at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
    access$301(Unknown Source)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
    run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
    )
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
     
  6. Offline

    Benie

    Hey. I'm in desperate need of a reliable server map backup plugin. Something that will do an automatic backup every 15 minutes, or when the server shuts down. Something that will nearly guarantee what I had to do to save my map from corrupted chunks, will never happen again...

    Got a question about this. Any reports of map corruption when backing up maps?
     
  7. doesnt : need to be escaped too?
    C\:\\ or something
     
  8. Offline

    jcgamo88

    I'm curious if there's a way to customize the console message or disable it? Its nice to see via ingame chat when backups are happening but the current message is very spammy.
     
  9. Offline

    _Oni_

    I don't think it's because you use multiworlds, will see that when I have time ;)
    Can have a copie of you config properties ? ;)
    No, no control or reports of map corruption, only error in log when something was wrong (like can't create zip file)

    Maybe, can have the complet path of your c10t installation ? ;)
    Yes, it's very annoying, it will change in next release. ;)
     
  10. Offline

    D-Kalck

    There seems to a problem with the scheduler, I set
    Code:
    time-unit=HOURS
    autobackup-period=8
    first-run=1200
    In the log I have
    Code:
    11:33:57 [INFO] [BackupPlugin]  Finished setting up a thread: BackupUnit Next run in: 26 minutes.
    Wich seems to be good, but the backup do not happen at the right time. In this example, it runned right after launching the server.
    I tried a breload frome the console, and a backup happened right after the breload.

    If I set time-unit=MINUTES and autobackup-period=480 it seems to works as intended.
     
  11. Offline

    Tenks

    sure, here is the config

    Code:
    #BackupPlugin Config File
    #Tue Mar 08 22:55:07 PST 2011
    level-name=world
    automap-period=0
    time-unit=MINUTES
    mapper-executable=mcmap\\mcmap.exe
    backup-history=5
    authorized-users=t3nk5
    use-latest=false
    log-level=INFO
    temp-path=world-backups/temp
    map-path=world-maps
    map-options=-png -file $o $w;-night -png -file $o $w
    backup-path=world-backups
    first-run=1200
    autobackup-period=0
    cache-lifetime=30
    it puts its folder right into the minecraft server dir. which is where i want it to go.
     
  12. Offline

    GhostToast

    does mcmap run on linux 64?
     
  13. Offline

    TheVirus

    Can you make support for MultiVerse/multiple worlds?
     
  14. Offline

    _Oni_

    Yes, but I don't know if exists a binary for linux x64 (I compile this on my machine for test mapping)
    And your "main" world calls "world" ?
    [MERGETIME="1299680509"][/MERGETIME]
    Work in progress but I don't know when it well be done...
    I think I will propose alpha version with multiworld support, this week.
     
  15. Offline

    Tenks

    Ah, sorry, was blind. forgot the three letters before world. tested it right now, work. sorry xD
    [MERGETIME="1299684448"][/MERGETIME]
    what is the mapper_path?
     
  16. Offline

    _Oni_

    the path for mapper tool, forget this, if you don't use mapping functionality ;)
    [MERGETIME="1299703827"][/MERGETIME]
    New release : 0.8.7
    Just change method to for save world in disk before backup/mapping
     
  17. Offline

    Matt L

    Thanks Oni!
     
  18. Offline

    Benie

    I don't think this thing is working. I see this;
    Code:
    17:06:58 [INFO] Benie issued server command: /backup
    17:06:58 [INFO] Unknown console command. Type "help" for help.
    >backup
    17:07:03 [INFO] [BackupPlugin] (BackupPlugin) An Administrator triggered world b
    ackup. force = false
    17:07:03 [INFO] [BackupPlugin] (BackupUnit) Starting backup process..
    That's all it does. I assume I'm not doing it right. I checked config.properties and made sure World2 was in "level-name=", since that's the map I use.
     
  19. hey, i got it working (finally, first time since it came out :D)

    I can confirm that it works with multiworld(but it can only render one... I wonder if you could change the world name and reload the config each time?), and that it works with c10t... I also had backups running fine...

    All this was from my main world, so can't wait for multiworld support!
     
  20. Offline

    _Oni_

    It has nothing more in server console about BackupPlugin (specialy before error with issues server command)?
    Otherwise, which craftbukkit's build do you use?
     
  21. Offline

    Inacio

    What do I have to do for this to make the server render maps?
     
  22. Offline

    Benie

    I was using 463. I wish I saw that you support 493 as the minimum before I said it's not working.
    Updated to the latest recommended build (527), and it's working.

    I'm glad it was that easy to fix.
     
  23. permissions isn't necessary, is it?
     
  24. Offline

    _Oni_

    Install a mapping tool and configure BackupPlugin to use it...
    Not Permissions or GroupManager are necessary, you have an option in config to set users can use BackupPlugin if you prefer.
     
  25. Offline

    drdanick

    The wrapper does not have an effect on how plugins are loaded, or at least should not if it was started correctly. The included .sh files are a little iffy if executed from another folder, so make sure you are in the same directory as craftbukkit.jar and Minecraft_RKit.jar when launching the wrapper (the user directory runtime property is set as the folder the wrapper was executed from, not the wrapper directory. There is a fix for the bash script, and it will be in the next version).
     
  26. if anyone has a working config with tectonicus for mapping could I have a look at it? :)
     
  27. Offline

    D-Kalck

  28. Offline

    _Oni_

  29. Offline

    D-Kalck

    It seems to work since I updated to 0.8.7
    Before when I used FINEST as log-level, I was spammed with something like "Date is in the past, adding some minutes"
    Now, it is displayed once.
     
  30. okay, now this is really weird... this is my config file

    Code:
    debug=false
    level-name=world
    automap-period=60
    time-unit=MINUTES
    mapper-executable=C\:\\Program Files (x86)\\Java\\jre6\\bin\\java.exe
    backup-history=5
    use-latest=false
    authorized-users=
    temp-path=world-backups/temp
    log-level=FINEST
    map-path=C\:\\tectonicus\\webroot\\map
    map-options=-jar C\:\\Minecraft\\Tectonicus_v1.26.jar -worldDir=C\:\\Minecraft\\world -outputDir=C\:\\tectonicus\\webroot\\map mode=players
    backup-path=backups
    cache-lifetime=2880
    
    autobackup-period=15
    first-run=1200
    and this is what happens:
    Code:
    17:14:15 [INFO] [BackupPlugin] (MapperUnit) [DEBUG] Mapper usage: C:\Program Fil
    es (x86)\Java\jre6\bin\java.exe -jar C:\Minecraft\Tectonicus_v1.26.jar -worldDir
    =C:\Minecraft\world -outputDir=C:\tectonicus\webroot\map mode=players
    17:14:15 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)  + + + + + +
     + + + + + + + + + + + + + + + + +
    17:14:15 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)
          Tectonicus
    17:14:15 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)    Version:
    1.26
    17:14:15 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)    Build 242
    2\:2427MP
    17:14:15 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)    Construct
    ed on March 6 2011 at 2024
    17:14:15 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)  + + + + + +
     + + + + + + + + + + + + + + + + +
    17:14:15 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT) Started on T
    hu Mar 10 17:14:15 CET 2011
    17:14:15 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT) System:
    17:14:15 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     OS Name:
     Windows 7
    17:14:15 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     OS Archi
    tecture: x86
    17:14:15 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     OS Versi
    on: 6.1
    17:14:15 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     Java ven
    dor: Sun Microsystems Inc.
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     Java ver
    sion: 1.6.0_23
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     Awt tool
    kit: sun.awt.windows.WToolkit
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     Headless
    ?: null
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT) Settings:
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     mode:Exp
    ortPlayers
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     rasteris
    er:Lwjgl
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     renderSt
    yle:Regular
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     worldDir
    :C:\Minecraft\.
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     outputDi
    r:C:\Minecraft\.
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     useCache
    :true
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     cacheDir
    :C:\Minecraft\.\cache
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     minecraf
    tJar:C:\Minecraft\.minecraft\bin\minecraft.jar
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     textureP
    ack:none
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     colourDe
    pth:24
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     alphaBit
    s:8
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     numSampl
    es:4
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     tileSize
    :512
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     lighting
    :Day
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     cameraAn
    gle:45
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     cameraEl
    evation:45
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     closestZ
    oomSize:12
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     numZoomL
    evels:8
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     imageFor
    mat:Png
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     imageCom
    pressionLevel:0.95
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     signs:Sp
    ecial
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     players:
    All + C:\Minecraft\.
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     showSpaw
    n:true
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     useBiome
    Colours:false
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     signsIni
    tiallyVisible:true
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     playersI
    nitiallyVisible:true
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     eraseOut
    putDir:false
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     extractL
    wjglNatives:true
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     isVerbos
    e:false
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     forceLoa
    dAwt:false
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     force32B
    itNatives:false
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     force64B
    itNatives:false
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT) Loading play
    ers from C:\Minecraft\.\players
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     loaded 0
     players
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT) Loading ops
    from C:\Minecraft\ops.txt
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT)     found 4
    players
    17:14:16 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT) Player skin
    cache is old or corrupt, cleaning...
    17:14:21 [INFO] [BackupPlugin] (AsyncStreamReader) [DEBUG] (OUTPUT) Outputting p
    layers to C:\Minecraft\.\players.js
    17:14:21 [INFO] [BackupPlugin] (MapperUnit) Mapping successful! Executing mapper
     took 5 seconds.
    17:14:36 [INFO] [BackupPlugin] (MapperUnit) Mapping process finished.
    17:14:36 [INFO] [BackupPlugin] (PluginUnit) [DEBUG] Resetting force to false
    17:14:48 [INFO] [BackupPlugin] (BackupUnit) Starting backup process..
    17:14:48 [INFO] [BackupPlugin] (PluginUnit) [DEBUG] Generated filename: world_20
    110310-1714480877.zip
    17:14:48 [INFO] [BackupPlugin] (CacheControl) [DEBUG] Persisting cache / creatin
    g zip file..
    17:14:48 [INFO] [BackupPlugin] (CacheControl) Rebuilding Cache. This can take se
    veral minutes, depending on the world size.
    17:14:48 [INFO] [BackupPlugin] (CacheControl) [DEBUG] deleteCache() obtaining lo
    ck..
    17:14:48 [INFO] [BackupPlugin] (CacheControl) Deleting cache, might be obsolete.
    
    17:14:48 [INFO] [BackupPlugin] (CacheControl) [DEBUG] deleteCache() unlocked..
    17:14:48 [INFO] [BackupPlugin] (CacheControl) [DEBUG] rebuildCache() obtaining l
    ock..
    17:14:48 [INFO] [BackupPlugin] (CacheControl) [DEBUG] rebuildCache() got lock, c
    opy dir..
    17:14:50 [INFO] [BackupPlugin] (CacheControl) [DEBUG] rebuildCache() unlocked..
    17:14:50 [INFO] [BackupPlugin] (CacheControl) [DEBUG] CacheCleaner was scheduled
    .
    17:14:50 [INFO] [BackupPlugin] (CacheControl) [DEBUG] persistCache() got cache,
    obtaining lock..
    17:14:50 [INFO] [BackupPlugin] (CacheControl) [DEBUG] persistCache() got lock, s
    tarting zip operation..
    17:14:56 [INFO] [BackupPlugin] (CacheControl) [DEBUG] persistCache() finished zi
    p operation..
    17:14:56 [INFO] [BackupPlugin] (CacheControl) [DEBUG] persistCache() unlocked..
    17:14:56 [INFO] [BackupPlugin] (BackupUnit) Backup sucessfull
    17:14:56 [INFO] [BackupPlugin] (PluginUnit) [DEBUG] Resetting force to true
    okay so unless you missed anything, the complete commandline it uses to start the mapping is correct, STILL it uses C:\Minecraft\.\ FOR EVERYTHING, been trying for an hour now, it's driving me crazy!!! :(

    Please help... and sorry if I come off as offensive
     
  31. Offline

    viper1993

    Hi, I have been using version 0.8.6 which was just working fine. Today I updated it to 0.8.7 and it's not working. When the backup process should start it's just give a "Starting backup process" and that's all, nothing more will happen, no files will be saved. This is happening when I trigger backup manually and when it is triggered by schedule too. I am not using mapper, I just need backups.

    Here's the log:
    Show Spoiler

    2011-03-10 10:58:42 [INFO] Starting minecraft server version Beta 1.3
    2011-03-10 10:58:42 [INFO] Loading properties
    2011-03-10 10:58:42 [INFO] Starting Minecraft server on xxxxxx
    2011-03-10 10:58:42 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-450-gd3c1ba4-b432jnks (MC: 1.3)
    2011-03-10 10:58:42 [INFO] Preparing level "world2"
    2011-03-10 10:58:42 [INFO] Preparing start region
    2011-03-10 10:58:44 [INFO] Preparing spawn area: 97%
    2011-03-10 10:58:44 [INFO] AFK version 0.5 is enabled!
    2011-03-10 10:58:44 [INFO] LoginMessage 0.5_3 enabled
    2011-03-10 10:58:44 [INFO] [HeroicDeath] 1.4.4.140 enabled.
    2011-03-10 10:58:44 [INFO] [BackupPlugin] BackupPlugin version 0.8.7 is enabled!
    2011-03-10 10:58:44 [INFO] [BackupPlugin] No group users plugin found, falling back to own config!
    2011-03-10 10:58:44 [WARNING] [BackupPlugin] Disabled MapperUnit, mapper_path invalid: mcmap/mcmap.exe
    2011-03-10 10:58:44 [INFO] [BackupPlugin] Finished setting up a thread: BackupUnit Next run in: 61 minutes.
    2011-03-10 10:58:44 [INFO] PlgDisableCmd version 1.0 is enabled!
    2011-03-10 10:58:44 [INFO] Disabled 1 commands
    2011-03-10 10:58:44 [INFO] Whitelist: Trying to load whitelist and settings...
    2011-03-10 10:58:44 [INFO] done.
    2011-03-10 10:58:44 [INFO] Whitelist version 2.3 is enabled!
    2011-03-10 10:58:44 [INFO] [PlugMan] Starting Up! - Version: 1.2.2 by bekvon
    2011-03-10 10:58:44 [INFO] [PlugMan] Permissions Plugin NOT Found, using OP!
    2011-03-10 10:58:44 [INFO] Done (1551159586ns)! For help, type "help" or "?"
    2011-03-10 11:00:12 [INFO] 143 recipes
    2011-03-10 11:00:12 [INFO] Whitelist: Player Viper1993 is trying to join...
    2011-03-10 11:00:12 [INFO] allow!
    2011-03-10 11:00:12 [INFO] Viper1993 [xxxxx] logged in with entity id 266
    2011-03-10 11:00:38 [INFO] [BackupPlugin] Viper1993 triggered world backup. force = false
    2011-03-10 11:00:38 [INFO] [BackupPlugin] Starting backup process..
    ----- THIS IS WHERE IT FREEZE, NOTHING WILL BACKUP AND NOTHING MORE WILL HAPPEN------


    And here's my config:
    Show Spoiler

    #BackupPlugin Config File
    #Sun Mar 06 06:49:26 EST 2011
    level-name=world2
    automap-period=0
    time-unit=HOURS
    mapper-executable=mcmap/mcmap.exe
    backup-history=12
    authorized-users=viper1993
    use-latest=false
    log-level=INFO
    temp-path=world-backups/temp
    map-path=world-maps
    map-options=-png -file $o $w;-night -png -file $o $w
    backup-path=world-backups
    first-run=1200
    autobackup-period=6
    cache-lifetime=30


    Can someone give me a link to version 0.8.6 to use meanwhile I'll fix this issue? I can't find it anywhere. Thanks
     

Share This Page