rgravlin / noitabackup

Basic Noita (file) backup and restore utility
https://github.com/rgravlin/noitabackup
2 stars 0 forks source link

Auto backup #68

Open Cellinnek opened 1 week ago

Cellinnek commented 1 week ago

Just a sugestion: option to auto backup every x minutes. That would be awesome.

rgravlin commented 1 week ago

Hi @Cellinnek thanks so much for suggesting this feature! I'd like to know more about how you would want it to work.

I can easily implement an automatic schedule where it backups up Noita. The biggest challenge is going to be that Noita must be CLOSED during the backup process. I'm not sure how else to ensure no writes are done which causes a corrupt backup.

How do you see this working, when Noita has to be closed? I can close it automatically but I think it would be jarring if you're playing for it to suddenly close because the backup runs. Maybe we can find a way to make it work and also ensure the backup is not corrupted! I look forward to understanding more about your ideas.