sorrowless.rsnapshot

sbog/rsnapshot

This guide helps you install and set up rsnapshot.

Requirements

  • Ansible version 2.4

Role Variables

rsnapshot:
  backup_user: backuper       # User for backups
  create_backup_users: false  # Don't create backup users
  create_ssh_keys: false      # Don't create SSH keys
  master: false               # Not a master server
  snapshot_root: /var/cache/rsnapshot/  # Location for snapshots
  retain_daily: 7             # Keep 7 daily backups
  retain_weekly: 2            # Keep 2 weekly backups
  logfile: /var/log/rsnapshot.log  # Log file for rsnapshot
  pid_directory: /var/run/rsnapshot  # Directory for PID files
  rsync_ssh_port: 909         # Port for SSH with rsync
  link_dest: 1                # Use hard links for backups
  backups: []                 # List of backups
  dailytimer: "05:30"        # Daily backup time
  weeklytimer: "Monday *-*-* 04:30:00"  # Weekly backup time
  on_failure: False           # Do not notify on failure

Dependencies

No additional dependencies required.

Example Playbook

- name: Install and configure Rsnapshot
  hosts: localhost             # Run on local host
  remote_user: root            # Use root user
  roles:
    - rsnapshot                 # Apply the rsnapshot role

License

This project is licensed under Apache 2.0.

Author Information

Created by Stanislaw Bogatkin (https://sbog.ru)

Informazioni sul progetto

Ansible role to install and configure Rsnapshot

Installa
ansible-galaxy install sorrowless.rsnapshot
Licenza
apache-2.0
Download
160
Proprietario
Barocco-style deployment engineer