By default Traintastic (server) does not auto save on exit, the option exists but is disabled by default. Should it be enabled by default?
Something that is missing currently is an auto save interval, I’m working on adding that, what would be a useful default value? 5min? 15min?
What would be a good number of saves to keep, if autosave saves e.g. every 5 min it will overtime consume some diskspace, that will need some automatic cleanup. A fixed number of save doesn’t work well I think, when running a long session it will cause all history to be gone, so maybe keep at least one per day for e.g. the last 30 days the software is used.
I’d love to hear some opinions on it
Greetings,
Reinder
p.s. I’ll also need to update the load world dialog, as it currently has no option to load an backup of a world.
couldn’t you hook the autosave to a change event? If nothing in the world has changed, there’s no need to save at regular intervals.To ensure that not every “keystroke” is saved when making numerous changes; perhaps using a timer, which is triggerd from the change event. Save on exit is a good idea!
A timestamp would be also a good idea, to choose the last saved world.
Yes, that is possible, but might become time consuming if a lot changes are going on for a long time. It now will save every 15min, other options are: Off, 5min, 30min or 60min. If you save it manually during that period it will reset the timer.
It was already implemented, but disabled by default…now it is enabled by default for new installations.
Yes it would be nice to have a history view, I also added an is_auto_save flag to the saved world so the overview can distinguish between normal and auto saves. That is something for another day to build
A similar discussion took place with the MMC and similar suggestions were proposed.
It was decided that, rather than timed or automatic backups, a reminder flag or indicator would appear if anything was changed, plus with Traintastic maybe a popup with a reminder when closing the program.
I don’t like popups when closing a software. This has to do with my job as an admin. All the tools we use constantly demand a click here or popup there; it’s really annoying. A backup should be created every time the application is closed, without any popups. We aren’t dealing with huge amounts of data here, so you could easily implement a “garbage collection” routine , keeping the last four or six weeks.
Popups and messages are only needed, if something goes wrong. All the other things should be done automatically. This is similar to the “Are you sure?” messages; yes I am always sure, if I want to close an app ;-).You know what I mean?