mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
fix backup and restore
This commit is contained in:
parent
6320d4f4c6
commit
8bee3febda
1 changed files with 3 additions and 3 deletions
|
@ -29,9 +29,9 @@ sudo chown -R www-data: $final_path/data/
|
|||
sudo chown -R www-data: $final_path/extensions/
|
||||
|
||||
# Restore conf files
|
||||
ynh_backup "www" "$final_path"
|
||||
ynh_backup "nginx.conf" /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
ynh_backup "$app.cron" /etc/cron.d/$app
|
||||
sudo cp -a www/. $final_path
|
||||
sudo cp nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
ynh_backup $app.cron /etc/cron.d/$app
|
||||
|
||||
# Restore mysql dump
|
||||
ynh_mysql_create_db "$dbname" "$dbuser" "$dbpass"
|
||||
|
|
Loading…
Add table
Reference in a new issue