Skip to content

lr-agenceweb/ansible-backup-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible backup-manager role

lr-agenceweb.ansible-backup-manager is an Ansible role which:

  • installs backup-manager
  • do NOT export databases
  • configures export to an external FTP

Installation

Using requirements.yml:

- src: lr-agenceweb.ansible-backup-manager

Dependencies

  • Ansible >= 1.9

Variables

Here is a list of all the default variables for this role, which are also available in defaults/main.yml.

---
# Backup manager
backup_manager_conf:
  bm_frequency: daily # hourly / monthly / weekly
  bm_archive_ttl: 14 # Time to keep releases
  bm_upload_method: ftp # export option
  bm_upload_destination: /var/backups # export destination
  bm_upload_ftp_user: user # export ftp username
  bm_upload_ftp_password: password # export ftp password
  bm_upload_ftp_hosts: host # export ftp host

Usage

This is an example playbook:

---
- hosts: all
  become: yes
  roles:
    - lr-agenceweb.ansible-backup-manager

License

Copyright © L&R Agence web - MIT

About

Ansible recipe for backup-manager package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages