Opened 2 years ago

Closed 19 months ago

#35 closed Task (Some Other Time)

Fix Ansible backup playbooks.

Reported by: D Delmar Davis Owned by: D Delmar Davis
Priority: Important Milestone: Server Modernization Phase II
Component: Infrastructure Keywords:
Cc: Joe Dumoulin

Description

The existing playbooks for backing up containers need to be broken up so they can be automated.
In addition the snapshots need to be cleaned up I think this will probably be something that will need to be done outside of ansible..

Change History (2)

comment:1 Changed 2 years ago by D Delmar Davis

Things to fix

  • The backup scripts currently fail about 6 hours in (yay love the stability here) so I have been running them using -i files
    root@kb2018:/etc/ansible# time ansible-playbook playbooks/backup-lxd-coontainers.yml -vvv -I important
    root@kb2018:/etc/ansible# time ansible-playbook playbooks/backup-lxd-coontainers.yml -vvv -I secondstring
    
  • The scripts do not successfully clean up the initial snapshots created (this may require a custom script).
  • Containers living on bs2020 do not get backed up (not as important).

comment:2 Changed 19 months ago by D Delmar Davis

Resolution: Some Other Time
Status: assignedclosed
Note: See TracTickets for help on using tickets.