redhat-performance / satperf

Collection of Automation/Tools for Performance Analysis/Testing of Satelite 6
GNU General Public License v2.0
30 stars 26 forks source link

Playbooks for katello-backup and katello-restore #27

Closed psuriset closed 3 years ago

psuriset commented 7 years ago

Add Playbooks for katello-backup and katello-restore

Make sure to take backup

jhutar commented 3 years ago

We have roles for these:

[jhutar@localhost satperf]$ git grep katello-backup
playbooks/satellite/roles/backup/tasks/main.yaml:      katello-backup "{{ tests_backup_path }}"
[jhutar@localhost satperf]$ git grep katello-restore
playbooks/satellite/roles/restore/tasks/main.yaml:    - command: katello-restore {{ tests_backup_path }}

and it seems to be available from this playbook:

$ cat playbooks/satellite/satutils.yaml
[...]
- hosts: satellite6
  remote_user: root
  vars_files:
    - ../../conf/satperf.yaml
    - ../../conf/satperf.local.yaml
  roles:
    - backup
  tags: backup
[...]
- hosts: satellite6
  remote_user: root
  vars_files:
    - ../../conf/satperf.yaml
    - ../../conf/satperf.local.yaml
  roles:
    - restore
  tags: restore
[...]