Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move in progress detection to separate file with pid #145

Merged
merged 3 commits into from
Oct 9, 2015

Commits on Sep 28, 2015

  1. Move in progress detection to separate file with pid

    This changes the logic of detecting if a backup is in progress by
    writing out the snapshot and PID of the process making the backup. This
    improves the situation where a previous backup was killed in a non-clean
    way. Clean failures in the sense of a proper exit (also non 0 exit
    statuses) or using ctrl-c was already handled by traps.
    
    This just removes the in-progress file if the process is no longer
    running after the backup. It then cleans up the in-progress file and
    lets the rest of the system clean up the failed backup.
    
    Fixes #99
    dbussink committed Sep 28, 2015
    Configuration menu
    Copy the full SHA
    bc97d5a View commit details
    Browse the repository at this point in the history
  2. Add test for cleanup process

    dbussink committed Sep 28, 2015
    Configuration menu
    Copy the full SHA
    4d6e261 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2015

  1. Configuration menu
    Copy the full SHA
    d301fd3 View commit details
    Browse the repository at this point in the history