Add timestamp to lock to allow automatically removing stale locks

Issue #8 resolved
Patrick Patrick repo owner created an issue

If a backup crashes the lock is still there, and you have to manually run "--unlock" to rmeove it. It would be better if the lock had a timestamp so Somersault could automatically remove a previous run's lock if it was stale.

The hard part about this is not checking the lock but periodically updating the lock. (That doesn't seem too hard, but its the main change needed.)

Comments (4)

  1. Patrick Patrick reporter

    Merged adding timestamp to lock and removing of stale locks. Next is periodically updating the lock.

  2. Log in to comment