mirror of
https://github.com/YunoHost-Apps/fider_ynh.git
synced 2024-09-03 18:36:11 +02:00
Update backup
This commit is contained in:
parent
16c2032d17
commit
8367b49627
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ app=$YNH_APP_INSTANCE_NAME
|
|||
|
||||
# The first argument is the backup directory location for the app
|
||||
# from where the script is executed and which will be compressed afterward
|
||||
backup_dir=$1
|
||||
backup_dir=$YNH_APP_BACKUP_DIR
|
||||
|
||||
# Backup sources & data
|
||||
sudo cp -a "/var/www/${app}" ./sources
|
||||
|
|
Loading…
Reference in a new issue