I think there may be an issue with this task in KodeKloud engineer. The task is the following: I need to create a script on app server 3, in the /scripts/ folder, that zips up a directory’s content to a file in /backup
Then it needs to copy over the zip file to /backup on the backup server.
I used ssh-keygen and ssh-copy-id to copy over the ssh keys. I verified the script, when run, makes the zip file with all the contents, then copies them over to the backup server. Then I went and unzipped them from the backup server to confirm the files were now there. Not sure what I’m doing wrong, as the script has +x for all users.
- ‘xfusioncorp_news.zip’ not found under ‘/backup’ on Backup Server