The following script will pick out yesterdays backup file and copy it over to a remote site using SCP Note: The format of the backup files are in this format : db-08-10-2019.bak.gz Note: You will need to install sshpass (eg yum -y install sshpass) and be comfortable with your password being in cleartext. #!/usr/bin/bash # Read More…