wp-media / wp-media/backwpup

[Bug]: Set S3 storage class freely (for Scaleway s3)

Open
#121 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: bug
Dominant language
PHP
Stars
95
Forks
46
PR merge metrics
No merged PRs in 30d

Description

Description of the bug

We want to upload backups created with BackWPup to a S3 bucket at Scalway S3. This works in principle with the given settings.

However, the field “Amazon: Storage Class” is limited to the values STANDARD, STANDARD_IA und REDUCED_REDUNDANCY. According to the Scaleway S3 documentation, however, the storage classes there are called STANDARD, ONEZONE_IA and GLACIER (which is different for other S3 hosts).

Would it be possible to provide a free text field for the Storage Class so that we can save in our case in the Storage Class GLACIER?

Thanks for the great plugin and the support!

Reproduction instructions
  1. Open /wp-admin/admin.php?page=backwpupjobs in your WordPress backend.
  2. Click "Add new"
  3. Activate for the question "Where should your backup file be stored?" the option "Backup to an S3 Service"
  4. Switch to the tab "To: S3 Service"
  5. Select in "Select a S3 service" the option "Scalway: AMS" or set a custom endpoint.
  6. Select some option from the dropdown "Amazon: Storage Class" STANDARD, ONEZONE_IA and GLACIER
Expected behavior

In the dropdown "Amazon: Storage Class", the values STANDARD, ONEZONE_IA and GLACIER are expected.

Environment info

No response

Relevant log output

No response

Additional context

Question forwarded from https://wordpress.org/support/topic/set-s3-storage-class-freely-for-scaleway-s3/#post-15881620

Code of Conduct
  • I agree to follow this project's Code of Conduct

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the WordPress admin page /wp-admin/admin.php?page=backwpupjobs, create a job, and inspect the “To: S3 Service” storage-class control for the S3 service settings. Confirm that the control supports provider-specific values such as STANDARD, ONEZONE_IA, and GLACIER, then verify the selected value is retained for a Scaleway S3 endpoint.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
cloud
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.