btrbk
parent
5b0a15f9cd
commit
ad139b81f2
|
@ -0,0 +1,9 @@
|
|||
timestamp_format long
|
||||
snapshot_preserve_min 18h
|
||||
snapshot_preserve 48h
|
||||
|
||||
transaction_log /var/log/btrbk.log
|
||||
|
||||
volume /mnt/btr_pool
|
||||
snapshot_dir btrbk_snapshots
|
||||
subvolume home
|
|
@ -3,6 +3,7 @@
|
|||
apk:
|
||||
name:
|
||||
- btrbk
|
||||
- coreutils # needed by btrbk
|
||||
- btrfs-progs
|
||||
- cryptsetup
|
||||
- gnupg
|
||||
|
|
|
@ -13,3 +13,8 @@
|
|||
- "btr_balance.sh"
|
||||
- "btr_scrub.sh"
|
||||
- "fs_trim.sh"
|
||||
|
||||
- name: copy btrbk config
|
||||
copy:
|
||||
src: "host_files/btrbk/{{ ansible_hostname }}/btrbk.conf"
|
||||
dest: /etc/btrbk/btrbk.conf
|
||||
|
|
Loading…
Reference in New Issue