Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-2608

Improve the backup compacting method when running containerized backup with large databases.

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 2.5, 2.6
    • False
    • Hide

      None

      Show
      None
    • False

      When running the backup at containerized environment with multiple nodes, after dumping the database into the host, depending on the size of the database the archive process take a long time, hitting the ssh timeout.

      On our tests, if a customer has ~350Gb of data, it will take longer than one hour to complete the archive test.

      - name: Archive the postgresql data
        ansible.containerized_installer.archive:
          path:
            - '{{ ansible_user_dir }}/.local/share/containers/storage/secrets'
            - '{{ ansible_user_dir }}/aap/postgresql'
            - '{{ ansible_user_dir }}/aap/tls'
          dest: '{{ ansible_user_dir }}/aap/backups/postgresql.{{ postgresql_archive_extension }}'
          format: '{{ postgresql_use_archive_compression | bool | ternary(omit, archive_decompressed_extension) }}'
          mode: '0640' 

              dysilva Dylan Silva
              rhn-support-rbertolj Rudnei Bertol Junior
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: