initial commit
This commit is contained in:
commit
e4097afe2b
10 changed files with 408 additions and 0 deletions
25
defaults/main.yml
Normal file
25
defaults/main.yml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
backup_required: True
|
||||
restore: False
|
||||
|
||||
borg_version: "1.0.10"
|
||||
borg_checksum: "sha256:99f889e57630e64a67d0c1a54c056f8d82aac1ccc2cc56c9fb5f5f2710f29950"
|
||||
borg_download_url: "https://github.com/borgbackup/borg/releases/download/{{ borg_version }}/borg-linux64"
|
||||
|
||||
backup_pre_commands:
|
||||
- '[[ ! -f "/usr/sbin/automysqlbackup" ]] || /usr/sbin/automysqlbackup'
|
||||
- "dpkg --get-selections > /root/.installed-software.log"
|
||||
|
||||
backup_include:
|
||||
- "/etc"
|
||||
- "/home"
|
||||
- "/root"
|
||||
- "/var/www"
|
||||
- "/var/log"
|
||||
|
||||
retention:
|
||||
hourly: 12
|
||||
daily: 7
|
||||
weekly: 4
|
||||
monthly: 6
|
||||
yearly: 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue