mirror of
https://github.com/YunoHost-Apps/scrumblr_ynh.git
synced 2024-09-03 20:16:29 +02:00
Update backup
This commit is contained in:
parent
223e67ee25
commit
72a4d269fd
1 changed files with 2 additions and 2 deletions
|
@ -18,10 +18,10 @@ backup_dir=$1/apps/$app
|
|||
sudo mkdir -p "$backup_dir"
|
||||
|
||||
# Backup sources & data
|
||||
sudo cp -a $final_path/. $backup_dir/sources
|
||||
sudo cp -a $final_path/* $backup_dir/sources
|
||||
|
||||
# Copy Nginx and YunoHost parameters to make the script "standalone"
|
||||
sudo cp -a /etc/yunohost/apps/$app/. $backup_dir/yunohost
|
||||
sudo cp -a /etc/yunohost/apps/$app/* $backup_dir/yunohost
|
||||
sudo cp -a /etc/nginx/conf.d/$domain.d/$app.conf $backup_dir/nginx.conf
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue