All Projects → SphericalElephant → ansible-role-borgbackup

SphericalElephant / ansible-role-borgbackup

Licence: Apache-2.0 license
No description or website provided.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to ansible-role-borgbackup

borgjs
📦 A tiny wrapper for BorgBackup to automate your backup workflow
Stars: ✭ 31 (+138.46%)
Mutual labels:  backup, borgbackup
borg-rclone-autobackup
Easily automate backups using Borg + RClone
Stars: ✭ 25 (+92.31%)
Mutual labels:  backup, borgbackup
MailcowBackup
Script to backup/restore Mailcow and the host system using borgbackup. Handles 503 error page generation, mailflow stop/restart, SQL database dump, borg backup and prune and integrates with Logwatch for easy monitoring.
Stars: ✭ 28 (+115.38%)
Mutual labels:  backup, borgbackup
jetbrains-utility
Remove/Backup – settings & cli for macOS (OS X) – DataGrip, AppCode, CLion, Gogland, IntelliJ, PhpStorm, PyCharm, Rider, RubyMine, WebStorm
Stars: ✭ 62 (+376.92%)
Mutual labels:  backup
raptor
The definitive EasyEngine installer with fully functional backup-restore and SFTP functionalities included
Stars: ✭ 26 (+100%)
Mutual labels:  backup
BackupAssistant
Backup Assistant helps you to backup your files (like database backups or log files) to FTP Server. It works on any platform. ( Windows, Linux and Mac.)
Stars: ✭ 32 (+146.15%)
Mutual labels:  backup
fb-export
Export (most) of your Facebook data using Node.js and the Graph API.
Stars: ✭ 21 (+61.54%)
Mutual labels:  backup
Bash-Backup-Script
A small script to upload backup tar to an external storage service
Stars: ✭ 21 (+61.54%)
Mutual labels:  backup
oc-backup-plugin
Backup system for October CMS
Stars: ✭ 18 (+38.46%)
Mutual labels:  backup
proxmox-tools
📦 A collection of stuff that I and others wrote for Proxmox 📦
Stars: ✭ 112 (+761.54%)
Mutual labels:  backup
Automation-using-Shell-Scripts
Development Automation using Shell Scripting.
Stars: ✭ 41 (+215.38%)
Mutual labels:  backup
terraform-aws-backup
Terraform module to provision AWS Backup, a fully managed backup service that makes it easy to centralize and automate the back up of data across AWS services such as EBS volumes, RDS databases, DynamoDB tables, EFS file systems, and AWS Storage Gateway volumes.
Stars: ✭ 62 (+376.92%)
Mutual labels:  backup
WindowsFileHistoryCleaner
Simple command line executable to turn a File History share back into a snapshot of files
Stars: ✭ 15 (+15.38%)
Mutual labels:  backup
auto-mysql-backup
a wrapper for automysqlbackup
Stars: ✭ 19 (+46.15%)
Mutual labels:  backup
ebs-backup
Backup EBS Volumes
Stars: ✭ 34 (+161.54%)
Mutual labels:  backup
arctee
Atomic tee
Stars: ✭ 22 (+69.23%)
Mutual labels:  backup
otp-authenticator-webapp
A 'Google Authenticator' like Single Page Application
Stars: ✭ 69 (+430.77%)
Mutual labels:  backup
dbaTDPMon
dbaTDPMon - Troubleshoot Database Performance and Monitoring
Stars: ✭ 20 (+53.85%)
Mutual labels:  backup
bash-backup
Simple backup script for GNU/Linux servers
Stars: ✭ 76 (+484.62%)
Mutual labels:  backup
authy-extractor
Extract 2FA tokens from Authy.
Stars: ✭ 30 (+130.77%)
Mutual labels:  backup

Borgbackup

Ansible Borgbackup role.

Features:

  • Repository or binary installation
  • Schedules regular backup jobs
  • Schedules regular prune jobs to keep backup windows clean
  • Flexible configuration to list backup targets

Role Variables

see defaults/main.yml

Example Playbook

- hosts: all
  roles:
    - role: SphericalElephant.borgbackup
      borgbackup_client: True
      borgbackup_client_backup_server: backup01.example.com
      borgbackup_client_jobs:
        - name: system
          day: "*"
          hour: "0"
          minute: "{{ 59 | random }}"
          directories:
            - /etc
            - /home
            - /var
          excludes:
            - 're:^/var/lib/apt'
            - 're:^/var/[^/]+\/cache/'
      borgbackup_prune_jobs:
        - name: system
          prune_options: "--keep-daily=7 --keep-weekly=4"
          day: "*"
          hour: "8"
          minute: "0"

You can easily assign client and server attributes from your inventory with something similar to the following:

borgbackup_client: "{{ (inventory_hostname in groups.borgbackup_server)|ternary(False, True) }}"
borgbackup_client_backup_server: "{{ groups.borgbackup_server[0] }}"

License

Apache 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].