This has happened twice with the same lab - Linux Bash Scripts
Both times, I created the script, and it worked as per the requirement. However as soon as I hit submit and confirm the task is done, the backup gets deleted from the backup server and it shows the task status as failed as it can’t find the backup.
'xfusioncorp_blog.zip' not found under '/backup' on Backup Server
Please check the attached snapshot.
- The app2 user is running the script, it takes the backup in the /backup of app2 first and then copies to /backup of backup server using ssh key
- This show the backup zip file is present in the /backup of backup server, but as soon as I submit the task, it gets deleted causing the task to fail.
This has caused me to fail the same task twice. Please advise what is wrong with this.