2024-09-26 22:02:36 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2024-10-05 23:59:46 +00:00
|
|
|
{{ backup_hc_command_start }}
|
|
|
|
|
|
|
|
if autorestic backup -av --ci
|
|
|
|
then
|
|
|
|
{{ backup_hc_command_success }}
|
|
|
|
{{ backup_uk_command_success }}
|
|
|
|
else
|
|
|
|
{{ backup_hc_command_fail }}
|
|
|
|
{{ backup_uk_command_fail }}
|
|
|
|
fi
|