Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-6696

Backup and snapshot size reporting

XMLWordPrintable

    • Product / Portfolio Work
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • ToDo
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown
    • None

      Overview

      This story tracks the upstream Velero issue for implementing backup and snapshot size reporting functionality.

      Upstream Issue Details

      Problem Statement

      Users currently have no easy way to obtain detailed size information for Velero backups and snapshots, including:

      • Size when the backup is incremental
      • Size for a full backup
      • Size for a snapshot
      • Size before and after compression

      Users must manually check storage buckets to determine backup sizes.

      Proposed Upstream Solution

      The Velero community has identified that size information is already tracked internally but not exposed via CLI or Backup CR status. The proposed solution includes:

      Phase 1: Add size fields to BackupStatus

      • BackupSizeBytes for K8s objects tarball
      • VolumeSnapshotSizeBytes for total volume snapshot size
      • VolumeSnapshotSizeBreakdown for detailed breakdown

      Phase 2: Aggregate and display information

      • Update backup controller to aggregate existing size data
      • Enhance velero backup describe to show size information

      OADP Impact

      This directly relates to OADP-5645 where "OADP CSI Snapshot shows successful, but size is 0 bytes". Implementing this upstream feature would provide better visibility into backup sizes for OADP users.

      Implementation Challenges

      • Distinguishing logical vs physical repository sizes
      • Handling incremental backup size complexity over time
      • Integration challenges with Kopia for incremental size reporting
      • Different storage considerations (CSI snapshots vs BSL storage)

      Acceptance Criteria

      • [ ] Monitor upstream Velero issue #6506 progress
      • [ ] Evaluate impact on OADP when upstream implementation is available
      • [ ] Test integration with OADP once upstream feature is implemented
      • [ ] Update OADP documentation if needed

              spampatt@redhat.com Shubham Pampattiwar
              wnstb Wes Hayutin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: