{"repo":"geerlingguy/ansible-role-backup","free":true,"listed":false,"github":"https://github.com/geerlingguy/ansible-role-backup","clone":"git clone https://github.com/geerlingguy/ansible-role-backup.git","description":"Ansible Role - Backup for simple servers","language":"Shell","stars":172,"topics":["backup","ansible","role","server","linux","disaster-recovery","ubuntu","redhat","centos","debian"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Ansible Role: Backup for Simple Servers Back up Linux servers with a simple Rsync-and-Cron-based solution. Requirements Requires the following to be installed: - rsync - cron MySQL or a MySQL-compatible database needs to be installed if you'd like to enable MySQL database backups. It's also assumed you have a server running somewhere that can accept backup data via Rsync, and on this backup server, you need to install rsync , and configure accounts with SSH authentication that allows this role to deliver backups to a specific directory via SSH. Role Variables Available variables are listed below, along with default values (see defaults/main.yml ): backup cron job state: present backup hour: \"3\" backup minute: \"00\" Controls whether the backup script is called via a managed cron job. You should stagger backup times among servers so your backup server doesn't get a huge influx of data at once. backup user: \"{{ ansible env.SUDO USER default(ansible env.USER, true) default(ansible user id, true) }}\" User under which backup jobs will run. backup path: /home/{{ backup user }}/backups Path to where backups configuration will be stored. Generally speaking, you should use a special backup user account, but you can set this to whatever account has the proper access to the directories you need to back up. backup directories: - /home/{{ backup user }}/domains - /home/{{ backup user }}/repositories Directories to back up. {{ backup user }} must have read access to these dirs. Each director","default_branch":null,"files":null,"tree":[],"storefront":"/r/geerlingguy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/geerlingguy/ansible-role-backup/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}