Coder Social home page Coder Social logo

moan0s / com.devture.ansible.role.postgres_backup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devture/com.devture.ansible.role.postgres_backup

0.0 0.0 0.0 7 KB

An Ansible role that sets up prodrigestivill/docker-postgres-backup-local to run as a Docker container wrapped in a systemd service

Makefile 7.55% Jinja 92.45%

com.devture.ansible.role.postgres_backup's Introduction

Postgres-backup Ansible role

This is an Ansible role which sets up prodrigestivill/docker-postgres-backup-local for backing up Postgres (no matter if it's installed via com.devture.ansible.role.postgres or not).

The postgres-backup service is installed to run as a Docker container wrapped in a systemd service.

This role implicitly depends on:

Usage

Example playbook:

- hosts: servers
  roles:
    - role: galaxy/com.devture.ansible.role.systemd_docker_base

    - role: galaxy/com.devture.ansible.role.postgres_backup

    - role: another_role

Example playbook configuration (group_vars/servers or other):

devture_postgres_backup_identifier: my-postgres-backup

devture_postgres_backup_architecture: amd64

devture_postgres_base_path: "{{ my_base_path }}/postgres-backup"

devture_postgres_backup_container_network: "{{ my_container_container_network }}"

devture_postgres_backup_uid: "{{ my_uid }}"
devture_postgres_backup_gid: "{{ my_gid }}"

devture_postgres_backup_connection_hostname: ""
devture_postgres_backup_connection_username: ""
devture_postgres_backup_connection_password: ""

# If Postgres is running on the same machine, set this to its data path,
# so the Postgres version will be autodetected.
devture_postgres_backup_postgres_data_path: ""
# Alternatively, you'd need to configure `devture_postgres_backup_container_image_to_use`.

devture_postgres_backup_databases: ['first', 'second', 'third']

com.devture.ansible.role.postgres_backup's People

Contributors

igogold avatar spantaleev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.