Jump to content

[1.5.2] ForgeBackup v1.1.2: Easy backups for SMP and SSP worlds


Recommended Posts

Posted

Looks like I may have to retract my previous statement. Thanks to the wonderful work of cjo9900 we now have a 1.5.1 version working! I haven't done much testing on it myself, but he assures me it's working and there honestly wasn't too much to update the released version. This is essentially a straight port of the 1.4.7 version with a minor bug fix.

Posted

Looks like I may have to retract my previous statement. Thanks to the wonderful work of cjo9900 we now have a 1.5.1 version working! I haven't done much testing on it myself, but he assures me it's working and there honestly wasn't too much to update the released version. This is essentially a straight port of the 1.4.7 version with a minor bug fix.

Posted

after a while of testing:

 

I:maxDailyBackups=3

I:maxWeeklyBackups=2

 

this wont create weekly backups. probably because they get deleted since the daily ones are only 3 days long. just dont delete monday backups, if weekly backups is > 0 and problem is solved.

 

also, to be quiet frankly, git snapshots suck. i love the (and will keep) the longterm bz2 backups, since they run so smooth and in the background without creating lag, that i dont want to miss them. still, i want to get rid of git, and replace it with a hourly rsync call.

 

but i dont see any enabled=true option for the default backups. setting the time to a really high value might help, but thats not really what i want. any suggestion?

 

btw - about rsync - i used it before, and its very very reliable.

Posted

after a while of testing:

 

I:maxDailyBackups=3

I:maxWeeklyBackups=2

 

this wont create weekly backups. probably because they get deleted since the daily ones are only 3 days long. just dont delete monday backups, if weekly backups is > 0 and problem is solved.

 

also, to be quiet frankly, git snapshots suck. i love the (and will keep) the longterm bz2 backups, since they run so smooth and in the background without creating lag, that i dont want to miss them. still, i want to get rid of git, and replace it with a hourly rsync call.

 

but i dont see any enabled=true option for the default backups. setting the time to a really high value might help, but thats not really what i want. any suggestion?

 

btw - about rsync - i used it before, and its very very reliable.

Posted

Currently there's no way to turn off the default backups. I may look into that for the 1.5 version. You could use the bz2 method for the normal backup and set it up to backup daily and keep 3, and then no daily backups in the archives. Or just use bz2 regular backups all round. There's a reason the git option is an *option* and not required.

 

With regards to rsync, I have no issue with it per ce, except that rsync excels at keeping two copies of a filesystem in sync, however the idea here is to create many copies at different points in time. If you rsync to an empty directory, you gain nothing. The two seem to be aimed at different tasks, so I'm not sure how rsync would help.

 

I will look into the weekly backups issue, thanks for the bug report there.

Posted

Currently there's no way to turn off the default backups. I may look into that for the 1.5 version. You could use the bz2 method for the normal backup and set it up to backup daily and keep 3, and then no daily backups in the archives. Or just use bz2 regular backups all round. There's a reason the git option is an *option* and not required.

 

With regards to rsync, I have no issue with it per ce, except that rsync excels at keeping two copies of a filesystem in sync, however the idea here is to create many copies at different points in time. If you rsync to an empty directory, you gain nothing. The two seem to be aimed at different tasks, so I'm not sure how rsync would help.

 

I will look into the weekly backups issue, thanks for the bug report there.

Posted

still running 1.4.7 until FTB gets updated. having a modpack with a easy to use launcher is a mandatory advantage - especially if women and non-nerds play on that server.

 

anyway, good idea about the config. i will test that.

 

about git - being a heavy git user for android development - i doubt its the right tool for the job. sure you have some kind of revision, but git was build for source - text - files and no so much for binaries. so your git directory will grow and grow for what? being able to jump back to any point in time? my users would kill me, if they lose more than one day (and so would i). having a snapshot of the last 3 days plus one of the last hour should be okay for nearly everything. we have about 10 active players, and connected players nearly 24/7.

 

also, this git mechanism is buggy. i get that error i posted earlier maybe once a day. without any interference on my side. i added a script that checks the server log for this message and in case it finds it simply deletes the git directory.

 

so, i am way better off with rsync for my needs. just my 0.02$ on this matter.

 

edit: after so much criticism, let me say again, i am absolutely in love with the way you do "normal" backups. they run smooth in the background without creating any lag. love that!

Posted

still running 1.4.7 until FTB gets updated. having a modpack with a easy to use launcher is a mandatory advantage - especially if women and non-nerds play on that server.

 

anyway, good idea about the config. i will test that.

 

