Overview
You may find that there are no backup files for AGW servers on a site, although they exist on another site.
Solution
Perform the following steps to check if you can have the issue solved:
- Check if there is a cron job defined to automatically execute the backup scripts:
crontab -l
- If the job exists, compare /usr/bin/backup_tpd.sh script and correlated files and scripts on both nodes.
- Check if a password-less connection (SSH or SFTP) is not failing because of invalid keys in the known hosts file or root user.
If the above does not solve the issue, create a support ticket and include the following:
- The script ownership and mod.
- Is there any backup file in the local directory of the site AGWs? If so, the problem should be in the SFTP part.
- Compare /usr/bin/mybatch.txt.
- Test sftp manually:
sftp -b /usr/bin/mybatch.txt ${sftp_server} >/dev/null 2>&1
<supportagent>
Escalate the ticket to the Professional Services team for resolution.
</supportagent>
Testing
Run the cron job and check if the backup is created.
Priyanka Bhotika
Comments