5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-01-07 17:18:03 +03:00
proxmox-backup/pbs-datastore
Gabriel Goller 6e101ff757 fix #5439: allow to reuse existing datastore
Disallow creating datastores in non-empty directories. Allow adding
existing datastores via a 'reuse-datastore' checkmark. This only checks
if all the necessary directories (.chunks + subdirectories and .lock)
exist and have the correct permissions. Note that the reuse-datastore
path does not open the datastore, so that we don't drop the
ProcessLocker of an existing datastore.

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
2024-11-11 23:51:06 +01:00
..
examples pbs-datastore: clippy fixes 2023-05-17 17:43:17 +02:00
src fix #5439: allow to reuse existing datastore 2024-11-11 23:51:06 +01:00
Cargo.toml datastore: remove lazy_static dependency 2024-08-14 12:08:01 +02:00