qr_ynh/scripts/backup

8 lines
275 B
Plaintext
Raw Permalink Normal View History

2019-08-13 21:35:51 +02:00
#!/bin/bash
source /usr/share/yunohost/helpers
2022-03-03 17:58:37 +01:00
ynh_print_info --message="Declaring files to be backed up..."
2023-07-08 22:28:20 +02:00
ynh_backup --src_path="$install_dir"
2019-08-13 21:35:51 +02:00
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
2022-03-03 17:58:37 +01:00
ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"