Comments (8)
Ah, I didn't really think of that. I just made it look pretty on linux, and then later changed the behavior on windows when I realized it caused crashes. But you make a very good point. I think the best solution would be for me to add a config option to force the windows timestamp format (with hh.mm) regardless of platform, does that sound good?
from btfu.
Whatever is easiest for you, that works for me.
from btfu.
Here you go. Sorry for the very slow turnaround time, I've been busy and also I wanted to make sure this feature included migration code to rename existing backups, since BTFU expects to be able to enumerate existing backups and parse the datestamps.
It adds a config option for whether to use windows-friendly timestamps, with the default value set based on your current platform. If you change the value and restart minecraft, it will rename all your backups to the other format. (turning this option off on windows will surely cause a nice crash.)
This is the commit, if you care: 515d991
I want to do a bit more testing before I do a version bump and push a new release, but I think it works, and if you'd like to try it out, get a build from https://ci.elytradev.com/job/elytra/job/BTFU/job/multi-version/3/
from btfu.
No problem, thanks. I've only had cause to rollback once so far, and I just sorted by date/time to make it easier to find, but this option will make it much easier to see when looking at backups over SMB.
from btfu.
I'm keeping this open for a bit longer until I make a release that includes this change. Hopefully kencider is using the CI build, since I haven't heard back from them. (Ken, let me know if there are any issues, or if you need this change in a release build ASAP, otherwise it's going to come along with a few other features when they're ready)
from btfu.
I was actually waiting on your release, but I can definitely test a CI build if you need me to.
from btfu.
Well now I feel like a bit of a jerk! That means you've been waiting weeks...
Like I said, that CI build I linked is working fine. But I can do a release soon. There is one other minor config feature being worked on (backup only while players are online), and between the two of these, surely it's worth a release. I still have a lot to work on though, to achieve BTFU's hopes and dreams!
from btfu.
Don't feel like a jerk...this was a minor nuisance issue, I only waited to see what a release held.
Only doing backups when players are online sounds great, especially for us as ours is a friends+family private server where there are often times nobody is on.
If you don't need me to test a CI build, I'm perfectly fine with waiting for a full release build...especially with the above feature.
from btfu.
Related Issues (19)
- BTFU 1.9-1.4 requires 1.9 minecraft not 1.9.4 HOT 9
- oldest backup config HOT 7
- 1.10.2 Crashing On Server Start HOT 1
- Exit on Start HOT 1
- Player Presence HOT 5
- [suggestion] allow backup into subdirectory of the minecraft instance HOT 3
- crashes on startup. no crash report. HOT 2
- Port to 1.16?
- Minimal Container Support
- CME while saving chunks HOT 7
- Question(s)
- Path exclusion
- 1.10.2 Crash HOT 7
- Configuration for time interval HOT 4
- Improve ReadME HOT 1
- In-game commands HOT 3
- The 1.11.2 version needs fixes. - mod isn't loaded- no config file created. HOT 1
- How do I configure this? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from btfu.