|
From: | erwan.vallee |
Subject: | [Duplicity-talk] Restoring from PCA Backend - download preparation |
Date: | Sun, 27 Jun 2021 12:04:52 +0200 |
Hi, I’m using duplicity with multibackend (public cloud archive and object storage from ovh), as described in this documentation from ovh : https://docs.ovh.com/gb/en/storage/pca/duplicity/ I’ve worked on a modification to make PCA Backend work better (for my usage at least !) : allow to unseal all volumes at once when restoring content from PCA, wait for unseal to complete for all volumes before launching download. I’ve used API documentation as mentioned here : https://docs.ovh.com/gb/en/storage/pca/api/ This is a similar change to what has been implemented some time ago for Glacier cold storage : https://lists.nongnu.org/archive/html/duplicity-talk/2020-07/msg00021.html I’ve implemented the following things available in this commit : https://gitlab.com/erwanBoka/duplicity/-/commit/822e42ba3c26a5b32377e238a9b6040b9b087052
However, I’m a bit confused by what was implemented then (new hook pre_process_download_batch), compared to existing one pre_process_download.
I’m afraid my modifications in BackendWrapper and MultiBackend might cause pre_process_download to be called for _boto_single, and break things… I haven’t modified anything yet in _boto_single, but my proposal would be :
I don’t have s3 access, and cannot test it though. Let me know your view about this, and the path forward please ! Best regards, Erwan |
[Prev in Thread] | Current Thread | [Next in Thread] |