Lock system for preventing backup/restore at the same time

Registered by Eldar Nugaev

Currently it is possible to run backup and restore of the same directory at the same. We should implement a lock mechanism to prevent such behaviour.

One solution - store in ~/.freezer file with current pid. During restore or backup - check that file, if process is still alive - don't execute backup. Or --force - rewrite pid file.

Also it is possible to implement more complex approach with patches, that will allow to make parallel restore/backup to different directories.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Eldar Nugaev
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.