Linux Bash Scripts failed

Hi ,
Could not make out what was wrong in the script because the zip file got copied in the backup server in /backup location . Passwordless authentication was setup as per the instruction

Script details :
cd /var/www/html
zip -r news
cp /var/www/html/ /backup/
scp /backup/ [email protected]:/backup

hello @shameekred,

Will check this.


Any update ? This has again failed with the same error .

@Inderpreet @Tej-Singh-Rana @mmumshad @admins Could you please check why this task failed… i see my file has been copied without manual intervention

I would really appreciate if you could tell me why my task failed so that I won’t make the same mistake next time.


@mmumshad @Inderpreet @admins