about git - being a heavy git user for android development - i doubt its the right tool for the job. sure you have some kind of revision, but git was build for source - text - files and no so much for binaries. so your git directory will grow and grow for what? being able to jump back to any point in time? my users would kill me, if they lose more than one day (and so would i). having a snapshot of the last 3 days plus one of the last hour should be okay for nearly everything. we have about 10 active players, and connected players nearly 24/7.

 

also, this git mechanism is buggy. i get that error i posted earlier maybe once a day. without any interference on my side. i added a script that checks the server log for this message and in case it finds it simply deletes the git directory.

 

so, i am way better off with rsync for my needs. just my 0.02$ on this matter.

 

edit: after so much criticism, let me say again, i am absolutely in love with the way you do "normal" backups. they run smooth in the background without creating any lag. love that!

Posted

The git mechanism is very much a proof of concept/experiment at this point. It was an initial attempt at incremental backups since git only stores diffs. If it doesn't work well for you, then I'm sorry and try something else.

Posted

The git mechanism is very much a proof of concept/experiment at this point. It was an initial attempt at incremental backups since git only stores diffs. If it doesn't work well for you, then I'm sorry and try something else.

Posted

still running 1.4.7 until FTB gets updated.

 

Also, FYI, the FTB Ultimate pack should be updating to 1.5.1 within the next week or so, sans RP2.

 

very off-topic, but i would love that. watch direwolf20's videos, i guess, there still has some work to be done on forge2 and all the mods, but its coming along quiet well. of course we will upgrade as soon as an upgrade is available. we play FTB since beta and mods since tekkit. the only downside to modding is, if you have to do it yourself, syncing blocks and between-mod-stuff in configs and fiddling with clients you have to hand to (female) users or tell them to update their .zip files. modpacks are a blessing imho. if one day, we can add/update mods server side and the changes will be auto-transfered to the client, i will love that.

 

anyway, where did you have the "ultimate in 2 weeks" info from? just curious

 

