upid: use systemd escape to decode/encode the worker_id
This way we can store values containing "/" and ":".
This commit is contained in:
1 parent
5eb9dd0c8a
commit
4ebda996e5
7 files changed
+22
-15
No files matched your search
@@ -506,7 +506,7 @@ impl BackupEnvironment {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
let worker_id = format!("{}_{}_{}_{:08X}",
|
||||
let worker_id = format!("{}:{}/{}/{:08X}",
|
||||
self.datastore.name(),
|
||||
self.backup_dir.group().backup_type(),
|
||||
self.backup_dir.group().backup_id(),
|
||||
|
||||
Reference in new issue
Block a user