Fix(Choux): backup script name
This commit is contained in:
parent
5646bb4402
commit
c301106ddd
@ -7,4 +7,4 @@ Nice=19
|
||||
IOSchedulingClass=2
|
||||
IOSchedulingPriority=7
|
||||
ExecStartPre=/usr/bin/borg break-lock {{ borg_backup_repo }}
|
||||
ExecStart={{ borg_script_path }}
|
||||
ExecStart={{ borg_script_path }}/{{ borgbackup }}
|
||||
|
@ -4,7 +4,7 @@
|
||||
path: "{{ backup_mount_point }}"
|
||||
src: "UUID={{ backup_disk_uuid }}"
|
||||
fstype: ext4
|
||||
opts: defaults
|
||||
opts: defaultspresent
|
||||
state: mounted
|
||||
|
||||
- name: Install borgbackup
|
||||
@ -21,7 +21,7 @@
|
||||
- name: Automate toward local RAID backup with systemd timer
|
||||
template:
|
||||
src: files/choux_borg.sh
|
||||
dest: "{{ borg_script_path }}/backup.sh"
|
||||
dest: "{{ borg_script_path }}/{{ borg_script_filename }}"
|
||||
mode: 755
|
||||
|
||||
- name: Backup systemd timer
|
||||
|
@ -6,6 +6,7 @@ backup_disk_uuid: 3a22e3a8-a454-431e-929f-8818c931914a
|
||||
backup_mount_point: /media/backup
|
||||
borg_backup_repo: "{{ backup_mount_point }}/Choux"
|
||||
borg_script_path: /root/.borg
|
||||
borg_script_filename: backup.sh
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user