backup / backup/backup-features

Add ability to set arbitrary metadata on pushed S3 object

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
6
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Adding ability to add `x-amz-meta-*` headers [here](https://github.com/backup/backup/blob/master/lib/backup/cloud_io/s3.rb#L205-L219) would seemingly allow us to upload custom metadata fields with our backup, like so:
https://stackoverflow.com/questions/12290819/how-to-upload-s3-metadata-with-a-file-in-fog

This would allow users to get around the fact that S3 doesn't yet allow a means to check the MD5 of the full file when it has been uploaded via multipart. It would allow us to set out own custom metadata with the md5 hash, that we could use ensure S3 files aren't redownloaded if unchanged from expected hash.

![screencap of metadata in web ui](https://imgur.com/ZYjSxPF.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.