Db2

Db2

Where DBAs and data experts come together to stop operating and start innovating. Connect, share, and shape the AI era with us.


#Data


#Data
#Databases
#Operatingsystems
#Db2
#Databasesolutions
 View Only
  • 1.  Using Db2uBackup I can't get a compressed backup

    Posted 04/08/25 11:17 AM

    Hi,
    creating a Db2uBackup resource on OpenShift with "compresstrue" (link):

    apiVersion: db2ubnr.databases.ibm.com/v1alpha1
    kind: Db2uBackup
    metadata:
    name: db2ubackup-mas-maslab-maslabws-manage
      namespace: db2u
    spec:
      databaseBackup:
        backupTarget:
          vendor: disk
        dbName: BLUDB
        type: offline
        compress: true
    db2uName: mas-maslab-maslabws-manage

    results in this command being executed:

    2025-04-08 14:38:02.948866 Backup process started....
    2025-04-08 14:38:02.948911  INFO: /bin/sh -c "db2 'backup db BLUDB on all dbpartitionnums  to /mnt/backup/BLUDB/db2ubackup-mas-maslab-maslabws-manage/backup_off_1'"

    Why compression option is not used? (so the result backup file is not compressed)

    Any hint about on to fix it?



    ------------------------------
    Diego Visentin
    ------------------------------


  • 2.  RE: Using Db2uBackup I can't get a compressed backup

    Posted 05/23/25 11:55 AM

    Hi Diego. Yes, the compress option is available from the CR but currently undocumented since the feature is not available yet. Currently, if you want a compressed backup you would have to take it manually from the engine pod.



    ------------------------------
    Dave Mitchell
    ------------------------------



  • 3.  RE: Using Db2uBackup I can't get a compressed backup

    Posted 05/26/25 07:37 AM

    Thanks a lot for the info! I'll wait for the next version when this feature is released.



    ------------------------------
    Diego Visentin
    ------------------------------