fastback icon indicating copy to clipboard operation
fastback copied to clipboard

add a way to restore a backup on top of running world?

Open BoardTM opened this issue 1 year ago • 2 comments

Basically just a way to more easily restore a backup when using the mod on a server. Would probably still require a server restart but would save a lot of time.

Ideally functions in the following way: /backup load <BACKUP> Mod may want to ask an "Are you sure?" since the action may cause data loss.

Would be a really nice addition :D

BoardTM avatar Apr 09 '23 18:04 BoardTM

I've actually done this, at least in single player. The world sort of updates in real time. I have no idea whether it is a safe thing to do, though. I could probably add it as a super-experimental feature with a lot of warnings.

pcal43 avatar Jun 25 '23 07:06 pcal43

...so actually this might be ok if I require a restart. Stop the world, save, backup, checkout/restore, start it back up. I'll dig around and see how doable that is.

pcal43 avatar Sep 04 '23 02:09 pcal43