Bashscript devop 100 days task of Task 10

Showing error on validation even though backup file found on /backup/ of remote back server.

There are potentially two things here. Simply the existence of the zip file on the backup server is not what passes this task, but the whole procedure of getting it there. The grader will attempt to run your script and then look for the expected outcome

  1. You are running the script as root. IIRC the script needs to be runnable by user tony and the ssh to the backup server work without password in that user’s context
  2. You are running it as bash ecommmerce_backup.sh when it should be directly executable as /scripts/ecommmerce_backup.sh without explicitly invoking with bash.