#!/bin/bash set -eu . /usr/share/yunohost/helpers.d/filesystem backup_dir="${1}/conf/ynh" ynh_backup "/etc/yunohost/current_host" "${backup_dir}/current_host"