diff --git a/host_vars/backup.universe.local.yml b/host_vars/backup.universe.local.yml index 6232b95..d11819a 100644 --- a/host_vars/backup.universe.local.yml +++ b/host_vars/backup.universe.local.yml @@ -5,12 +5,14 @@ hosts_to_backup: - { hostname: "coruscant", fqdn: "coruscant.universe.local" } - { hostname: "ns1", fqdn: "ns1.universe.local" } - { hostname: "docker01", fqdn: "docker01.universe.local" } + - { hostname: "docker02", fqdn: "docker02.universe.local" } - { hostname: "pi-alert", fqdn: "pi-alert.universe.local" } - { hostname: "mariadb01", fqdn: "mariadb01.universe.local" } - { hostname: "mariadb02", fqdn: "mariadb02.universe.local" } - { hostname: "mariadb03", fqdn: "mariadb03.universe.local" } - { hostname: "icinga", fqdn: "icinga.universe.local" } - - { hostname: "samba-ad-dc", fqdn: "samba-ad-dc.universe.local" } + - { hostname: "samba-ad-dc1", fqdn: "samba-ad-dc1.universe.local" } + - { hostname: "samba-ad-dc2", fqdn: "samba-ad-dc2.universe.local" } - { hostname: "webserver", fqdn: "webserver.universe.local" } - { hostname: "elk-stack", fqdn: "elk-stack.universe.local" } - { hostname: "netbox", fqdn: "netbox.universe.local" } @@ -19,6 +21,7 @@ hosts_to_backup: - { hostname: "librenms", fqdn: "librenms.universe.local" } - { hostname: "pi-hole", fqdn: "pi-hole.universe.local" } - { hostname: "adguard", fqdn: "adguard.universe.local" } + - { hostname: "agh01", fqdn: "agh01.universe.local" } - { hostname: "grafana", fqdn: "grafana.universe.local" } - { hostname: "nextcloud", fqdn: "nextcloud.universe.local" } - { hostname: "dhcp-kea", fqdn: "dhcp-kea.universe.local" } @@ -26,4 +29,8 @@ hosts_to_backup: - { hostname: "unbound01", fqdn: "unbound01.universe.local" } - { hostname: "unbound02", fqdn: "unbound02.universe.local" } - { hostname: "mail", fqdn: "mail.universe.local" } - - { hostname: "graylog", fqdn: "graylog.universe.local" } \ No newline at end of file + - { hostname: "graylog", fqdn: "graylog.universe.local" } + - { hostname: "freeradius", fqdn: "freeradius.universe.local" } + - { hostname: "searx", fqdn: "searx.universe.local" } + - { hostname: "shinobi", fqdn: "shinobi.universe.local" } + - { hostname: "paperless", fqdn: "paperless.universe.local" } \ No newline at end of file diff --git a/roles/backup/files/config/samba-ad-dc_excludes.txt b/host_vars/ntfy.universe.local.yml similarity index 100% rename from roles/backup/files/config/samba-ad-dc_excludes.txt rename to host_vars/ntfy.universe.local.yml diff --git a/hosts b/hosts index afea1ad..89ab461 100644 --- a/hosts +++ b/hosts @@ -16,6 +16,7 @@ haproxy02.universe.local learningdjango.universe.local librenms.universe.local netbox.universe.local +ntfy.universe.local paperless.universe.local pi-alert.universe.local pi-hole.universe.local diff --git a/roles/backup/files/config/agh01_excludes.txt b/roles/backup/files/config/agh01_excludes.txt new file mode 100644 index 0000000..e69de29 diff --git a/roles/backup/files/config/agh01_includes.txt b/roles/backup/files/config/agh01_includes.txt new file mode 100644 index 0000000..61cbf61 --- /dev/null +++ b/roles/backup/files/config/agh01_includes.txt @@ -0,0 +1,3 @@ +/etc +/opt/AdGuardHome +/var/spool/cron/crontabs diff --git a/roles/backup/files/config/docker02_excludes .txt b/roles/backup/files/config/docker02_excludes .txt new file mode 100644 index 0000000..dcd154f --- /dev/null +++ b/roles/backup/files/config/docker02_excludes .txt @@ -0,0 +1 @@ +peertube.test diff --git a/roles/backup/files/config/docker02_includes.txt b/roles/backup/files/config/docker02_includes.txt new file mode 100644 index 0000000..5863403 --- /dev/null +++ b/roles/backup/files/config/docker02_includes.txt @@ -0,0 +1,4 @@ +/etc +/opt/docker +/var/lib/docker/volumes +/var/spool/cron/crontabs diff --git a/roles/backup/files/config/freeradius_excludes.txt b/roles/backup/files/config/freeradius_excludes.txt new file mode 100644 index 0000000..e69de29 diff --git a/roles/backup/files/config/freeradius_includes.txt b/roles/backup/files/config/freeradius_includes.txt new file mode 100644 index 0000000..98fa377 --- /dev/null +++ b/roles/backup/files/config/freeradius_includes.txt @@ -0,0 +1,3 @@ +/etc +/home +/var/spool/cron/crontabs \ No newline at end of file diff --git a/roles/backup/files/config/paperless_excludes.txt b/roles/backup/files/config/paperless_excludes.txt new file mode 100644 index 0000000..e69de29 diff --git a/roles/backup/files/config/paperless_includes.txt b/roles/backup/files/config/paperless_includes.txt new file mode 100644 index 0000000..d55b5db --- /dev/null +++ b/roles/backup/files/config/paperless_includes.txt @@ -0,0 +1,8 @@ +/etc +/home +/opt/paperless +/opt/paperless-consume +/opt/paperless-data +/opt/paperless-media +/opt/paperless-static +/var/spool/cron/crontabs \ No newline at end of file diff --git a/roles/backup/files/config/samba-ad-dc1_excludes.txt b/roles/backup/files/config/samba-ad-dc1_excludes.txt new file mode 100644 index 0000000..e69de29 diff --git a/roles/backup/files/config/samba-ad-dc_includes.txt b/roles/backup/files/config/samba-ad-dc1_includes.txt similarity index 100% rename from roles/backup/files/config/samba-ad-dc_includes.txt rename to roles/backup/files/config/samba-ad-dc1_includes.txt diff --git a/roles/backup/files/config/samba-ad-dc2_excludes.txt b/roles/backup/files/config/samba-ad-dc2_excludes.txt new file mode 100644 index 0000000..e69de29 diff --git a/roles/backup/files/config/samba-ad-dc2_includes.txt b/roles/backup/files/config/samba-ad-dc2_includes.txt new file mode 100644 index 0000000..557adad --- /dev/null +++ b/roles/backup/files/config/samba-ad-dc2_includes.txt @@ -0,0 +1,2 @@ +/etc +/var/spool/cron/crontabs diff --git a/roles/backup/files/config/searx_excludes.txt b/roles/backup/files/config/searx_excludes.txt new file mode 100644 index 0000000..e69de29 diff --git a/roles/backup/files/config/searx_includes.txt b/roles/backup/files/config/searx_includes.txt new file mode 100644 index 0000000..6165f21 --- /dev/null +++ b/roles/backup/files/config/searx_includes.txt @@ -0,0 +1,4 @@ +/etc +/home +/var/spool/cron/crontabs +/usr/local/searxng \ No newline at end of file diff --git a/roles/backup/files/config/shinobi_excludes.txt b/roles/backup/files/config/shinobi_excludes.txt new file mode 100644 index 0000000..e69de29 diff --git a/roles/backup/files/config/shinobi_includes.txt b/roles/backup/files/config/shinobi_includes.txt new file mode 100644 index 0000000..98fa377 --- /dev/null +++ b/roles/backup/files/config/shinobi_includes.txt @@ -0,0 +1,3 @@ +/etc +/home +/var/spool/cron/crontabs \ No newline at end of file