Skip to content
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

feat(xo-server/rest-api/dashboard): add S3 backup repositories information #7978

Merged
merged 6 commits into from
Sep 24, 2024

Conversation

MathieuRA
Copy link
Member

@MathieuRA MathieuRA commented Sep 9, 2024

Description

XO metadata backups and Pool metadata backups are intentionally not counted, they do not have a size property at the moment

{
 ...,
 backupRepositories: {
    s3: {
        size: {
          backups: number
        }
    },
    other: {
       size: {
          available: number,
          backups: number,
          other: number,
          total: number,
          used: number
      }
    }
  } | undefined
}

Checklist

  • Commit
    • Title follows commit conventions
    • Reference the relevant issue (Fixes #007, See xoa-support#42, See https://...)
    • If bug fix, add Introduced by
  • Changelog
    • If visible by XOA users, add changelog entry
    • Update "Packages to release" in CHANGELOG.unreleased.md
  • PR
    • If UI changes, add screenshots
    • If not finished or not tested, open as Draft

@MathieuRA MathieuRA self-assigned this Sep 9, 2024
@MathieuRA MathieuRA requested a review from fbeauchamp September 9, 2024 14:34
packages/xo-server/src/xo-mixins/remotes.mjs Outdated Show resolved Hide resolved
@xen-orchestra/backups/RemoteAdapter.mjs Outdated Show resolved Hide resolved
@MathieuRA MathieuRA requested review from fbeauchamp and removed request for fbeauchamp September 18, 2024 08:47
@MathieuRA MathieuRA requested review from fbeauchamp and removed request for fbeauchamp September 23, 2024 12:57
@fbeauchamp fbeauchamp merged commit 7e9b444 into master Sep 24, 2024
1 check passed
@fbeauchamp fbeauchamp deleted the rest-api-s3-info branch September 24, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants