Dominik Csapak 5b358ff0b1 server/prune_job: fix locking during prune jobs
removing the backup dir must acquire the snapshot lock, else it can
happen that we remove a snapshot while it is being restored
or backed up to tape

the original commit that adds the force flag
(c9756b40d1b33c573216f7c8eba209200c1d9bd5)
mentions that the prune checks itself if the snapshot is in use,
but i could not find such code, so simply set force to false

to avoid failing and aborting the prune job, warn if it could not
and continue

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-06-02 17:04:49 +02:00
..
2021-05-11 16:28:08 +02:00
2021-04-12 12:31:56 +02:00
2021-05-31 14:53:08 +02:00
2021-04-22 21:24:44 +02:00
2020-10-29 15:11:39 +01:00
2021-05-11 16:28:08 +02:00