-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File Size for Backups #3152
Comments
@tnelson-doghouse we moved this to the lagoon repo, that is the best place to raise Lagoon issues at first, even for UI. Thanks. Also noting down comments from another customer in the APAC region, requesting the same. |
Off the top of my head, with our current backup implementation this isn't possible to know the size of the files before they are retrieved. But once they have been retrieved, it may be possible to report the file size against the download, but this would depend heavily on how quick the filesize could be retrieved from S3. IMHO, it would be better if the backup system we utilised (k8up) could send this information in the payload so we wouldn't need to try and figure it out. |
It should be possible to send a Docs for AWS S3: |
We use the aws-sdk v2 under the hood, and it seems to support getObjectAttributes requests, so as long as the object host (S3 on AWS, otherwise S3-compatible-ish) returns that, it's possible. |
Reposting here as mentioned on Slack Sent a
So the Thus, we can expose the file size of the |
I just created a PR that can retrieve the file size from the |
The restore size is now shown in the UI with Lagoon v2.18.1. |
In the list of backups, it'd be great to have the file size, especially once it's been retrieved and is available for download.
If this ticket is attached to the wrong repo, feel free to move it.
Thanks!
The text was updated successfully, but these errors were encountered: