Backup and restore Ansible AWX configuration

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024

ความคิดเห็น • 12

  • @joerykowski6854
    @joerykowski6854 3 ปีที่แล้ว

    As Gabriel mentioned below, for BACKUP...
    docker exec -t awx_postgres pg_dumpall -U awx -c > awx_backup_db.sql
    6:58 And looks like maybe command to restore back into the awx_postgres container after backup is taken...
    RESTORE...
    cat awx_backup_db.sql | docker exec -i awx_postgres

    • @joerykowski6854
      @joerykowski6854 3 ปีที่แล้ว +1

      ...and then restart of all the awx containers.

  • @MoyeMoyeCricball
    @MoyeMoyeCricball 8 หลายเดือนก่อน

    Hi you have any video to backup of AWX

    • @rickytik-devops
      @rickytik-devops  5 หลายเดือนก่อน +1

      docs.ansible.com/ansible-tower/2.2.1/html/administration/backup_restore.html

  • @jaspersiegers
    @jaspersiegers 6 ปีที่แล้ว

    Why do you need to close all the other containers? Isn't Postgress able to handle that?

    • @smplyayush
      @smplyayush 5 ปีที่แล้ว

      +1

    • @ankitvashistha005
      @ankitvashistha005 5 ปีที่แล้ว

      Probably to avoid any updates in the database during backup process. In his case, shutting down container might not be required but if there is an environment where multiple users work on AWX, i guess it might be safe to stop other containers first before taking backup.

  • @gabrielbueno8554
    @gabrielbueno8554 5 ปีที่แล้ว +2

    docker exec -t awx_postgres pg_dumpall -U awx -c > awx_backup_db.sql

    • @lgrullon854
      @lgrullon854 4 ปีที่แล้ว

      Thank you Gabriel

  • @AntoinetteSusie-r3m
    @AntoinetteSusie-r3m 17 วันที่ผ่านมา

    Walker Edward Gonzalez Michelle Thompson Edward

  • @vendorspam1823
    @vendorspam1823 4 ปีที่แล้ว

    I do not see the value of this video and did not get anything out of it.

    • @jagrutibelani9593
      @jagrutibelani9593 3 ปีที่แล้ว

      I ran all the above instructions but it seems it didn't restore backup.
      ERROR: constraints taggit.... already exists