1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ntfy_ynh.git synced 2024-09-03 19:46:27 +02:00
ntfy_ynh/scripts/backup

10 lines
333 B
Text
Raw Normal View History

2022-11-02 10:16:52 +01:00
#!/bin/bash
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers
ynh_backup -s "$install_dir"
ynh_backup -s "/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_backup -s "/etc/systemd/system/$app.service"
2022-11-02 10:16:52 +01:00
ynh_print_info --message="Backup script completed. (YunoHost will then actually copy those files to the archive)"