about git: it was just my personal impression and opinion, and i knew, its under testing on your side (: no offense intended.

Posted

still running 1.4.7 until FTB gets updated.

 

Also, FYI, the FTB Ultimate pack should be updating to 1.5.1 within the next week or so, sans RP2.

 

very off-topic, but i would love that. watch direwolf20's videos, i guess, there still has some work to be done on forge2 and all the mods, but its coming along quiet well. of course we will upgrade as soon as an upgrade is available. we play FTB since beta and mods since tekkit. the only downside to modding is, if you have to do it yourself, syncing blocks and between-mod-stuff in configs and fiddling with clients you have to hand to (female) users or tell them to update their .zip files. modpacks are a blessing imho. if one day, we can add/update mods server side and the changes will be auto-transfered to the client, i will love that.

 

anyway, where did you have the "ultimate in 2 weeks" info from? just curious

 

about git: it was just my personal impression and opinion, and i knew, its under testing on your side (: no offense intended.

  • 2 weeks later...
  • 3 months later...
Posted

I'm getting this whenever the mod tries to do a backup.

And dimension 12 doesn't exist yet, no folder, no mystcraft agedata, ...

 

2013-08-06 02:00:25 [iNFO] [forgebackup] Starting a new backup.
2013-08-06 02:00:25 [FINE] [forgebackup] Disabling saving...
2013-08-06 02:00:25 [FINE] [forgebackup] Forcing an updated save...
2013-08-06 02:00:25 [FINE] [forgebackup] Creating new backup of your world...
2013-08-06 02:00:25 [FINE] [forgebackup] Re-enabling saving...
2013-08-06 02:00:25 [iNFO] [sTDERR] Exception in thread "Timer-0" java.lang.IllegalArgumentException: Could not get provider type for dimension 12, does not exist
2013-08-06 02:00:25 [iNFO] [sTDERR] 	at net.minecraftforge.common.DimensionManager.getProviderType(DimensionManager.java:157)
2013-08-06 02:00:25 [iNFO] [sTDERR] 	at net.minecraftforge.common.DimensionManager.createProviderFor(DimensionManager.java:304)
2013-08-06 02:00:25 [iNFO] [sTDERR] 	at net.minecraft.world.WorldProvider.func_76570_a(WorldProvider.java:207)
2013-08-06 02:00:25 [iNFO] [sTDERR] 	at monoxide.forgebackup.backup.Backup.doBackup(Backup.java:123)
2013-08-06 02:00:25 [iNFO] [sTDERR] 	at monoxide.forgebackup.backup.Backup.run(Backup.java:47)
2013-08-06 02:00:25 [iNFO] [sTDERR] 	at monoxide.forgebackup.backup.BackupTask.processArchiveBackups(BackupTask.java:36)
2013-08-06 02:00:25 [iNFO] [sTDERR] 	at monoxide.forgebackup.backup.ArchiveBackupTask.run(ArchiveBackupTask.java:16)
2013-08-06 02:00:25 [iNFO] [sTDERR] 	at java.util.TimerThread.mainLoop(Timer.java:555)
2013-08-06 02:00:25 [iNFO] [sTDERR] 	at java.util.TimerThread.run(Timer.java:505)

Posted

Has anyone had any issues using the unleashed modpack and this with the in game vanilla commands i.e. /help

 

When i try them on a server in game as op they do not work at all and throw up an error.

Posted

I do hope that you get yourself some new hardware, while ForgeEssentials might be good, it's just too complicated for smaller servers, ForgeBackup does the job much easyer.

 

We sure do miss you in 1.6.2  :'(

  • 4 weeks later...
  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Im trying to build my mod using shade since i use the luaj library however i keep getting this error Reason: Task ':reobfJar' uses this output of task ':shadowJar' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. So i try adding reobfJar.dependsOn shadowJar  Could not get unknown property 'reobfJar' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. my gradle file plugins { id 'eclipse' id 'idea' id 'maven-publish' id 'net.minecraftforge.gradle' version '[6.0,6.2)' id 'com.github.johnrengelman.shadow' version '7.1.2' id 'org.spongepowered.mixin' version '0.7.+' } apply plugin: 'net.minecraftforge.gradle' apply plugin: 'org.spongepowered.mixin' apply plugin: 'com.github.johnrengelman.shadow' version = mod_version group = mod_group_id base { archivesName = mod_id } // Mojang ships Java 17 to end users in 1.18+, so your mod should target Java 17. java.toolchain.languageVersion = JavaLanguageVersion.of(17) //jarJar.enable() println "Java: ${System.getProperty 'java.version'}, JVM: ${System.getProperty 'java.vm.version'} (${System.getProperty 'java.vendor'}), Arch: ${System.getProperty 'os.arch'}" minecraft { mappings channel: mapping_channel, version: mapping_version copyIdeResources = true runs { configureEach { workingDirectory project.file('run') property 'forge.logging.markers', 'REGISTRIES' property 'forge.logging.console.level', 'debug' arg "-mixin.config=derp.mixin.json" mods { "${mod_id}" { source sourceSets.main } } } client { // Comma-separated list of namespaces to load gametests from. Empty = all namespaces. property 'forge.enabledGameTestNamespaces', mod_id } server { property 'forge.enabledGameTestNamespaces', mod_id args '--nogui' } gameTestServer { property 'forge.enabledGameTestNamespaces', mod_id } data { workingDirectory project.file('run-data') args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/') } } } sourceSets.main.resources { srcDir 'src/generated/resources' } repositories { flatDir { dirs './libs' } maven { url = "https://jitpack.io" } } configurations { shade implementation.extendsFrom shade } dependencies { minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}" implementation 'org.luaj:luaj-jse-3.0.2' implementation fg.deobf("com.github.Virtuoel:Pehkui:${pehkui_version}") annotationProcessor 'org.spongepowered:mixin:0.8.5:processor' minecraftLibrary 'luaj:luaj-jse:3.0.2' shade 'luaj:luaj-jse:3.0.2' } // Example for how to get properties into the manifest for reading at runtime. tasks.named('jar', Jar).configure { manifest { attributes([ 'Specification-Title' : mod_id, 'Specification-Vendor' : mod_authors, 'Specification-Version' : '1', // We are version 1 of ourselves 'Implementation-Title' : project.name, 'Implementation-Version' : project.jar.archiveVersion, 'Implementation-Vendor' : mod_authors, 'Implementation-Timestamp': new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"), "TweakClass" : "org.spongepowered.asm.launch.MixinTweaker", "TweakOrder" : 0, "MixinConfigs" : "derp.mixin.json" ]) } rename 'mixin.refmap.json', 'derp.mixin-refmap.json' } shadowJar { archiveClassifier = '' configurations = [project.configurations.shade] finalizedBy 'reobfShadowJar' } assemble.dependsOn shadowJar reobf { re shadowJar {} } publishing { publications { mavenJava(MavenPublication) { artifact jar } } repositories { maven { url "file://${project.projectDir}/mcmodsrepo" } } }  
    • All versions of Minecraft Forge suddenly black screen even without mods (tried reinstalling original Minecraft, Java, updating drivers doesn't work)
    • When i join minecraft all ok, when i join world all working fine, but when i open indentity menu, i get this The game crashed whilst unexpected error Error: java.lang.NullPointerException: Cannot invoke "top.ribs.scguns.common.Gun$Projectile.getDamage()" because "this.projectile" is null crash report here https://paste.ee/p/0vKaf
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.