Day 10 Linux bash scripts

I’ve done this task multiple times but I keep getting scripts not found. Kindly check

Hi @ogunniranseyi

The script basically should archive the directory available on one Server and copy the archive to the Backup server.
In your screenshot, I do not see the script available on the Backup server. The question is similar to the one I’ve attached.

The ./scripts/blog_backup.sh script on stapp02 for this would be something like:

#!/bin/bash
zip -r /backup/xfusioncorp_blog.zip /var/www/html/blog
scp -r /backup/xfusioncorp_blog.zip clint@stbkp01:/backup/

Note: You need to create SSH keys and copy them to the backup server before running the script.