Hi @Inderpreet , @mmumshad
I worked on the linux bash script task and did the work and submitted 3 different times and got the error message like zip file doesn’t exists in backup server. But i see that got created and took the screenshot as well. Something wrong with the validation. Anyone can check on this?
Hello, @m_muthur
Please share in the “Review” section. I don’t know what the question is.
@Tej-Singh-Rana - This is the task information
The production support team of xFusionCorp Industries is working on developing some bash scripts to automate different day to day tasks.
One is to create a bash script for taking websites backup. They have a static website running on App Server 2 in Stratos Datacenter, and they need to create a bash script named official_backup.sh which should accomplish the following tasks. (Also remember to place the script under /scripts directory on App Server 2)
a. Create a zip archive named xfusioncorp_official.zip of /var/www/html/official directory.
b. Save the archive in /backup/ on App Server 2. This is a temporary storage, as backups from this location will be clean on weekly basis.
Therefore, we also need to save this backup archive on Nautilus Backup Server.
c. Copy the created archive to Nautilus Backup Server server in /backup/ location.
d. Please make sure script won’t ask for password while copying the archive file. Additionally,
the respective server user (for example, tony in case of App Server 1) must be able to run it.
I did perform all the tasks and i do see the pdf files that got generated in the back server. But still I was getting error message like - ‘xfusioncorp_official.zip’ not found under ‘/backup’ on Backup Server. Attached the screenshot earlier to show that pdf file got generated in the backup server. Not sure why this task failed. Since time has passed i don’t get the option to change it for review.
Hi @m_muthur
Seems like you added root’s SSH public key into authorised keys of user clint on backup server but instead of root you must have used sudo user.

Thanks for the response @Inderpreet. This helps me understand why it failed. Can this tasks be reopened again? if not that’s fine as well 