100 days of Devops- Day 10: Linux Bash Scripts - zip file keeps being deleted

Every time I try to check, the zip file is deleted from the backup server. Tried more than once; still the same problem. installed unzip on backup server and unzipped the file normally but still zip file is deleted when I press check button

Try and see if this solution solves your problem. The author is keeping a list of solutions for the challenge, and is up to Day 17 last I checked.

The validation process deletes your zip file and reruns the script you wrote to create a backup. This means the script worked the first time for you, but when the validation tried to run it again, it encountered an error and failed to create the zip file.

You can redirect the error to a log file to see why the script failed.


Same error, bro. I tried many times and ran manual tests on zip and copy to the remote server. When the check button is still not complete

Hi @R4in8ow

It was very close.
The error states that ‘ecommerce_backup.sh’ is not found under ‘/scripts’ on App Server 1.

If you see your screenshot, your script is named eccomerce_bakup.sh and not ecommerce_backup.sh

this gonna help : 100-Days-Of-DevOps-KodeKloud-Challenges-Solutions