From the course: Ansible: From Basics to Guru by Pearson

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Backing up Tower

Backing up Tower

This video is about backing up tower. So how does that work? Well, we need to go back to the tower installation directory. So where is that? In the Ansible tower setup, that is where it is. You can find that there is a setup.sh script. And if you use dot slash setup.sh dash dash help, then what do we get? We get all the different options that are available. And it's actually pretty simple. You use setup.sh minus B and minus B will create the backup for you. There you go. And oh no. It's telling us UID on remote machine is 1000, zero required. Does that make sense? Of course, that makes sense. It is requesting me to do this with root privileges. You can see it's prompting for the password, the sudo password, and it is trying to automatically fix. Hmm, that didn't work. Well, let's do a sudo on setup.sh-b and then it should work. You get a backup, and that makes sure that everything you've done in Ansible Tower is secure. So you can see that the setup process completed successfully, but…

Contents