duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Restoring from Glacier Cold Storage


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] Restoring from Glacier Cold Storage
Date: Mon, 20 Jul 2020 10:02:49 -0500

Hi Marco,

Plenty of ideas, just no time to implement them.  A bit of help would be great!

I imagine it would not be difficult to implement, however, it would mean access to mainline functions and data outside the normal scope of the backends.  So far we've avoided "if this backend then do that" in the mainline code and I intend to keep it that way, no preferential treatment for any single backend.  If we could do some sort of universal hook for all backends (say prepare_recovery()), that might work out.

That said, there are probably web tools from Amazon that would allow you to unfreeze files en masse for recovery.  I'd investigate those first.

You also might check out the rclonebackend.  It has a lot of functionality that augments duplicity.

...Thanks,
...Ken


On Mon, Jul 20, 2020 at 12:30 AM Marco Herrn via Duplicity-talk <duplicity-talk@nongnu.org> wrote:
No ideas about it?

Just to clarify (and provide a tldr), what I want to know is:
Is it possible (and how) to unfreeze all files related to a restore at once?

Best regards
Marco

Am 12. Juli 2020 00:07:30 MESZ schrieb ml--- via Duplicity-talk <duplicity-talk@nongnu.org>:
Hello,

I am using duplicity 0.8.14 with the s3 backend to write to a Scaleway C14
Glacier storage (similar to Amazon S3 Glacier). Scaleway provides an
s3-compatible API and this is actually working very well.

I just noticed one glitch: When restoring from an archive in Glacier, it
seems to me that duplicity always processes one chunk after the other and
only unfreezes a chunk immediately before downloading it. What I mean is:
duplicity wants to download vol1.difftar.gpg (which is stored in Glacier)
and needs to unfreeze it. After unfreezing it downloads it and after that
processes vol2.difftar.gpg. And so on. As unfreezing can take multiple
hours that would mean the restore process will get extremely long with
bigger backups.

I would have expected that duplicity starts an unfreeze process for /all/
chunks it needs for the restore at the same time, so they will get
available for download at roughly the same time. Therefore the waiting cost
for unfreezing would have to be "paid" only once.

Is my observation correct or am I misinterpreting something?

Is this the expected behaviour? Actually the Glacier integration would be
quite useless in this case as a restore of a large backup would take
extraordinary amounts of time and to avoid that I would have to manually
unfreeze each file needed for the restore (which is also not easy, since I
don't know which files are really necessary for the restore.


Best regards
Marco
Duplicity-talk mailing list
Duplicity-talk@nongnu.org
https://lists.nongnu.org/mailman/listinfo/duplicity-talk

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
_______________________________________________
Duplicity-talk mailing list
Duplicity-talk@nongnu.org
https://lists.nongnu.org/mailman/listinfo/duplicity-talk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]