Last active
August 29, 2015 14:06
-
-
Save l0neranger/92df4bde0821fde8fabb to your computer and use it in GitHub Desktop.
Bacula restore tests using Ansible
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: bacula | |
user: user | |
sudo: True | |
tasks: | |
- name: Restore files from bacula for weekly restore tests | |
shell: /bin/echo "restore before=2013-10-14\ 08:00:00 client={{ item }}-fd restoreclient={{ item }}-fd file=</tmp/{{ item }}-file-list where=/tmp/bacula-restores yes" | /usr/bin/bconsole | |
with_items: | |
- hostname1 | |
- hostname2 | |
- hostname3 | |
- hostname4 | |
ignore_errors: yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment