rec / backer

📦 Continuously back up files 📦

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graceful shutdown if interrupted

rec opened this issue · comments

  1. We should be writing dump files to a .tmp file and then only renaming them at the end.

  2. We should be catching signals and then shutting down at the end of a backup phase if one is on operation

I have fixed most of this - I am able to shutdown gracefully on KeyboardInterrupt.

I need to handle signals as well, but I'm going to file a new issue.