Skip to content

How to disable automaticaly "backup", when "mount" in progress #116

Discussion options

You must be logged in to vote

Answer: Use the resticprofile lock mechanism and place it in the top profile of the inheritance hierarchy so that each derived profile will use the same file. This mechanism forbids the execution of any "action" like "backup", "mount", "snapshots", no action of the "run-before" type is also performed.

lock: '{{ .ConfigDir }}/{{ $VMNAME }}.lock'

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@creativeprojects
Comment options

@ryszard-suchocki
Comment options

@ryszard-suchocki
Comment options

@ryszard-suchocki
Comment options

@creativeprojects
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ryszard-suchocki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants