mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
8 lines
506 B
Text
8 lines
506 B
Text
backup_dir="$1/conf/ynh"
|
|
|
|
cp -a "${backup_dir}/current_host" /etc/yunohost/current_host
|
|
cp -a "${backup_dir}/firewall.yml" /etc/yunohost/firewall.yml
|
|
[ ! -d "${backup_dir}/domains" ] || cp -a "${backup_dir}/domains" /etc/yunohost/domains
|
|
[ ! -e "${backup_dir}/settings.yml" ] || cp -a "${backup_dir}/settings.yml" "/etc/yunohost/settings.yml"
|
|
[ ! -d "${backup_dir}/dyndns" ] || cp -raT "${backup_dir}/dyndns" "/etc/yunohost/dyndns"
|
|
[ ! -d "${backup_dir}/dkim" ] || cp -raT "${backup_dir}/dkim" "/etc/dkim"
|