mirror of
https://github.com/YunoHost-Apps/restic_ynh.git
synced 2024-09-03 20:16:22 +02:00
8d57e11cd1
This is an adaptation of https://github.com/YunoHost-Apps/borg_ynh/blob/master/conf/backup-with-borg.j2
6 lines
216 B
Django/Jinja
6 lines
216 B
Django/Jinja
#!/usr/bin/expect -f
|
|
set timeout -1
|
|
spawn /usr/local/bin/backup-with-{{ app }}
|
|
expect -re "Some files couldn't be prepared.*Do you agree?"
|
|
send -- "{% if allow_extra_space_use %}y{% else %}n{% endif %}\r"
|
|
expect eof
|