Jelajahi Sumber

Update backup

julienmalik 8 tahun lalu
induk
melakukan
8367b49627
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      scripts/backup

+ 1 - 1
scripts/backup

@@ -7,7 +7,7 @@ app=$YNH_APP_INSTANCE_NAME
 
 
 # The first argument is the backup directory location for the app
 # The first argument is the backup directory location for the app
 # from where the script is executed and which will be compressed afterward
 # from where the script is executed and which will be compressed afterward
-backup_dir=$1
+backup_dir=$YNH_APP_BACKUP_DIR
 
 
 # Backup sources & data
 # Backup sources & data
 sudo cp -a "/var/www/${app}" ./sources
 sudo cp -a "/var/www/${app}" ./sources