Linux Bash Scripts-Task Failed

Hi
@Inderpreet @Tej-Singh-Rana @mmumshad
I did below steps but task got failed saying “xfusioncorp_media. zip” is not found on backup at back server
vi /scripts/media_backup.sh
#!/bin/bash
zip /backup/xfusioncorp_media.zip -r /var/www/html/media
scp /backup/xfusioncorp_media.zip clint@stbkp01:/backup/
ssh-keygen -t rsa
ssh-copy-id -i clint@stbkp01
sh media_backup.sh
image
Please verify my task and let know why my task got failed
These my maild: [email protected]
Thanks
Vijay

1 Like

Hi
Anyone look into my issue

Hello, vijaykumarramadoss
Actually you have to perform this task from their respective sudo user not from root user. For app server 3, sudo user is banner.
I saw this task’s description. This one is the task right?

Thanks @Tej-Singh-Rana . I will be take care in future assignment