Hi Team,
regarding the below task it was working as expected and I can even see the zip file got created using the script, But when I finished the task it is saying its not got created. Even i have done the passwordless authentication too.
please find the script below
#!/bin/bash
My first script
cd /var/www/html/ecommerce
zip -r xfusioncorp_ecommerce.zip /var/www/html/ecommerce
cp /var/www/html/ecommerce/xfusioncorp_ecommerce.zip /backup/
scp -r /backup/xfusioncorp_ecommerce.zip [email protected]:/backup
Can you please explain the reason regarding this???