anchor.diff:  {
   mysqldump --user="$username" --password="$password" $database > "backuping/version-$curdate/<%=fetch(:stage)%>.sql"
   } || {
  -	has_error=1
  -	error_text="Ошибка во время выполнения дампа mysql"
  +  has_error=1
  +  error_text="Mysql dump error"
   }
   fi
   
  
positive.code: <%= fetch(:slack_hook) %>
  
  #telegram notification
  curl -i -X GET "https://api.telegram.org/bot<%= fetch(:backup_telegram_bot_hash) %>/sendMessage?chat_id=<%= fetch(:backup_telegram_chat_id) %>&text=Успешо создан бэкап для <%= fetch(:application) %>"
  
  else
  curl -X POST -H 'Content-type: application/json' \
  
negative.code: 
  
  until [  $COUNTER -lt 1 ]; do
      { #try
      python drivesink.py upload "backuping" <%= fetch(:backupDestinationFolder) || "backups/firstdedic-server/" + fetch(:application)  %> -c /home/kobe/.drivesink #>> log/backup.log 2>&1
      } || { 
        has_error=1;
        error_text="Cannot upload files";
      }
      if [ $? -eq 0 ]; then
        COUNTER=0
  