Lab 10 of 100 days of DevOps

There seems a bug in the lab 10. I have correctly wrote script yet I got an error that there is no file create under backup location of backup server.

Hi @Abhilashteja

It would have helped if you had shared the script you ran to copy the zip archive.

#!/bin/bash
zip -r /tmp/xfusioncorp_media.zip /var/www/html/media
scp -r /tmp/xfusioncorp_media.zip clint@stbkp01:/backup/

To copy the archive, you might have to generate an SSH key pair and copy it to stbkp01 server.