October, 2019

Script to Copy Yesterdays DB Backup to Remote Site

October 9, 2019 Jordansphere Linux

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 # […]


Powered by WordPress. Designed by elogi.